17 #ifndef MITKPointSetVtkMAPPER3D_H_HEADER_INCLUDED_C1907273
18 #define MITKPointSetVtkMAPPER3D_H_HEADER_INCLUDED_C1907273
23 #include <vtkSmartPointer.h>
27 class vtkPropAssembly;
28 class vtkAppendPolyData;
31 class vtkPolyDataMapper;
32 class vtkTransformPolyDataFilter;
99 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
113 DEPRECATED(
void ReleaseGraphicsResources(vtkWindow *renWin));
122 virtual ~PointSetVtkMapper3D();
124 virtual
void GenerateDataForRenderer(
mitk::
BaseRenderer *renderer) override;
125 virtual
void ResetMapper(
BaseRenderer *renderer) override;
126 virtual
void ApplyAllProperties(
mitk::
BaseRenderer *renderer, vtkActor *actor);
127 virtual
void CreateContour(vtkPoints *points, vtkCellArray *connections);
128 virtual
void CreateVTKRenderObjects();
129 virtual
void VertexRendering();
132 vtkSmartPointer<vtkPoints> m_WorldPositions;
134 vtkSmartPointer<vtkCellArray> m_PointConnections;
136 vtkSmartPointer<vtkAppendPolyData> m_vtkSelectedPointList;
137 vtkSmartPointer<vtkAppendPolyData> m_vtkUnselectedPointList;
139 vtkSmartPointer<vtkPoints> m_VtkPoints;
140 vtkSmartPointer<vtkCellArray> m_VtkPointConnections;
142 vtkSmartPointer<vtkTransformPolyDataFilter> m_VtkPointsTransformer;
144 vtkSmartPointer<vtkPolyDataMapper> m_VtkSelectedPolyDataMapper;
145 vtkSmartPointer<vtkPolyDataMapper> m_VtkUnselectedPolyDataMapper;
147 vtkSmartPointer<vtkActor> m_SelectedActor;
148 vtkSmartPointer<vtkActor> m_UnselectedActor;
149 vtkSmartPointer<vtkActor> m_ContourActor;
151 vtkSmartPointer<vtkPropAssembly> m_PointsAssembly;
154 vtkSmartPointer<vtkAppendPolyData> m_vtkTextList;
157 unsigned int m_NumberOfSelectedAdded;
158 unsigned int m_NumberOfUnselectedAdded;
163 bool m_VertexRendering;
Base class for mapper specific rendering ressources.
Templated class for management of LocalStorage implementations in Mappers.
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.
Data structure which stores a set of points. Superclass of mitk::Mesh.
#define mitkClassMacro(className, SuperClassName)
Vtk-based mapper for PointSet.
Class for nodes of the DataTree.