17 #ifndef mitkSurfaceVtkMapper3D_h
18 #define mitkSurfaceVtkMapper3D_h
27 #include <vtkDepthSortPolyData.h>
28 #include <vtkPainterPolyDataMapper.h>
29 #include <vtkPlaneCollection.h>
30 #include <vtkPolyDataMapper.h>
31 #include <vtkPolyDataNormals.h>
32 #include <vtkSmartPointer.h>
84 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
86 itkSetMacro(GenerateNormals,
bool);
88 itkGetMacro(GenerateNormals,
bool);
94 virtual
void ApplyAllProperties(
mitk::
BaseRenderer *renderer, vtkActor *actor);
101 virtual ~SurfaceVtkMapper3D();
103 virtual
void GenerateDataForRenderer(
mitk::
BaseRenderer *renderer) override;
111 bool m_GenerateNormals;
131 m_Actor->SetMapper(m_VtkPolyDataMapper);
141 static void ApplyMitkPropertiesToVtkProperty(
mitk::DataNode *node,
142 vtkProperty *property,
Class for storing surfaces (vtkPolyData).
vtkSmartPointer< vtkActor > m_Actor
vtkSmartPointer< vtkDepthSortPolyData > m_DepthSort
Base class for mapper specific rendering ressources.
mitk::LocalStorageHandler< LocalStorage > m_LSH
vtkSmartPointer< vtkPlaneCollection > m_ClippingPlaneCollection
Organizes the rendering process.
DataCollection - Class to facilitate loading/accessing structured data.
Base class of all Vtk Mappers in order to display primitives by exploiting Vtk functionality.
Base class of all mappers, Vtk as well as OpenGL mappers.
itk::TimeStamp m_ShaderTimestampUpdate
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
Vtk-based mapper for Surfaces.
vtkSmartPointer< vtkPolyDataNormals > m_VtkPolyDataNormals
vtkSmartPointer< vtkPainterPolyDataMapper > m_VtkPolyDataMapper
Class for nodes of the DataTree.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.