7 #ifndef __VISUVTKADAPTOR_STRANSFORM_HPP__ 8 #define __VISUVTKADAPTOR_STRANSFORM_HPP__ 10 #include "visuVTKAdaptor/config.hpp" 12 #include <fwRenderVTK/IAdaptor.hpp> 14 #include <vtkSmartPointer.h> 51 static const ::fwServices::IService::KeyType s_TM3D_INOUT;
57 VISUVTKADAPTOR_API virtual ~
STransform() noexcept;
60 VISUVTKADAPTOR_API
void setTransform(vtkTransform* t);
63 VISUVTKADAPTOR_API vtkTransform* getTransform();
66 VISUVTKADAPTOR_API
void updateFromVtk();
70 VISUVTKADAPTOR_API
void configuring() override;
73 VISUVTKADAPTOR_API
void starting() override;
76 VISUVTKADAPTOR_API
void updating() override;
79 VISUVTKADAPTOR_API
void stopping() override;
82 VISUVTKADAPTOR_API
void swapping() override;
93 vtkTransform* m_transform;
96 vtkCommand* m_transformCommand;
99 std::
string m_parentId;
102 vtkSmartPointer<vtkTransform> m_parentTransform;
107 #endif // __VISUVTKADAPTOR_STRANSFORM_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...
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Base class for VTK adaptors.