13 #ifndef mitkSurfaceVtkMapper3D_h
14 #define mitkSurfaceVtkMapper3D_h
23 #include <vtkDepthSortPolyData.h>
24 #include <vtkPlaneCollection.h>
25 #include <vtkPolyDataMapper.h>
26 #include <vtkPolyDataNormals.h>
27 #include <vtkSmartPointer.h>
79 itkFactorylessNewMacro(
Self);
83 itkSetMacro(GenerateNormals,
bool);
85 itkGetMacro(GenerateNormals,
bool);
123 m_VtkPolyDataMapper = vtkSmartPointer<vtkPolyDataMapper>::New();
124 m_VtkPolyDataNormals = vtkSmartPointer<vtkPolyDataNormals>::New();
125 m_Actor = vtkSmartPointer<vtkActor>::New();
126 m_ClippingPlaneCollection = vtkSmartPointer<vtkPlaneCollection>::New();
128 m_Actor->SetMapper(m_VtkPolyDataMapper);
130 m_DepthSort = vtkSmartPointer<vtkDepthSortPolyData>::New();
138 static void ApplyMitkPropertiesToVtkProperty(
mitk::DataNode *node,
139 vtkProperty *property,