7 #ifndef __SCENE2D_ADAPTOR_SSCALEVALUES_HPP__ 8 #define __SCENE2D_ADAPTOR_SSCALEVALUES_HPP__ 10 #include "scene2D/config.hpp" 12 #include <fwRenderQt/IAdaptor.hpp> 65 SCENE2D_API
void configuring() override;
68 SCENE2D_API
void starting() override;
71 SCENE2D_API
void updating() override;
74 SCENE2D_API
void stopping() override;
77 SCENE2D_API
void processInteraction( ::
fwRenderQt::data::Event& _event ) override;
92 void showHideScaleValues();
104 QGraphicsSimpleTextItem* m_unit;
107 std::
string m_displayedUnit;
110 QGraphicsItemGroup* m_layer;
123 std::vector<QGraphicsItem*> m_values;
139 #endif // __SCENE2D_ADAPTOR_SSCALEVALUES_HPP__ Root class for all scene2d adaptors.
This class is a helper to define the connections of a service and its data.
This bundles contains data and services used to display a 2D Qt scene.
SScaleValues adaptor. Display values and units on the axis.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace fwRenderQt contains classes for rendering with Qt.