7 #ifndef __SCENE2D_ADAPTOR_SHISTOGRAMCURSOR_HPP__ 8 #define __SCENE2D_ADAPTOR_SHISTOGRAMCURSOR_HPP__ 10 #include "scene2D/config.hpp" 12 #include <fwRenderQt/data/Viewport.hpp> 13 #include <fwRenderQt/IAdaptor.hpp> 15 #include <QGraphicsTextItem> 66 SCENE2D_API
void starting() override;
67 SCENE2D_API
void updating() override;
68 SCENE2D_API
void stopping() override;
81 QGraphicsEllipseItem* m_index;
96 #endif // __SCENE2D_ADAPTOR_SHISTOGRAMCURSOR_HPP__ Root class for all scene2d adaptors.
SCENE2D_API void updating() override
Perform some computations according to object (this service is attached to) attribute values and its ...
This class is a helper to define the connections of a service and its data.
SCENE2D_API::fwServices::IService::KeyConnectionsMap getAutoConnections() const override
Returns proposals to connect service slots to associated objects signals, this method is used for obj...
QPen m_color
Color used for graphic item's inner color.
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
QPen m_borderColor
Color used for graphic item's border color.
This bundles contains data and services used to display a 2D Qt scene.
QGraphicsItemGroup * m_layer
The layer.
SCENE2D_API void stopping() override
Uninitialize the service activity. The stop() method is always invoked before destroying a service...
::fwRenderQt::data::Coord m_coord
Coordinates of the current event.
float m_pointSize
Point size.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
SCENE2D_API void configuring() override
Configure the service before starting. Apply the configuration to service.
IAdaptor implementation to show a cursor on histogram pointed by mouse.
The namespace fwRenderQt contains classes for rendering with Qt.
SCENE2D_API void starting() override
Initialize the service activity.
FWSERVICES_API IService()
IService constructor.
SCENE2D_API void processInteraction(::fwRenderQt::data::Event &_event) override