17 #ifndef MITKGEOMETRY2DDATAVTKMAPPER3D_H_HEADER_INCLUDED_C196C71F
18 #define MITKGEOMETRY2DDATAVTKMAPPER3D_H_HEADER_INCLUDED_C196C71F
26 #include <vtkCleanPolyData.h>
27 #include <vtkSystemIncludes.h>
30 class vtkPolyDataMapper;
32 class vtkFeatureEdges;
34 class vtkTransformPolyDataFilter;
39 class PlaneGeometryData;
41 class ImageVtkMapper2D;
103 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
134 virtual
void GenerateDataForRenderer(
BaseRenderer *renderer) override;
138 void ImageMapperDeletedCallback(
itk::Object *caller, const
itk::EventObject &event);
141 vtkAssembly *m_Prop3DAssembly;
144 vtkAssembly *m_ImageAssembly;
153 vtkFeatureEdges *m_Edges;
156 vtkTransformPolyDataFilter *m_EdgeTransformer;
159 vtkTubeFilter *m_EdgeTuber;
162 vtkPolyDataMapper *m_EdgeMapper;
165 vtkActor *m_EdgeActor;
168 vtkPolyDataMapper *m_BackgroundMapper;
171 vtkActor *m_BackgroundActor;
174 vtkTransformPolyDataFilter *m_NormalsTransformer;
177 vtkPolyDataMapper *m_FrontNormalsMapper;
178 vtkPolyDataMapper *m_BackNormalsMapper;
181 vtkHedgeHog *m_FrontHedgeHog;
182 vtkHedgeHog *m_BackHedgeHog;
185 vtkActor *m_FrontNormalsActor;
186 vtkActor *m_BackNormalsActor;
189 vtkCleanPolyData *m_Cleaner;
192 bool m_NormalsActorAdded;
206 void Initialize(vtkActor *actor, itk::Object *sender, itk::Command *command);
215 typedef std::map<ImageVtkMapper2D *, ActorInfo>
ActorList;
itk::MemberCommand< PlaneGeometryDataVtkMapper3D > MemberCommandType
Class for storing surfaces (vtkPolyData).
itk::BoundingBox< unsigned long, 3, ScalarType > BoundingBox
Standard 3D-BoundingBox typedef.
Data management class that handles 'was created by' relations.
itk::SmartPointer< Self > Pointer
std::map< ImageVtkMapper2D *, ActorInfo > ActorList
List holding the vtkActor to map the image into 3D for each ImageMapper.
Organizes the rendering process.
Superclass of all classes having a PlaneGeometryData as input and generating Images as output...
DataCollection - Class to facilitate loading/accessing structured data.
Base class of all Vtk Mappers in order to display primitives by exploiting Vtk functionality.
std::multimap< int, vtkActor * > LayerSortedActorList
Base class of all mappers, Vtk as well as OpenGL mappers.
MemberCommandType::Pointer m_ImageMapperDeletedCommand
mitk::DataStorage::Pointer m_DataStorage
#define mitkClassMacro(className, SuperClassName)
Data class containing PlaneGeometry objects.
Implements a weak reference to an object.
Vtk-based mapper to display a PlaneGeometry in a 3D windowUses a PlaneGeometryDataToSurfaceFilter obj...
unsigned long m_ObserverID
Class for nodes of the DataTree.