13 #ifndef mitkVtkGLMapperWrapper_h
14 #define mitkVtkGLMapperWrapper_h
21 #include <vtkSmartPointer.h>
#define MITKLEGACYGL_EXPORT
Class for nodes of the DataTree.
Base class for mapper specific rendering resources.
Base class of all mappers, Vtk as well as OpenGL mappers.
Internal class holding the mapper, actor, etc. for each of the 3 2D render windows.
vtkSmartPointer< vtkGLMapperProp > m_GLMapperProp
Vtk-based 2D mapper for PointSet.
void Update(BaseRenderer *renderer) override
Calls the time step of the input data for the specified renderer and checks whether the time step is ...
void SetDataNode(DataNode *node) override
Set the DataNode containing the data to map.
void GenerateDataForRenderer(mitk::BaseRenderer *renderer) override
Generate the data needed for rendering into renderer.
void MitkRender(mitk::BaseRenderer *renderer, mitk::VtkPropRenderer::RenderType type) override
Determines which geometry should be rendered (opaque, translucent, volumetric, overlay) and calls the...
DataNode * GetDataNode() const override
Get the DataNode containing the data to map. Method only returns valid DataNode Pointer if the mapper...
VtkGLMapperWrapper(GLMapper::Pointer mitkGLMapper)
GLMapper::Pointer m_MitkGLMapper
~VtkGLMapperWrapper() override
void Enable2DOpenGL(mitk::BaseRenderer *)
mitk::LocalStorageHandler< LocalStorage > m_LSH
The LocalStorageHandler holds all (three) LocalStorages for the three 2D render windows.
vtkProp * GetVtkProp(mitk::BaseRenderer *renderer) override
returns the a prop assembly
mitkClassMacro(VtkGLMapperWrapper, VtkMapper)
void ApplyColorAndOpacityProperties(mitk::BaseRenderer *renderer, vtkActor *actor) override
Apply color and opacity properties read from the PropertyList. Called by mapper subclasses.
mitkNewMacro1Param(Self, GLMapper::Pointer)
Base class of all Vtk Mappers in order to display primitives by exploiting Vtk functionality.
The vtkGLMapperProp class is a VtkProp, wrapping a GLMapper.
Find image slices visible on a given plane.