13 #ifndef mitkEnhancedPointSetVtkMapper3D_h
14 #define mitkEnhancedPointSetVtkMapper3D_h
25 class vtkSphereSource;
28 class vtkCylinderSource;
68 itkFactorylessNewMacro(Self);
122 typedef std::map<PointIdentifier, ActorAndPointType>
ActorMap;
#define MITKMAPPEREXT_EXPORT
Organizes the rendering process.
Central node class of the MITK data tree, associating a data object with properties and mappers.
Alternative Vtk-based 3D mapper for mitk::PointSet.
std::pair< vtkActor *, mitk::PointSpecificationType > ActorAndPointType
CylinderSourceMap m_CylinderSources
~EnhancedPointSetVtkMapper3D() override
SphereSourceMap m_SphereSources
void ApplyColorAndOpacityProperties(mitk::BaseRenderer *renderer, vtkActor *actor) override
Apply color and opacity properties read from the PropertyList to the given vtkActor.
std::map< PointIdentifier, ActorAndPointType > ActorMap
vtkProp * GetVtkProp(mitk::BaseRenderer *renderer) override
Get the VTK prop assembly containing all point actors.
void UpdateVtkTransform(mitk::BaseRenderer *renderer) override
Update the VTK transform for the given renderer.
void DeleteVtkObject(vtkObject *o)
void GenerateDataForRenderer(mitk::BaseRenderer *renderer) override
Generate the data needed for rendering into renderer.
mitk::PointSet::PointIdentifier PointIdentifier
vtkTubeFilter * m_ContourSource
std::map< PointIdentifier, vtkSphereSource * > SphereSourceMap
std::map< PointIdentifier, vtkConeSource * > ConeSourceMap
EnhancedPointSetVtkMapper3D()
LocalStorageHandler< BaseLocalStorage > m_LSH
std::map< PointIdentifier, vtkCylinderSource * > CylinderSourceMap
vtkAssembly * m_PropAssembly
virtual const mitk::PointSet * GetInput()
Get the PointSet input data.
void RemoveEntryFromSourceMaps(mitk::PointSet::PointIdentifier pointID)
static void SetDefaultProperties(mitk::DataNode *node, mitk::BaseRenderer *renderer=nullptr, bool overwrite=false)
Set default rendering properties for enhanced point set visualization.
ConeSourceMap m_ConeSources
mitkClassMacro(EnhancedPointSetVtkMapper3D, VtkMapper)
std::map< PointIdentifier, vtkCubeSource * > CubeSourceMap
CubeSourceMap m_CubeSources
Data structure which stores a set of points.
DataType::PointIdentifier PointIdentifier
Base class of all VTK-based Mappers for displaying primitives using VTK functionality.
Find image slices visible on a given plane.