Medical Imaging Interaction Toolkit  2022.04.99-e36380da
Medical Imaging Interaction Toolkit
mitk::BaseRenderer Class Referenceabstract

#include <mitkBaseRenderer.h>

Inheritance diagram for mitk::BaseRenderer:
Collaboration diagram for mitk::BaseRenderer:

Public Types

enum  StandardMapperSlot { Standard2D, Standard3D }
 Defines which kind of mapper (e.g. 2D or 3D) should be used. More...
 
enum  ViewDirection { ViewDirection::AXIAL, ViewDirection::SAGITTAL, ViewDirection::CORONAL, ViewDirection::THREE_D }
 Defines which view direction should be rendered. More...
 
typedef std::map< vtkRenderWindow *, BaseRenderer * > BaseRendererMapType
 
typedef BaseRenderer 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
 
 BaseRenderer (const char *name=nullptr, vtkRenderWindow *renderWindow=nullptr)
 
void RemoveAllLocalStorages ()
 
void RegisterLocalStorageHandler (BaseLocalStorageHandler *lsh)
 
void UnregisterLocalStorageHandler (BaseLocalStorageHandler *lsh)
 
virtual void SetDataStorage (DataStorage *storage)
 
virtual DataStorage::Pointer GetDataStorage () const
 
vtkRenderWindow * GetRenderWindow () const
 
vtkRenderer * GetVtkRenderer () const
 
Dispatcher::Pointer GetDispatcher () const
 Get the dispatcher, which handles events for this base renderer. More...
 
virtual void Resize (int w, int h)
 Set a new size for the render window. More...
 
virtual void InitRenderer (vtkRenderWindow *renderwindow)
 Initialize the base renderer with a vtk render window. Set the new renderer for the camera controller. More...
 
virtual void InitSize (int w, int h)
 Set the initial size for the render window. More...
 
virtual void DrawOverlayMouse (Point2D &)
 
virtual void SetWorldTimeGeometry (const mitk::TimeGeometry *geometry)
 Set the world time geometry using the given TimeGeometry. More...
 
virtual const TimeGeometryGetWorldTimeGeometry ()
 
virtual const BaseGeometryGetCurrentWorldGeometry ()
 Get the current time-extracted 3D-geometry. More...
 
virtual const PlaneGeometryGetCurrentWorldPlaneGeometry ()
 Get the current slice-extracted 2D-geometry. More...
 
virtual bool SetWorldGeometryToDataStorageBounds ()
 
virtual void SetSlice (unsigned int slice)
 Set the slice that should be used for geometry extraction. More...
 
virtual unsigned int GetSlice () const
 
virtual void SetTimeStep (unsigned int timeStep)
 Set the timestep that should be used for geometry extraction. More...
 
virtual unsigned int GetTimeStep () const
 
TimeStepType GetTimeStep (const BaseData *data) const
 Get the timestep of a BaseData object which exists at the time of the currently displayed content. More...
 
ScalarType GetTime () const
 Get the time in ms of the currently display content (geometry). More...
 
virtual void SetGeometry (const itk::EventObject &geometrySliceEvent)
 Set the world time geometry using the geometry of the given event. More...
 
virtual void UpdateGeometry (const itk::EventObject &geometrySliceEvent)
 Set the current world plane geometry using the existing current world geometry. More...
 
virtual void SetGeometrySlice (const itk::EventObject &geometrySliceEvent)
 Set the current slice using "SetSlice" and update the current world geometry and the current world plane geometry. More...
 
virtual void SetGeometryTime (const itk::EventObject &geometryTimeEvent)
 Set the current time using "SetTimeStep" and update the current world geometry and the current world plane geometry. More...
 
virtual DataNodeGetCurrentWorldPlaneGeometryNode ()
 
void SendUpdateSlice ()
 Modify the update time of the current world plane geometry and force reslicing. More...
 
virtual unsigned long GetCurrentWorldPlaneGeometryUpdateTime ()
 Get timestamp of the update time of the current world plane geometry. More...
 
virtual unsigned long GetTimeStepUpdateTime ()
 Get timestamp of the update time of the current timestep. More...
 
virtual void PickWorldPoint (const Point2D &diplayPosition, Point3D &worldPosition) const =0
 Pick a world coordinate (x,y,z) given a display coordinate (x,y). More...
 
virtual DataNodePickObject (const Point2D &, Point3D &) const
 Determines the object (mitk::DataNode) closest to the current position by means of picking. More...
 
virtual MapperSlotId GetMapperID ()
 Get the currently used mapperID. More...
 
virtual MapperSlotId GetMapperID () const
 
virtual void SetMapperID (MapperSlotId id)
 Set the used mapperID. More...
 
virtual int * GetSize () const
 
virtual int * GetViewportSize () const
 
void SetSliceNavigationController (SliceNavigationController *SlicenavigationController)
 
virtual CameraControllerGetCameraController ()
 
virtual SliceNavigationControllerGetSliceNavigationController ()
 
virtual CameraRotationControllerGetCameraRotationController ()
 
virtual bool GetEmptyWorldGeometry ()
 
virtual bool GetKeepDisplayedRegion ()
 Getter/Setter for defining if the displayed region should be shifted or rescaled if the render window is resized. More...
 
virtual void SetKeepDisplayedRegion (bool _arg)
 
const char * GetName () const
 Return the name of the base renderer. More...
 
int GetSizeX () const
 Return the size in x-direction of the base renderer. More...
 
int GetSizeY () const
 Return the size in y-direction of the base renderer. More...
 
const double * GetBounds () const
 Return the bounds of the bounding box of the current world geometry (time-extracted 3D-geometry). More...
 
void RequestUpdate ()
 
void ForceImmediateUpdate ()
 
unsigned int GetNumberOfVisibleLODEnabledMappers () const
 Return the number of mappers which are visible and have level-of-detail rendering enabled. More...
 
void DisplayToWorld (const Point2D &displayPoint, Point3D &worldIndex) const
 Convert a display point to the 3D world index using the geometry of the renderWindow. More...
 
void DisplayToPlane (const Point2D &displayPoint, Point2D &planePointInMM) const
 Convert a display point to the 2D world index, mapped onto the display plane using the geometry of the renderWindow. More...
 
void WorldToDisplay (const Point3D &worldIndex, Point2D &displayPoint) const
 Convert a 3D world index to the display point using the geometry of the renderWindow. More...
 
void WorldToView (const Point3D &worldIndex, Point2D &viewPoint) const
 Convert a 3D world index to the point on the viewport using the geometry of the renderWindow. More...
 
void PlaneToDisplay (const Point2D &planePointInMM, Point2D &displayPoint) const
 Convert a 2D plane coordinate to the display point using the geometry of the renderWindow. More...
 
void PlaneToView (const Point2D &planePointInMM, Point2D &viewPoint) const
 Convert a 2D plane coordinate to the point on the viewport using the geometry of the renderWindow. More...
 
double GetScaleFactorMMPerDisplayUnit () const
 
Point2D GetDisplaySizeInMM () const
 
Point2D GetViewportSizeInMM () const
 
Point2D GetOriginInMM () const
 
virtual bool GetConstrainZoomingAndPanning () const
 
virtual void SetConstrainZoomingAndPanning (bool constrain)
 

Static Public Member Functions

static BaseRendererGetInstance (vtkRenderWindow *renderWindow)
 
static void AddInstance (vtkRenderWindow *renderWindow, BaseRenderer *baseRenderer)
 
static void RemoveInstance (vtkRenderWindow *renderWindow)
 
static BaseRendererGetByName (const std::string &name)
 
static vtkRenderWindow * GetRenderWindowByName (const std::string &name)
 
static const char * GetStaticNameOfClass ()
 

Static Public Attributes

static BaseRendererMapType baseRendererMap
 

Protected Types

typedef std::set< Mapper * > LODEnabledMappersType
 

Protected Member Functions

 ~BaseRenderer () override
 
virtual void Update ()=0
 
void UpdateCurrentGeometries ()
 
virtual void SetCurrentWorldPlaneGeometry (const PlaneGeometry *geometry2d)
 
virtual void SetCurrentWorldGeometry (const BaseGeometry *geometry)
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 

Protected Attributes

vtkRenderWindow * m_RenderWindow
 
vtkRenderer * m_VtkRenderer
 
MapperSlotId m_MapperID
 
DataStorage::Pointer m_DataStorage
 
unsigned long m_LastUpdateTime
 
CameraController::Pointer m_CameraController
 
SliceNavigationController::Pointer m_SliceNavigationController
 
CameraRotationController::Pointer m_CameraRotationController
 
PlaneGeometryData::Pointer m_CurrentWorldPlaneGeometryData
 
DataNode::Pointer m_CurrentWorldPlaneGeometryNode
 
unsigned long m_CurrentWorldPlaneGeometryTransformTime
 
std::string m_Name
 
double m_Bounds [6]
 
bool m_EmptyWorldGeometry
 
unsigned int m_NumberOfVisibleLODEnabledMappers
 
std::list< BaseLocalStorageHandler * > m_RegisteredLocalStorageHandlers
 
bool m_ConstrainZoomingAndPanning
 

Detailed Description

Definition at line 55 of file mitkBaseRenderer.h.

Member Typedef Documentation

◆ BaseRendererMapType

typedef std::map<vtkRenderWindow*, BaseRenderer*> mitk::BaseRenderer::BaseRendererMapType

Definition at line 59 of file mitkBaseRenderer.h.

◆ ConstPointer

Definition at line 69 of file mitkBaseRenderer.h.

◆ LODEnabledMappersType

typedef std::set<Mapper*> mitk::BaseRenderer::LODEnabledMappersType
protected

Definition at line 457 of file mitkBaseRenderer.h.

◆ Pointer

◆ Self

Definition at line 69 of file mitkBaseRenderer.h.

◆ Superclass

typedef itk::Object mitk::BaseRenderer::Superclass

Definition at line 69 of file mitkBaseRenderer.h.

Member Enumeration Documentation

◆ StandardMapperSlot

Defines which kind of mapper (e.g. 2D or 3D) should be used.

Enumerator
Standard2D 
Standard3D 

Definition at line 76 of file mitkBaseRenderer.h.

◆ ViewDirection

Defines which view direction should be rendered.

Enumerator
AXIAL 
SAGITTAL 
CORONAL 
THREE_D 

Definition at line 85 of file mitkBaseRenderer.h.

Constructor & Destructor Documentation

◆ BaseRenderer()

mitk::BaseRenderer::BaseRenderer ( const char *  name = nullptr,
vtkRenderWindow *  renderWindow = nullptr 
)

◆ ~BaseRenderer()

mitk::BaseRenderer::~BaseRenderer ( )
overrideprotected

Member Function Documentation

◆ AddInstance()

static void mitk::BaseRenderer::AddInstance ( vtkRenderWindow *  renderWindow,
BaseRenderer baseRenderer 
)
static

◆ DisplayToPlane()

void mitk::BaseRenderer::DisplayToPlane ( const Point2D displayPoint,
Point2D planePointInMM 
) const

Convert a display point to the 2D world index, mapped onto the display plane using the geometry of the renderWindow.

◆ DisplayToWorld()

void mitk::BaseRenderer::DisplayToWorld ( const Point2D displayPoint,
Point3D worldIndex 
) const

Convert a display point to the 3D world index using the geometry of the renderWindow.

◆ DrawOverlayMouse()

virtual void mitk::BaseRenderer::DrawOverlayMouse ( Point2D )
inlinevirtual

Definition at line 135 of file mitkBaseRenderer.h.

References MITK_INFO.

◆ ForceImmediateUpdate()

void mitk::BaseRenderer::ForceImmediateUpdate ( )

◆ GetBounds()

const double* mitk::BaseRenderer::GetBounds ( ) const

Return the bounds of the bounding box of the current world geometry (time-extracted 3D-geometry).

If the geometry is empty, the bounds are set to zero.

◆ GetByName()

static BaseRenderer* mitk::BaseRenderer::GetByName ( const std::string &  name)
static

◆ GetCameraController()

virtual CameraController* mitk::BaseRenderer::GetCameraController ( )
virtual

◆ GetCameraRotationController()

virtual CameraRotationController* mitk::BaseRenderer::GetCameraRotationController ( )
virtual

◆ GetClassHierarchy()

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

Reimplemented in mitk::VtkPropRenderer.

Definition at line 69 of file mitkBaseRenderer.h.

◆ GetClassName()

virtual const char* mitk::BaseRenderer::GetClassName ( ) const
virtual

Reimplemented in mitk::VtkPropRenderer.

◆ GetConstrainZoomingAndPanning()

virtual bool mitk::BaseRenderer::GetConstrainZoomingAndPanning ( ) const
virtual

◆ GetCurrentWorldGeometry()

virtual const BaseGeometry* mitk::BaseRenderer::GetCurrentWorldGeometry ( )
virtual

Get the current time-extracted 3D-geometry.

◆ GetCurrentWorldPlaneGeometry()

virtual const PlaneGeometry* mitk::BaseRenderer::GetCurrentWorldPlaneGeometry ( )
virtual

Get the current slice-extracted 2D-geometry.

◆ GetCurrentWorldPlaneGeometryNode()

virtual DataNode* mitk::BaseRenderer::GetCurrentWorldPlaneGeometryNode ( )
virtual

◆ GetCurrentWorldPlaneGeometryUpdateTime()

virtual unsigned long mitk::BaseRenderer::GetCurrentWorldPlaneGeometryUpdateTime ( )
virtual

Get timestamp of the update time of the current world plane geometry.

◆ GetDataStorage()

virtual DataStorage::Pointer mitk::BaseRenderer::GetDataStorage ( ) const
inlinevirtual

Definition at line 99 of file mitkBaseRenderer.h.

◆ GetDispatcher()

Dispatcher::Pointer mitk::BaseRenderer::GetDispatcher ( ) const

Get the dispatcher, which handles events for this base renderer.

◆ GetDisplaySizeInMM()

Point2D mitk::BaseRenderer::GetDisplaySizeInMM ( ) const

◆ GetEmptyWorldGeometry()

virtual bool mitk::BaseRenderer::GetEmptyWorldGeometry ( )
virtual

◆ GetInstance()

static BaseRenderer* mitk::BaseRenderer::GetInstance ( vtkRenderWindow *  renderWindow)
static

◆ GetKeepDisplayedRegion()

virtual bool mitk::BaseRenderer::GetKeepDisplayedRegion ( )
virtual

Getter/Setter for defining if the displayed region should be shifted or rescaled if the render window is resized.

◆ GetMapperID() [1/2]

virtual MapperSlotId mitk::BaseRenderer::GetMapperID ( )
virtual

Get the currently used mapperID.

◆ GetMapperID() [2/2]

virtual MapperSlotId mitk::BaseRenderer::GetMapperID ( ) const
virtual

◆ GetName()

const char* mitk::BaseRenderer::GetName ( ) const
inline

Return the name of the base renderer.

Definition at line 295 of file mitkBaseRenderer.h.

◆ GetNumberOfVisibleLODEnabledMappers()

unsigned int mitk::BaseRenderer::GetNumberOfVisibleLODEnabledMappers ( ) const

Return the number of mappers which are visible and have level-of-detail rendering enabled.

◆ GetOriginInMM()

Point2D mitk::BaseRenderer::GetOriginInMM ( ) const

◆ GetRenderWindow()

vtkRenderWindow* mitk::BaseRenderer::GetRenderWindow ( ) const
inline

Definition at line 104 of file mitkBaseRenderer.h.

◆ GetRenderWindowByName()

static vtkRenderWindow* mitk::BaseRenderer::GetRenderWindowByName ( const std::string &  name)
static

◆ GetScaleFactorMMPerDisplayUnit()

double mitk::BaseRenderer::GetScaleFactorMMPerDisplayUnit ( ) const

◆ GetSize()

virtual int* mitk::BaseRenderer::GetSize ( ) const
virtual

◆ GetSizeX()

int mitk::BaseRenderer::GetSizeX ( ) const
inline

Return the size in x-direction of the base renderer.

Definition at line 303 of file mitkBaseRenderer.h.

◆ GetSizeY()

int mitk::BaseRenderer::GetSizeY ( ) const
inline

Return the size in y-direction of the base renderer.

Definition at line 311 of file mitkBaseRenderer.h.

◆ GetSlice()

virtual unsigned int mitk::BaseRenderer::GetSlice ( ) const
virtual

◆ GetSliceNavigationController()

virtual SliceNavigationController* mitk::BaseRenderer::GetSliceNavigationController ( )
virtual

◆ GetStaticNameOfClass()

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

Definition at line 69 of file mitkBaseRenderer.h.

◆ GetTime()

ScalarType mitk::BaseRenderer::GetTime ( ) const

Get the time in ms of the currently display content (geometry).

◆ GetTimeStep() [1/2]

virtual unsigned int mitk::BaseRenderer::GetTimeStep ( ) const
virtual

◆ GetTimeStep() [2/2]

TimeStepType mitk::BaseRenderer::GetTimeStep ( const BaseData data) const

Get the timestep of a BaseData object which exists at the time of the currently displayed content.

Returns -1 if there is no data at the current time.

◆ GetTimeStepUpdateTime()

virtual unsigned long mitk::BaseRenderer::GetTimeStepUpdateTime ( )
virtual

Get timestamp of the update time of the current timestep.

◆ GetViewportSize()

virtual int* mitk::BaseRenderer::GetViewportSize ( ) const
virtual

◆ GetViewportSizeInMM()

Point2D mitk::BaseRenderer::GetViewportSizeInMM ( ) const

◆ GetVtkRenderer()

vtkRenderer* mitk::BaseRenderer::GetVtkRenderer ( ) const
inline

Definition at line 109 of file mitkBaseRenderer.h.

◆ GetWorldTimeGeometry()

virtual const TimeGeometry* mitk::BaseRenderer::GetWorldTimeGeometry ( )
virtual

◆ InitRenderer()

virtual void mitk::BaseRenderer::InitRenderer ( vtkRenderWindow *  renderwindow)
virtual

Initialize the base renderer with a vtk render window. Set the new renderer for the camera controller.

Reimplemented in mitk::VtkPropRenderer.

◆ InitSize()

virtual void mitk::BaseRenderer::InitSize ( int  w,
int  h 
)
virtual

Set the initial size for the render window.

Reimplemented in mitk::VtkPropRenderer.

◆ PickObject()

virtual DataNode* mitk::BaseRenderer::PickObject ( const Point2D ,
Point3D  
) const
inlinevirtual

Determines the object (mitk::DataNode) closest to the current position by means of picking.

Warning
Implementation currently empty for 2D rendering; intended to be implemented for 3D renderers.

Reimplemented in mitk::VtkPropRenderer.

Definition at line 260 of file mitkBaseRenderer.h.

◆ PickWorldPoint()

virtual void mitk::BaseRenderer::PickWorldPoint ( const Point2D diplayPosition,
Point3D worldPosition 
) const
pure virtual

Pick a world coordinate (x,y,z) given a display coordinate (x,y).

Warning
Not implemented; has to be overwritten in subclasses.

Implemented in mitk::VtkPropRenderer.

◆ PlaneToDisplay()

void mitk::BaseRenderer::PlaneToDisplay ( const Point2D planePointInMM,
Point2D displayPoint 
) const

Convert a 2D plane coordinate to the display point using the geometry of the renderWindow.

◆ PlaneToView()

void mitk::BaseRenderer::PlaneToView ( const Point2D planePointInMM,
Point2D viewPoint 
) const

Convert a 2D plane coordinate to the point on the viewport using the geometry of the renderWindow.

◆ PrintSelf()

void mitk::BaseRenderer::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

◆ RegisterLocalStorageHandler()

◆ RemoveAllLocalStorages()

void mitk::BaseRenderer::RemoveAllLocalStorages ( )

◆ RemoveInstance()

static void mitk::BaseRenderer::RemoveInstance ( vtkRenderWindow *  renderWindow)
static

◆ RequestUpdate()

void mitk::BaseRenderer::RequestUpdate ( )

◆ Resize()

virtual void mitk::BaseRenderer::Resize ( int  w,
int  h 
)
virtual

Set a new size for the render window.

Reimplemented in mitk::VtkPropRenderer.

◆ SendUpdateSlice()

void mitk::BaseRenderer::SendUpdateSlice ( )

Modify the update time of the current world plane geometry and force reslicing.

◆ SetConstrainZoomingAndPanning()

virtual void mitk::BaseRenderer::SetConstrainZoomingAndPanning ( bool  constrain)
virtual

◆ SetCurrentWorldGeometry()

virtual void mitk::BaseRenderer::SetCurrentWorldGeometry ( const BaseGeometry geometry)
protectedvirtual

◆ SetCurrentWorldPlaneGeometry()

virtual void mitk::BaseRenderer::SetCurrentWorldPlaneGeometry ( const PlaneGeometry geometry2d)
protectedvirtual

◆ SetDataStorage()

virtual void mitk::BaseRenderer::SetDataStorage ( DataStorage storage)
virtual

Reimplemented in mitk::VtkPropRenderer.

◆ SetGeometry()

virtual void mitk::BaseRenderer::SetGeometry ( const itk::EventObject &  geometrySliceEvent)
virtual

Set the world time geometry using the geometry of the given event.

The function is triggered by a SliceNavigationController::GeometrySendEvent.

◆ SetGeometrySlice()

virtual void mitk::BaseRenderer::SetGeometrySlice ( const itk::EventObject &  geometrySliceEvent)
virtual

Set the current slice using "SetSlice" and update the current world geometry and the current world plane geometry.

The function is triggered by a SliceNavigationController::GeometrySliceEvent.

◆ SetGeometryTime()

virtual void mitk::BaseRenderer::SetGeometryTime ( const itk::EventObject &  geometryTimeEvent)
virtual

Set the current time using "SetTimeStep" and update the current world geometry and the current world plane geometry.

The function is triggered by a TimeNavigationController::TimeEvent.

◆ SetKeepDisplayedRegion()

virtual void mitk::BaseRenderer::SetKeepDisplayedRegion ( bool  _arg)
virtual

◆ SetMapperID()

virtual void mitk::BaseRenderer::SetMapperID ( MapperSlotId  id)
virtual

Set the used mapperID.

Reimplemented in mitk::VtkPropRenderer.

◆ SetSlice()

virtual void mitk::BaseRenderer::SetSlice ( unsigned int  slice)
virtual

Set the slice that should be used for geometry extraction.

The slice defines the current slice-extracted 2D-geometry (CurrentWorldPlaneGeometry). Setting a new slice will update the current world geometry and the curent world plane geometry.

◆ SetSliceNavigationController()

void mitk::BaseRenderer::SetSliceNavigationController ( SliceNavigationController SlicenavigationController)

◆ SetTimeStep()

virtual void mitk::BaseRenderer::SetTimeStep ( unsigned int  timeStep)
virtual

Set the timestep that should be used for geometry extraction.

The timestep defines the current time-extracted 3D-geometry (CurrentWorldGeometry). Setting a new timestep will update the current world geometry and the curent world plane geometry.

◆ SetWorldGeometryToDataStorageBounds()

virtual bool mitk::BaseRenderer::SetWorldGeometryToDataStorageBounds ( )
inlinevirtual

Reimplemented in mitk::VtkPropRenderer.

Definition at line 159 of file mitkBaseRenderer.h.

◆ SetWorldTimeGeometry()

virtual void mitk::BaseRenderer::SetWorldTimeGeometry ( const mitk::TimeGeometry geometry)
virtual

Set the world time geometry using the given TimeGeometry.

Setting a new world time geometry updates the current world geometry and the curent world plane geometry, using the currently selected slice and timestep.

◆ UnregisterLocalStorageHandler()

◆ Update()

virtual void mitk::BaseRenderer::Update ( )
protectedpure virtual

Implemented in mitk::VtkPropRenderer.

◆ UpdateCurrentGeometries()

void mitk::BaseRenderer::UpdateCurrentGeometries ( )
protected

◆ UpdateGeometry()

virtual void mitk::BaseRenderer::UpdateGeometry ( const itk::EventObject &  geometrySliceEvent)
virtual

Set the current world plane geometry using the existing current world geometry.

The function is triggered by a SliceNavigationController::GeometryUpdateEvent.

◆ WorldToDisplay()

void mitk::BaseRenderer::WorldToDisplay ( const Point3D worldIndex,
Point2D displayPoint 
) const

Convert a 3D world index to the display point using the geometry of the renderWindow.

◆ WorldToView()

void mitk::BaseRenderer::WorldToView ( const Point3D worldIndex,
Point2D viewPoint 
) const

Convert a 3D world index to the point on the viewport using the geometry of the renderWindow.

Member Data Documentation

◆ baseRendererMap

BaseRendererMapType mitk::BaseRenderer::baseRendererMap
static

Definition at line 60 of file mitkBaseRenderer.h.

◆ m_Bounds

double mitk::BaseRenderer::m_Bounds[6]
protected

Definition at line 453 of file mitkBaseRenderer.h.

◆ m_CameraController

CameraController::Pointer mitk::BaseRenderer::m_CameraController
protected

Definition at line 392 of file mitkBaseRenderer.h.

◆ m_CameraRotationController

CameraRotationController::Pointer mitk::BaseRenderer::m_CameraRotationController
protected

Definition at line 394 of file mitkBaseRenderer.h.

◆ m_ConstrainZoomingAndPanning

bool mitk::BaseRenderer::m_ConstrainZoomingAndPanning
protected

Definition at line 463 of file mitkBaseRenderer.h.

◆ m_CurrentWorldPlaneGeometryData

PlaneGeometryData::Pointer mitk::BaseRenderer::m_CurrentWorldPlaneGeometryData
protected

Definition at line 447 of file mitkBaseRenderer.h.

◆ m_CurrentWorldPlaneGeometryNode

DataNode::Pointer mitk::BaseRenderer::m_CurrentWorldPlaneGeometryNode
protected

Definition at line 448 of file mitkBaseRenderer.h.

◆ m_CurrentWorldPlaneGeometryTransformTime

unsigned long mitk::BaseRenderer::m_CurrentWorldPlaneGeometryTransformTime
protected

Definition at line 449 of file mitkBaseRenderer.h.

◆ m_DataStorage

DataStorage::Pointer mitk::BaseRenderer::m_DataStorage
protected

Definition at line 389 of file mitkBaseRenderer.h.

◆ m_EmptyWorldGeometry

bool mitk::BaseRenderer::m_EmptyWorldGeometry
protected

Definition at line 455 of file mitkBaseRenderer.h.

◆ m_LastUpdateTime

unsigned long mitk::BaseRenderer::m_LastUpdateTime
protected

Definition at line 390 of file mitkBaseRenderer.h.

◆ m_MapperID

MapperSlotId mitk::BaseRenderer::m_MapperID
protected

Definition at line 388 of file mitkBaseRenderer.h.

◆ m_Name

std::string mitk::BaseRenderer::m_Name
protected

Definition at line 451 of file mitkBaseRenderer.h.

◆ m_NumberOfVisibleLODEnabledMappers

unsigned int mitk::BaseRenderer::m_NumberOfVisibleLODEnabledMappers
protected

Definition at line 459 of file mitkBaseRenderer.h.

◆ m_RegisteredLocalStorageHandlers

std::list<BaseLocalStorageHandler*> mitk::BaseRenderer::m_RegisteredLocalStorageHandlers
protected

Definition at line 461 of file mitkBaseRenderer.h.

◆ m_RenderWindow

vtkRenderWindow* mitk::BaseRenderer::m_RenderWindow
protected

Definition at line 385 of file mitkBaseRenderer.h.

◆ m_SliceNavigationController

SliceNavigationController::Pointer mitk::BaseRenderer::m_SliceNavigationController
protected

Definition at line 393 of file mitkBaseRenderer.h.

◆ m_VtkRenderer

vtkRenderer* mitk::BaseRenderer::m_VtkRenderer
protected

Definition at line 386 of file mitkBaseRenderer.h.


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