7 #ifndef __VISUVTKADAPTOR_SMATERIAL_HPP__ 8 #define __VISUVTKADAPTOR_SMATERIAL_HPP__ 10 #include "visuVTKAdaptor/config.hpp" 12 #include <fwRenderVTK/IAdaptor.hpp> 14 class VISUVTKADAPTOR_CLASS_API vtkProperty;
42 static const ::fwServices::IService::KeyType s_MATERIAL_INPUT;
48 VISUVTKADAPTOR_API virtual ~
SMaterial() noexcept;
50 VISUVTKADAPTOR_API
void setVtkProperty(vtkProperty* property);
52 VISUVTKADAPTOR_API vtkProperty* getVtkProperty() const;
64 VISUVTKADAPTOR_API
void configuring() override;
65 VISUVTKADAPTOR_API
void starting() override;
66 VISUVTKADAPTOR_API
void updating() override;
67 VISUVTKADAPTOR_API
void stopping() override;
69 void updateMaterial(
CSPTR(::
fwData::Material) material );
71 vtkProperty* m_property;
72 bool m_manageProperty;
79 #endif // __VISUVTKADAPTOR_SMATERIAL_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...
Manage material representation of meshes.
#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.