7 #ifndef __VISUVTKADAPTOR_SMESHESBOXWIDGET_HPP__ 8 #define __VISUVTKADAPTOR_SMESHESBOXWIDGET_HPP__ 10 #include "visuVTKAdaptor/config.hpp" 12 #include <fwCom/Connection.hpp> 13 #include <fwCom/Slot.hpp> 14 #include <fwCom/Slots.hpp> 16 #include <fwData/Composite.hpp> 18 #include <fwRenderVTK/IAdaptor.hpp> 73 VISUVTKADAPTOR_API
void configuring() override;
74 VISUVTKADAPTOR_API
void starting() override;
75 VISUVTKADAPTOR_API
void updating() override;
76 VISUVTKADAPTOR_API
void stopping() override;
89 void updateMeshTransform();
92 void updateMeshMapFromComposite(::
fwData::Composite::ContainerType objects);
100 void updateMatrices();
104 void addObjects(::
fwData::Composite::ContainerType objects);
107 void changeObjects(::
fwData::Composite::ContainerType newObjects, ::
fwData::Composite::ContainerType);
110 void removeObjects(::
fwData::Composite::ContainerType objects);
115 typedef
std::map<
std::
string, ::
fwCom::Connection > ConnectionMapType;
116 typedef
std::map<
std::
string, vtkActor* > MeshMapType;
118 MeshMapType m_meshMap;
119 ConnectionMapType m_connections;
121 vtkAssembly* m_assembly;
122 vtkCommand* m_boxWidgetCommand;
123 vtkBoxWidget2* m_vtkBoxWidget;
130 #endif // __VISUVTKADAPTOR_SMESHESBOXWIDGET_HPP__ This class is a helper to define the connections of a service and its data.
The namespace visuVTKAdaptor contains the list of adaptors available for the generic scene...
Namespace containing fw4spl communication tools.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Contains the representation of the data objects used in the framework.
Base class for VTK adaptors.