7 #ifndef __SCENE2D_ADAPTOR_SAXIS_HPP__ 8 #define __SCENE2D_ADAPTOR_SAXIS_HPP__ 10 #include "scene2D/config.hpp" 12 #include <fwRenderQt/IAdaptor.hpp> 54 SCENE2D_API
SAxis() noexcept;
55 SCENE2D_API virtual ~
SAxis() noexcept;
59 void starting() override;
60 void stopping() override;
61 void updating() override;
62 void configuring() override;
65 SCENE2D_API
void processInteraction( ::
fwRenderQt::data::Event& _event ) override;
102 QGraphicsItemGroup* m_layer;
105 QGraphicsLineItem* m_line;
108 std::vector< QGraphicsLineItem* > m_ticks;
114 #endif //__SCENE2D_ADAPTOR_SAXIS_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.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace fwRenderQt contains classes for rendering with Qt.
Render an axis on the scene2d.