Medical Imaging Interaction Toolkit  2018.4.99-a28b433c
Medical Imaging Interaction Toolkit

Base class of all mappers, Vtk as well as OpenGL mappers. More...

#include <mitkMapper.h>

Inheritance diagram for mitk::Mapper:
Collaboration diagram for mitk::Mapper:

Classes

class  BaseLocalStorage
 Base class for mapper specific rendering ressources. More...
 

Public Types

typedef Mapper Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
virtual void SetDataNode (DataNode *_arg)
 Set the DataNode containing the data to map. More...
 
virtual DataNodeGetDataNode () const
 Get the DataNode containing the data to map. Method only returns valid DataNode Pointer if the mapper belongs to a data node. Otherwise, the returned DataNode Pointer might be invalid. More...
 
BaseDataGetData () const
 Get the data to map. More...
 
virtual bool GetColor (float rgb[3], BaseRenderer *renderer, const char *name="color") const
 Convenience access method for color properties (instances of ColorProperty) More...
 
virtual bool GetVisibility (bool &visible, BaseRenderer *renderer, const char *name="visible") const
 Convenience access method for visibility properties (instances of BoolProperty) More...
 
virtual bool GetOpacity (float &opacity, BaseRenderer *renderer, const char *name="opacity") const
 Convenience access method for opacity properties (instances of FloatProperty) More...
 
virtual bool GetLevelWindow (LevelWindow &levelWindow, BaseRenderer *renderer, const char *name="levelwindow") const
 Convenience access method for color properties (instances of LevelWindoProperty) More...
 
virtual bool IsVisible (BaseRenderer *renderer, const char *name="visible") const
 Convenience access method for visibility properties (instances of BoolProperty). Return value is the visibility. Default is visible==true, i.e., true is returned even if the property (propertyKey) is not found. More...
 
virtual bool IsVtkBased () const
 Returns whether this is an vtk-based mapper. More...
 
virtual void Update (BaseRenderer *renderer)
 Calls the time step of the input data for the specified renderer and checks whether the time step is valid and calls method GenerateDataForRenderer() More...
 
virtual void MitkRender (mitk::BaseRenderer *renderer, mitk::VtkPropRenderer::RenderType type)=0
 Responsible for calling the appropriate render functions. To be implemented in sub-classes. More...
 
virtual void ApplyColorAndOpacityProperties (mitk::BaseRenderer *renderer, vtkActor *actor=nullptr)=0
 Apply specific color and opacity properties read from the PropertyList. Reimplemented in GLmapper (does not use the actor) and the VtkMapper class. The function is called by the individual mapper (mostly in the ApplyProperties() or ApplyAllProperties() method). More...
 
int GetTimestep () const
 Returns the current time step as calculated from the renderer. More...
 
virtual bool IsLODEnabled (BaseRenderer *) const
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static void SetDefaultProperties (DataNode *node, BaseRenderer *renderer=nullptr, bool overwrite=false)
 Set default values of properties used by this mapper to node. More...
 

Protected Member Functions

 Mapper ()
 explicit constructor which disallows implicit conversions More...
 
 ~Mapper () override
 virtual destructor in order to derive from this class More...
 
virtual void GenerateData ()
 Generate the data needed for rendering (independent of a specific renderer) More...
 
virtual void GenerateDataForRenderer (BaseRenderer *)
 Generate the data needed for rendering into renderer. More...
 
virtual void CalculateTimeStep (BaseRenderer *renderer)
 Updates the time step, which is sometimes needed in subclasses. More...
 
virtual void ResetMapper (BaseRenderer *)
 Reset the mapper (i.e., make sure that nothing is displayed) if no valid data is present. In most cases the reimplemented function disables the according actors (toggling visibility off) More...
 

Protected Attributes

mitk::DataNodem_DataNode
 

Detailed Description

Base class of all mappers, Vtk as well as OpenGL mappers.

By the help of mappers, the input data is transformed to tangible primitives, such as surfaces, points, lines, etc. This is the base class of all mappers, Vtk as well as OpenGL mappers. Subclasses of mitk::Mapper control the creation of rendering primitives that interface to the graphics library (e.g., OpenGL, vtk).

Definition at line 49 of file mitkMapper.h.

Member Typedef Documentation

◆ ConstPointer

Definition at line 52 of file mitkMapper.h.

◆ Pointer

Definition at line 52 of file mitkMapper.h.

◆ Self

Definition at line 52 of file mitkMapper.h.

◆ Superclass

typedef itk::Object mitk::Mapper::Superclass

Definition at line 52 of file mitkMapper.h.

Constructor & Destructor Documentation

◆ Mapper()

mitk::Mapper::Mapper ( )
explicitprotected

explicit constructor which disallows implicit conversions

Definition at line 18 of file mitkMapper.cpp.

◆ ~Mapper()

mitk::Mapper::~Mapper ( )
overrideprotected

virtual destructor in order to derive from this class

Definition at line 22 of file mitkMapper.cpp.

Member Function Documentation

◆ ApplyColorAndOpacityProperties()

virtual void mitk::Mapper::ApplyColorAndOpacityProperties ( mitk::BaseRenderer renderer,
vtkActor *  actor = nullptr 
)
pure virtual

Apply specific color and opacity properties read from the PropertyList. Reimplemented in GLmapper (does not use the actor) and the VtkMapper class. The function is called by the individual mapper (mostly in the ApplyProperties() or ApplyAllProperties() method).

Implemented in mitk::PlanarFigureMapper2D, mitk::VtkMapper, mitk::EnhancedPointSetVtkMapper3D, mitk::BoundingShapeVtkMapper2D, mitk::GLMapper, mitk::VtkGLMapperWrapper, mitk::PlanarFigureVtkMapper3D, mitk::ContourMapper2D, mitk::ContourSetMapper2D, mitk::ContourModelGLMapper2DBase, and mitk::BoundingShapeVtkMapper3D.

◆ CalculateTimeStep()

◆ GenerateData()

virtual void mitk::Mapper::GenerateData ( )
inlineprotectedvirtual

Generate the data needed for rendering (independent of a specific renderer)

Deprecated:
(as of 2013_03) Use GenerateDataForRenderer(BaseRenderer* renderer) instead.

Definition at line 162 of file mitkMapper.h.

◆ GenerateDataForRenderer()

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::Mapper::GetClassHierarchy ( ) const
inlinevirtual

◆ GetClassName()

◆ GetColor()

bool mitk::Mapper::GetColor ( float  rgb[3],
mitk::BaseRenderer renderer,
const char *  name = "color" 
) const
virtual

Convenience access method for color properties (instances of ColorProperty)

Returns
true property was found
Deprecated:
(as of 2013_03) Use GetDataNode()->GetColor(...) instead to get the color

Definition at line 36 of file mitkMapper.cpp.

References mitk::DataNode::GetColor(), and GetDataNode().

Referenced by mitk::VolumeMapperVtkSmart3D::UpdateTransferFunctions(), and mitk::GPUVolumeMapper3D::UpdateTransferFunctions().

◆ GetData()

mitk::BaseData * mitk::Mapper::GetData ( ) const

Get the data to map.

Returns the mitk::BaseData object associated with this mapper.

Returns
the mitk::BaseData associated with this mapper.
Deprecated:
(as of 2013_03) Use GetDataNode()->GetData() instead to access the data

Definition at line 26 of file mitkMapper.cpp.

References mitk::DataNode::GetData(), and m_DataNode.

◆ GetDataNode()

mitk::DataNode * mitk::Mapper::GetDataNode ( ) const
virtual

Get the DataNode containing the data to map. Method only returns valid DataNode Pointer if the mapper belongs to a data node. Otherwise, the returned DataNode Pointer might be invalid.

Reimplemented in mitk::VtkGLMapperWrapper.

Definition at line 31 of file mitkMapper.cpp.

References m_DataNode.

Referenced by mitk::PlaneGeometryDataMapper2D::ApplyAllProperties(), mitk::SplineVtkMapper3D::ApplyAllProperties(), mitk::SurfaceVtkMapper3D::ApplyAllProperties(), mitk::PointSetVtkMapper3D::ApplyAllProperties(), mitk::SurfaceVtkMapper2D::ApplyAllProperties(), mitk::BoundingShapeVtkMapper3D::ApplyBoundingShapeProperties(), mitk::DoseImageVtkMapper2D::ApplyColor(), mitk::ImageVtkMapper2D::ApplyColor(), mitk::ContourModelGLMapper2DBase::ApplyColorAndOpacityProperties(), mitk::ContourMapper2D::ApplyColorAndOpacityProperties(), mitk::ContourSetMapper2D::ApplyColorAndOpacityProperties(), mitk::GLMapper::ApplyColorAndOpacityProperties(), mitk::EnhancedPointSetVtkMapper3D::ApplyColorAndOpacityProperties(), mitk::VtkMapper::ApplyColorAndOpacityProperties(), mitk::PlanarFigureMapper2D::ApplyColorAndOpacityProperties(), mitk::PlaneGeometryDataMapper2D::ApplyColorAndOpacityProperties2D(), mitk::DoseImageVtkMapper2D::ApplyColorTransferFunction(), mitk::ImageVtkMapper2D::ApplyColorTransferFunction(), mitk::ContourModelSetMapper3D::ApplyContourModelSetProperties(), mitk::ContourModelSetMapper3D::ApplyContourProperties(), mitk::ContourModelMapper2D::ApplyContourProperties(), mitk::ContourModelMapper3D::ApplyContourProperties(), mitk::DoseImageVtkMapper2D::ApplyLevelWindow(), mitk::ImageVtkMapper2D::ApplyLevelWindow(), mitk::LabelSetImageVtkMapper2D::ApplyLookuptable(), mitk::DoseImageVtkMapper2D::ApplyLookuptable(), mitk::ImageVtkMapper2D::ApplyLookuptable(), mitk::LabelSetImageVtkMapper2D::ApplyOpacity(), mitk::RegEvaluationMapper2D::ApplyOpacity(), mitk::DoseImageVtkMapper2D::ApplyOpacity(), mitk::ImageVtkMapper2D::ApplyOpacity(), mitk::UnstructuredGridVtkMapper3D::ApplyProperties(), mitk::DoseImageVtkMapper2D::ApplyRenderingMode(), mitk::ImageVtkMapper2D::ApplyRenderingMode(), mitk::LabelSetImageVtkMapper2D::CalculateLayerDepth(), mitk::RegEvaluationMapper2D::CalculateLayerDepth(), mitk::DoseImageVtkMapper2D::CalculateLayerDepth(), mitk::ImageVtkMapper2D::CalculateLayerDepth(), mitk::TubeGraphVtkMapper3D::ClipPolyData(), mitk::PointSetVtkMapper3D::CreateContour(), mitk::DoseImageVtkMapper2D::CreateOutlinePolyData(), mitk::PlaneGeometryDataMapper2D::CreateVtkCrosshair(), mitk::ContourModelMapper2D::CreateVtkPolyDataFromContour(), mitk::PointSetVtkMapper3D::CreateVTKRenderObjects(), mitk::PointSetVtkMapper2D::CreateVTKRenderObjects(), mitk::PlanarFigureMapper2D::DrawMarker(), mitk::GPUVolumeMapper3D::GenerateDataCPU(), mitk::BoundingShapeVtkMapper3D::GenerateDataForRenderer(), mitk::MITKRegistrationWrapperMapperBase::GenerateDataForRenderer(), mitk::ContourSetVtkMapper3D::GenerateDataForRenderer(), mitk::ContourVtkMapper3D::GenerateDataForRenderer(), mitk::VolumeMapperVtkSmart3D::GenerateDataForRenderer(), mitk::UnstructuredGridVtkMapper3D::GenerateDataForRenderer(), mitk::UnstructuredGridMapper2D::GenerateDataForRenderer(), mitk::MeshVtkMapper3D::GenerateDataForRenderer(), mitk::SplineVtkMapper3D::GenerateDataForRenderer(), mitk::ContourModelSetMapper3D::GenerateDataForRenderer(), mitk::ContourModelMapper2D::GenerateDataForRenderer(), mitk::ContourModelMapper3D::GenerateDataForRenderer(), mitk::EnhancedPointSetVtkMapper3D::GenerateDataForRenderer(), mitk::PlaneGeometryDataMapper2D::GenerateDataForRenderer(), mitk::SurfaceVtkMapper3D::GenerateDataForRenderer(), mitk::PointSetVtkMapper3D::GenerateDataForRenderer(), mitk::PlaneGeometryDataVtkMapper3D::GenerateDataForRenderer(), mitk::SurfaceVtkMapper2D::GenerateDataForRenderer(), mitk::LabelSetImageVtkMapper2D::GenerateDataForRenderer(), mitk::RegEvaluationMapper2D::GenerateDataForRenderer(), mitk::PointSetVtkMapper2D::GenerateDataForRenderer(), mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), mitk::ImageVtkMapper2D::GenerateDataForRenderer(), mitk::GPUVolumeMapper3D::GenerateDataRAY(), GetColor(), mitk::MITKRegistrationWrapperMapper3D::GetGeometryDescription(), mitk::MITKRegistrationWrapperMapper2D::GetGeometryDescription(), mitk::MeshMapper2D::GetInput(), mitk::ContourSetVtkMapper3D::GetInput(), mitk::ContourModelMapper2D::GetInput(), mitk::ContourModelMapper3D::GetInput(), mitk::ContourVtkMapper3D::GetInput(), mitk::ContourModelSetMapper3D::GetInput(), mitk::VectorImageMapper2D::GetInput(), mitk::UnstructuredGridVtkMapper3D::GetInput(), mitk::ContourMapper2D::GetInput(), mitk::ContourSetMapper2D::GetInput(), mitk::TubeGraphVtkMapper3D::GetInput(), mitk::MeshVtkMapper3D::GetInput(), mitk::GPUVolumeMapper3D::GetInput(), mitk::SurfaceVtkMapper2D::GetInput(), mitk::EnhancedPointSetVtkMapper3D::GetInput(), mitk::SurfaceVtkMapper3D::GetInput(), mitk::PointSetVtkMapper3D::GetInput(), mitk::PlaneGeometryDataVtkMapper3D::GetInput(), mitk::PointSetVtkMapper2D::GetInput(), mitk::DoseImageVtkMapper2D::GetInput(), mitk::ImageVtkMapper2D::GetInput(), mitk::VolumeMapperVtkSmart3D::GetInputImage(), GetLevelWindow(), mitk::RegEvaluationMapper2D::GetMovingImage(), mitk::RegEvaluationMapper2D::GetMovingNode(), GetOpacity(), mitk::RegEvaluationMapper2D::GetRegistration(), mitk::RegEvaluationMapper2D::GetTargetImage(), mitk::RegEvaluationMapper2D::GetTargetNode(), GetVisibility(), mitk::UnstructuredGridMapper2D::GetVtkAbstractMapper3D(), mitk::UnstructuredGridMapper2D::GetVtkLUT(), mitk::UnstructuredGridMapper2D::GetVtkPointSet(), mitk::GizmoMapper2D::GetVtkPolyData(), mitk::PlaneGeometryDataVtkMapper3D::GetVtkProp(), mitk::ContourModelGLMapper2DBase::InternalDrawContour(), mitk::GPUVolumeMapper3D::IsGPUEnabled(), mitk::GPUVolumeMapper3D::IsLODEnabled(), mitk::GPUVolumeMapper3D::IsMIPEnabled(), mitk::GPUVolumeMapper3D::IsRAYEnabled(), mitk::GPUVolumeMapper3D::IsRenderable(), IsVisible(), mitk::ContourMapper2D::MitkRender(), mitk::ContourSetMapper2D::MitkRender(), mitk::ContourModelGLMapper2D::MitkRender(), mitk::ContourModelSetGLMapper2D::MitkRender(), mitk::GLMapper::MitkRender(), mitk::PlanarFigureMapper2D::MitkRender(), mitk::VtkMapper::MitkRenderOpaqueGeometry(), mitk::VtkMapper::MitkRenderOverlay(), mitk::VtkMapper::MitkRenderTranslucentGeometry(), mitk::VtkMapper::MitkRenderVolumetricGeometry(), mitk::MeshMapper2D::Paint(), mitk::VectorImageMapper2D::Paint(), mitk::UnstructuredGridMapper2D::Paint(), mitk::PlaneGeometryDataVtkMapper3D::ProcessNode(), mitk::BoundingShapeVtkMapper2D::SetDefaultProperties(), mitk::ContourModelMapper2D::Update(), mitk::ContourModelMapper3D::Update(), mitk::ContourModelSetMapper3D::Update(), mitk::LabelSetImageVtkMapper2D::Update(), mitk::RegEvaluationMapper2D::Update(), Update(), mitk::ImageVtkMapper2D::Update(), mitk::DoseImageVtkMapper2D::Update(), mitk::SurfaceVtkMapper2D::Update(), mitk::VolumeMapperVtkSmart3D::UpdateRenderMode(), mitk::VolumeMapperVtkSmart3D::UpdateTransferFunctions(), mitk::GPUVolumeMapper3D::UpdateTransferFunctions(), mitk::SplineVtkMapper3D::UpdateVtkTransform(), mitk::MeshVtkMapper3D::UpdateVtkTransform(), mitk::VtkMapper::UpdateVtkTransform(), mitk::PlaneGeometryDataVtkMapper3D::UpdateVtkTransform(), and mitk::PlanarFigureMapper2D::~PlanarFigureMapper2D().

◆ GetLevelWindow()

bool mitk::Mapper::GetLevelWindow ( mitk::LevelWindow levelWindow,
mitk::BaseRenderer renderer,
const char *  name = "levelwindow" 
) const
virtual

Convenience access method for color properties (instances of LevelWindoProperty)

Returns
true property was found
Deprecated:
(as of 2013_03) Use GetDataNode->GetLevelWindow(...) instead to get the levelwindow

Definition at line 63 of file mitkMapper.cpp.

References GetDataNode(), and mitk::DataNode::GetLevelWindow().

◆ GetOpacity()

bool mitk::Mapper::GetOpacity ( float &  opacity,
mitk::BaseRenderer renderer,
const char *  name = "opacity" 
) const
virtual

Convenience access method for opacity properties (instances of FloatProperty)

Returns
true property was found
Deprecated:
(as of 2013_03) Use GetDataNode()->GetOpacity(...) instead to get the opacity

Definition at line 54 of file mitkMapper.cpp.

References GetDataNode(), and mitk::DataNode::GetOpacity().

◆ GetStaticNameOfClass()

static const char* mitk::Mapper::GetStaticNameOfClass ( )
inlinestatic

Definition at line 52 of file mitkMapper.h.

◆ GetTimestep()

int mitk::Mapper::GetTimestep ( ) const
inline

Returns the current time step as calculated from the renderer.

Definition at line 147 of file mitkMapper.h.

Referenced by mitk::EnhancedPointSetVtkMapper3D::ApplyColorAndOpacityProperties(), mitk::ContourModelMapper2D::CreateVtkPolyDataFromContour(), mitk::ContourModelSetMapper3D::CreateVtkPolyDataFromContour(), mitk::ContourModelMapper3D::CreateVtkPolyDataFromContour(), mitk::PointSetVtkMapper3D::CreateVTKRenderObjects(), mitk::PointSetVtkMapper2D::CreateVTKRenderObjects(), mitk::UnstructuredGridVtkMapper3D::GenerateDataForRenderer(), mitk::UnstructuredGridMapper2D::GenerateDataForRenderer(), mitk::MeshVtkMapper3D::GenerateDataForRenderer(), mitk::GPUVolumeMapper3D::GenerateDataForRenderer(), mitk::SurfaceVtkMapper3D::GenerateDataForRenderer(), mitk::PlaneGeometryDataVtkMapper3D::GenerateDataForRenderer(), mitk::SurfaceVtkMapper2D::GenerateDataForRenderer(), mitk::LabelSetImageVtkMapper2D::GenerateDataForRenderer(), mitk::RegEvaluationMapper2D::GenerateDataForRenderer(), mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), mitk::ImageVtkMapper2D::GenerateDataForRenderer(), mitk::VolumeMapperVtkSmart3D::GetInputImage(), mitk::UnstructuredGridMapper2D::IsConvertibleToVtkPointSet(), mitk::GPUVolumeMapper3D::IsRenderable(), mitk::ContourModelMapper3D::Update(), mitk::ContourModelSetMapper3D::Update(), mitk::EnhancedPointSetVtkMapper3D::UpdateVtkObjects(), mitk::SplineVtkMapper3D::UpdateVtkTransform(), mitk::MeshVtkMapper3D::UpdateVtkTransform(), mitk::VtkMapper::UpdateVtkTransform(), and mitk::PlaneGeometryDataVtkMapper3D::UpdateVtkTransform().

◆ GetVisibility()

bool mitk::Mapper::GetVisibility ( bool &  visible,
mitk::BaseRenderer renderer,
const char *  name = "visible" 
) const
virtual

Convenience access method for visibility properties (instances of BoolProperty)

Returns
true property was found
See also
IsVisible
Deprecated:
(as of 2013_03) Use GetDataNode()->GetVisibility(...) instead to get the visibility

Definition at line 45 of file mitkMapper.cpp.

References GetDataNode(), and mitk::DataNode::GetVisibility().

Referenced by mitk::VtkMapper::MitkRenderOpaqueGeometry(), mitk::VtkMapper::MitkRenderOverlay(), mitk::VtkMapper::MitkRenderTranslucentGeometry(), and mitk::VtkMapper::MitkRenderVolumetricGeometry().

◆ IsLODEnabled()

virtual bool mitk::Mapper::IsLODEnabled ( BaseRenderer ) const
inlinevirtual

Returns true if this Mapper currently allows for Level-of-Detail rendering. This reflects whether this Mapper currently invokes StartEvent, EndEvent, and ProgressEvent on BaseRenderer.

Reimplemented in mitk::GPUVolumeMapper3D.

Definition at line 151 of file mitkMapper.h.

◆ IsVisible()

bool mitk::Mapper::IsVisible ( mitk::BaseRenderer renderer,
const char *  name = "visible" 
) const
virtual

Convenience access method for visibility properties (instances of BoolProperty). Return value is the visibility. Default is visible==true, i.e., true is returned even if the property (propertyKey) is not found.

Thus, the return value has a different meaning than in the GetVisibility method!

See also
GetVisibility
Deprecated:
(as of 2013_03) Use GetDataNode()->GetVisibility(...) instead

Definition at line 72 of file mitkMapper.cpp.

References GetDataNode(), and mitk::DataNode::GetVisibility().

◆ IsVtkBased()

virtual bool mitk::Mapper::IsVtkBased ( ) const
inlinevirtual

Returns whether this is an vtk-based mapper.

Deprecated:
(as of 2013_03) All mappers of superclass VTKMapper are vtk based, use a dynamic_cast instead

Reimplemented in mitk::GLMapper, and mitk::VtkMapper.

Definition at line 116 of file mitkMapper.h.

References Update().

◆ MitkRender()

virtual void mitk::Mapper::MitkRender ( mitk::BaseRenderer renderer,
mitk::VtkPropRenderer::RenderType  type 
)
pure virtual

Responsible for calling the appropriate render functions. To be implemented in sub-classes.

Implemented in mitk::PlanarFigureMapper2D, mitk::VtkMapper, mitk::GLMapper, mitk::VtkGLMapperWrapper, mitk::ContourModelSetGLMapper2D, mitk::ContourModelGLMapper2D, mitk::ContourMapper2D, and mitk::ContourSetMapper2D.

Referenced by mitk::VtkPropRenderer::Render().

◆ ResetMapper()

virtual void mitk::Mapper::ResetMapper ( BaseRenderer )
inlineprotectedvirtual

Reset the mapper (i.e., make sure that nothing is displayed) if no valid data is present. In most cases the reimplemented function disables the according actors (toggling visibility off)

To be implemented in sub-classes.

Reimplemented in mitk::PointSetVtkMapper2D, mitk::SurfaceVtkMapper2D, mitk::PointSetVtkMapper3D, mitk::SurfaceVtkMapper3D, mitk::MeshVtkMapper3D, mitk::UnstructuredGridVtkMapper3D, and mitk::GizmoMapper2D.

Definition at line 174 of file mitkMapper.h.

Referenced by Update().

◆ SetDataNode()

virtual void mitk::Mapper::SetDataNode ( DataNode _arg)
virtual

Set the DataNode containing the data to map.

Reimplemented in mitk::VtkGLMapperWrapper.

Referenced by mitk::CoreObjectFactory::CreateMapper(), and mitk::DataNode::SetMapper().

◆ SetDefaultProperties()

void mitk::Mapper::SetDefaultProperties ( mitk::DataNode node,
mitk::BaseRenderer renderer = nullptr,
bool  overwrite = false 
)
static

Set default values of properties used by this mapper to node.

Parameters
nodeThe node for which the properties are set
overwriteoverwrite existing properties (default: false)
rendererdefines which property list of node is used (default: nullptr, i.e. default property list)

Definition at line 143 of file mitkMapper.cpp.

References mitk::DataNode::AddProperty(), mitk::BoolProperty::New(), mitk::IntProperty::New(), mitk::StringProperty::New(), and mitk::DataNode::NO_NAME_VALUE().

Referenced by mitk::TubeGraphObjectFactory::SetDefaultProperties(), mitk::PlaneGeometryDataMapper2D::SetDefaultProperties(), mitk::SurfaceVtkMapper2D::SetDefaultProperties(), mitk::SurfaceVtkMapper3D::SetDefaultProperties(), mitk::PointSetVtkMapper3D::SetDefaultProperties(), mitk::PointSetVtkMapper2D::SetDefaultProperties(), and mitk::ImageVtkMapper2D::SetDefaultProperties().

◆ Update()

Member Data Documentation

◆ m_DataNode


The documentation for this class was generated from the following files: