|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Organizes the rendering process. More...
#include <mitkBaseRenderer.h>


Public Types | |
| enum | StandardMapperSlot { Standard2D , Standard3D } |
| Defines which kind of mapper (e.g. 2D or 3D) should be used. More... | |
| typedef std::map< vtkRenderWindow *, BaseRenderer * > | BaseRendererMapType |
| Map type associating vtkRenderWindow pointers with BaseRenderer pointers. More... | |
Public Member Functions | |
| mitkClassMacroItkParent (BaseRenderer, itk::Object) | |
| BaseRenderer (const char *name=nullptr, vtkRenderWindow *renderWindow=nullptr) | |
| Construct a BaseRenderer with an optional name and vtkRenderWindow. More... | |
| void | RemoveAllLocalStorages () |
| Remove all registered local storages and notify observers via RendererResetEvent. More... | |
| void | RegisterLocalStorageHandler (BaseLocalStorageHandler *lsh) |
| Register a local storage handler with this renderer. More... | |
| void | UnregisterLocalStorageHandler (BaseLocalStorageHandler *lsh) |
| Unregister a previously registered local storage handler. More... | |
| virtual void | SetDataStorage (DataStorage *storage) |
| Set the DataStorage used by this renderer. More... | |
| virtual DataStorage::Pointer | GetDataStorage () const |
| Get the DataStorage used by this renderer. More... | |
| vtkRenderWindow * | GetRenderWindow () const |
| Get the vtkRenderWindow associated with this renderer. More... | |
| vtkRenderer * | GetVtkRenderer () const |
| Get the underlying vtkRenderer used for VTK rendering. More... | |
| 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. More... | |
| virtual void | InitSize (int w, int h) |
| Set the initial size for the render window. More... | |
| virtual void | DrawOverlayMouse (Point2D &) |
| Draw an overlay mouse cursor at the given position. More... | |
| virtual void | SetWorldTimeGeometry (const TimeGeometry *geometry) |
| Set the world time geometry using the given TimeGeometry. More... | |
| virtual const TimeGeometry * | GetWorldTimeGeometry () |
| virtual void | SetInteractionReferenceGeometry (const TimeGeometry *geometry) |
| Set the interaction reference world time geometry using the given TimeGeometry. More... | |
| virtual const TimeGeometry * | GetInteractionReferenceGeometry () |
| Get the current interaction reference geometry. More... | |
| virtual bool | GetReferenceGeometryAligned () |
| Return if the reference geometry aligns with the base renderer's world geometry. If true, the interaction reference geometry aligns with the base renderer's current world geometry. False otherwise. More... | |
| virtual const BaseGeometry * | GetCurrentWorldGeometry () |
| Get the current time-extracted 3D-geometry. More... | |
| virtual const PlaneGeometry * | GetCurrentWorldPlaneGeometry () |
| Get the current slice-extracted 2D-geometry. More... | |
| virtual bool | SetWorldGeometryToDataStorageBounds () |
| Set the world geometry so that it encompasses all objects in the DataStorage. More... | |
| 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 DataNode * | GetCurrentWorldPlaneGeometryNode () |
| 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 DataNode * | PickObject (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 |
| Get the size of the render window in pixels. More... | |
| virtual int * | GetViewportSize () const |
| Get the size of the VTK viewport in pixels. More... | |
| void | SetSliceNavigationController (SliceNavigationController *SlicenavigationController) |
| Replace the current SliceNavigationController. More... | |
| virtual CameraController * | GetCameraController () |
| Get the CameraController for this renderer. More... | |
| virtual SliceNavigationController * | GetSliceNavigationController () |
| Get the SliceNavigationController for this renderer. More... | |
| virtual CameraRotationController * | GetCameraRotationController () |
| Get the CameraRotationController for this renderer. More... | |
| virtual bool | GetEmptyWorldGeometry () |
| Return whether the current world geometry is empty (has zero extent). More... | |
| 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 () |
| Request an asynchronous rendering update for this render window via the RenderingManager. More... | |
| void | ForceImmediateUpdate () |
| Force an immediate synchronous rendering update for this render window. More... | |
| 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 a 3D world coordinate. More... | |
| void | DisplayToPlane (const Point2D &displayPoint, Point2D &planePointInMM) const |
| Convert a display point to a 2D plane coordinate in millimeters. More... | |
| void | WorldToDisplay (const Point3D &worldIndex, Point2D &displayPoint) const |
| Convert a 3D world coordinate to a 2D display point. More... | |
| void | WorldToView (const Point3D &worldIndex, Point2D &viewPoint) const |
| Convert a 3D world coordinate to a 2D viewport point. More... | |
| void | PlaneToDisplay (const Point2D &planePointInMM, Point2D &displayPoint) const |
| Convert a 2D plane coordinate in millimeters to a 2D display point. More... | |
| void | PlaneToView (const Point2D &planePointInMM, Point2D &viewPoint) const |
| Convert a 2D plane coordinate in millimeters to a 2D viewport point. More... | |
| double | GetScaleFactorMMPerDisplayUnit () const |
| Get the scale factor relating millimeters to display pixels. More... | |
| Point2D | GetDisplaySizeInMM () const |
| Get the size of the render window in millimeters. More... | |
| Point2D | GetViewportSizeInMM () const |
| Get the size of the VTK viewport in millimeters. More... | |
| Point2D | GetOriginInMM () const |
| Get the origin of the viewport in plane coordinates (millimeters). More... | |
| virtual bool | GetConstrainZoomingAndPanning () const |
| Get whether zooming and panning are constrained to the displayed geometry. More... | |
| virtual void | SetConstrainZoomingAndPanning (bool constrain) |
| Enable or disable constraining of zooming and panning. More... | |
Static Public Member Functions | |
| static BaseRenderer * | GetInstance (vtkRenderWindow *renderWindow) |
| Get the BaseRenderer instance associated with the given vtkRenderWindow. More... | |
| static void | AddInstance (vtkRenderWindow *renderWindow, BaseRenderer *baseRenderer) |
| Register a BaseRenderer instance for the given vtkRenderWindow. More... | |
| static void | RemoveInstance (vtkRenderWindow *renderWindow) |
| Remove the BaseRenderer registration for the given vtkRenderWindow. More... | |
| static BaseRenderer * | GetByName (const std::string &name) |
| Find a BaseRenderer by its name. More... | |
| static vtkRenderWindow * | GetRenderWindowByName (const std::string &name) |
| Find a vtkRenderWindow by the name of its associated BaseRenderer. More... | |
| static BaseRendererMapType | GetSpecificRenderWindows (MapperSlotId mapper) |
| Get a map of all BaseRenderers that use the specified mapper type. More... | |
| static BaseRendererMapType | GetAll2DRenderWindows () |
| Convenience function: Get a map of all 2D RenderWindows. More... | |
| static BaseRendererMapType | GetAll3DRenderWindows () |
| Convenience function: Get a map of all 3D RenderWindows. More... | |
Static Public Attributes | |
| static BaseRendererMapType | baseRendererMap |
| Static map holding all registered BaseRenderer instances, keyed by their vtkRenderWindow. More... | |
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 |
| CameraRotationController::Pointer | m_CameraRotationController |
| SliceNavigationController::Pointer | m_SliceNavigationController |
| 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 |
Organizes the rendering process.
A BaseRenderer contains a reference to a given vtkRenderWindow and a corresponding vtkRenderer. It manages geometry extraction (world time geometry, current world geometry, current world plane geometry), coordinate conversions between display and world space, and the mapper type (2D / 3D) used for rendering.
All existing BaseRenderer instances are stored in a static map that can be accessed / modified via the static functions. VtkPropRenderer is the concrete implementation of a BaseRenderer.
Definition at line 66 of file mitkBaseRenderer.h.
| typedef std::map<vtkRenderWindow*, BaseRenderer*> mitk::BaseRenderer::BaseRendererMapType |
Map type associating vtkRenderWindow pointers with BaseRenderer pointers.
Definition at line 71 of file mitkBaseRenderer.h.
|
protected |
Definition at line 680 of file mitkBaseRenderer.h.
Defines which kind of mapper (e.g. 2D or 3D) should be used.
| Enumerator | |
|---|---|
| Standard2D | Use 2D mappers for rendering. |
| Standard3D | Use 3D mappers for rendering. |
Definition at line 79 of file mitkBaseRenderer.h.
| mitk::BaseRenderer::BaseRenderer | ( | const char * | name = nullptr, |
| vtkRenderWindow * | renderWindow = nullptr |
||
| ) |
Construct a BaseRenderer with an optional name and vtkRenderWindow.
| [in] | name | The name of the renderer. If nullptr, an unnamed renderer is created. |
| [in] | renderWindow | The vtkRenderWindow to associate with this renderer. Can be nullptr. |
|
overrideprotected |
|
static |
Register a BaseRenderer instance for the given vtkRenderWindow.
If a BaseRenderer is already registered for this render window, it is removed first.
| [in] | renderWindow | The vtkRenderWindow to associate with the renderer. |
| [in] | baseRenderer | The BaseRenderer instance to register. |
| void mitk::BaseRenderer::DisplayToPlane | ( | const Point2D & | displayPoint, |
| Point2D & | planePointInMM | ||
| ) | const |
Convert a display point to a 2D plane coordinate in millimeters.
Only meaningful for 2D renderers. Logs a warning for 3D renderers.
| [in] | displayPoint | 2D display coordinate in pixels. |
| [out] | planePointInMM | The resulting 2D coordinate on the current world plane in mm. |
| void mitk::BaseRenderer::DisplayToWorld | ( | const Point2D & | displayPoint, |
| Point3D & | worldIndex | ||
| ) | const |
Convert a display point to a 3D world coordinate.
For 2D renderers, the z-depth is obtained from the camera focal point. For 3D renderers, PickWorldPoint() is used.
| [in] | displayPoint | 2D display coordinate in pixels. |
| [out] | worldIndex | The resulting 3D world coordinate. |
|
inlinevirtual |
Draw an overlay mouse cursor at the given position.
Definition at line 238 of file mitkBaseRenderer.h.
References MITK_INFO.
| void mitk::BaseRenderer::ForceImmediateUpdate | ( | ) |
Force an immediate synchronous rendering update for this render window.
|
static |
Convenience function: Get a map of all 2D RenderWindows.
|
static |
Convenience function: Get a map of all 3D RenderWindows.
| 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.
|
static |
Find a BaseRenderer by its name.
| [in] | name | The name of the renderer to search for. |
|
virtual |
Get the CameraController for this renderer.
|
virtual |
Get the CameraRotationController for this renderer.
|
virtual |
Get whether zooming and panning are constrained to the displayed geometry.
|
virtual |
Get the current time-extracted 3D-geometry.
|
virtual |
Get the current slice-extracted 2D-geometry.
|
virtual |
|
virtual |
Get timestamp of the update time of the current world plane geometry.
|
inlinevirtual |
Get the DataStorage used by this renderer.
Definition at line 181 of file mitkBaseRenderer.h.
| Dispatcher::Pointer mitk::BaseRenderer::GetDispatcher | ( | ) | const |
Get the dispatcher, which handles events for this base renderer.
| Point2D mitk::BaseRenderer::GetDisplaySizeInMM | ( | ) | const |
Get the size of the render window in millimeters.
|
virtual |
Return whether the current world geometry is empty (has zero extent).
|
static |
Get the BaseRenderer instance associated with the given vtkRenderWindow.
| [in] | renderWindow | The vtkRenderWindow to look up. |
|
virtual |
Get the current interaction reference geometry.
|
virtual |
Getter/Setter for defining if the displayed region should be shifted or rescaled if the render window is resized.
|
virtual |
Get the currently used mapperID.
|
virtual |
|
inline |
Return the name of the base renderer.
Definition at line 455 of file mitkBaseRenderer.h.
| unsigned int mitk::BaseRenderer::GetNumberOfVisibleLODEnabledMappers | ( | ) | const |
Return the number of mappers which are visible and have level-of-detail rendering enabled.
| Point2D mitk::BaseRenderer::GetOriginInMM | ( | ) | const |
Get the origin of the viewport in plane coordinates (millimeters).
|
virtual |
Return if the reference geometry aligns with the base renderer's world geometry. If true, the interaction reference geometry aligns with the base renderer's current world geometry. False otherwise.
|
inline |
Get the vtkRenderWindow associated with this renderer.
Definition at line 190 of file mitkBaseRenderer.h.
|
static |
Find a vtkRenderWindow by the name of its associated BaseRenderer.
| [in] | name | The name of the renderer whose render window is requested. |
| double mitk::BaseRenderer::GetScaleFactorMMPerDisplayUnit | ( | ) | const |
Get the scale factor relating millimeters to display pixels.
For 2D renderers this is computed from the camera's parallel scale and the viewport height. For 3D renderers, returns 1.0.
|
virtual |
Get the size of the render window in pixels.
|
inline |
Return the size in x-direction of the base renderer.
Definition at line 463 of file mitkBaseRenderer.h.
|
inline |
Return the size in y-direction of the base renderer.
Definition at line 471 of file mitkBaseRenderer.h.
|
virtual |
|
virtual |
Get the SliceNavigationController for this renderer.
|
static |
Get a map of all BaseRenderers that use the specified mapper type.
| [in] | mapper | The MapperSlotId (Standard2D or Standard3D) to filter by. |
| ScalarType mitk::BaseRenderer::GetTime | ( | ) | const |
Get the time in ms of the currently display content (geometry).
|
virtual |
| 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.
|
virtual |
Get timestamp of the update time of the current timestep.
|
virtual |
Get the size of the VTK viewport in pixels.
| Point2D mitk::BaseRenderer::GetViewportSizeInMM | ( | ) | const |
Get the size of the VTK viewport in millimeters.
|
inline |
Get the underlying vtkRenderer used for VTK rendering.
Definition at line 199 of file mitkBaseRenderer.h.
|
virtual |
|
virtual |
Initialize the base renderer with a vtk render window.
Replaces the current render window, removes all local storages, and re-initializes the camera controller.
| [in] | renderwindow | The new vtkRenderWindow to use. |
Reimplemented in mitk::VtkPropRenderer.
|
virtual |
Set the initial size for the render window.
| [in] | w | Width in pixels. |
| [in] | h | Height in pixels. |
Reimplemented in mitk::VtkPropRenderer.
| mitk::BaseRenderer::mitkClassMacroItkParent | ( | BaseRenderer | , |
| itk::Object | |||
| ) |
|
inlinevirtual |
Determines the object (mitk::DataNode) closest to the current position by means of picking.
Reimplemented in mitk::VtkPropRenderer.
Definition at line 394 of file mitkBaseRenderer.h.
|
pure virtual |
Pick a world coordinate (x,y,z) given a display coordinate (x,y).
Implemented in mitk::VtkPropRenderer.
| void mitk::BaseRenderer::PlaneToDisplay | ( | const Point2D & | planePointInMM, |
| Point2D & | displayPoint | ||
| ) | const |
Convert a 2D plane coordinate in millimeters to a 2D display point.
| [in] | planePointInMM | 2D coordinate on the current world plane in mm. |
| [out] | displayPoint | The resulting 2D display coordinate in pixels. |
Convert a 2D plane coordinate in millimeters to a 2D viewport point.
| [in] | planePointInMM | 2D coordinate on the current world plane in mm. |
| [out] | viewPoint | The resulting 2D viewport coordinate in pixels. |
|
overrideprotected |
| void mitk::BaseRenderer::RegisterLocalStorageHandler | ( | BaseLocalStorageHandler * | lsh | ) |
Register a local storage handler with this renderer.
| [in] | lsh | The local storage handler to register. |
Referenced by mitk::LocalStorageHandler< L >::GetLocalStorage().
| void mitk::BaseRenderer::RemoveAllLocalStorages | ( | ) |
Remove all registered local storages and notify observers via RendererResetEvent.
|
static |
Remove the BaseRenderer registration for the given vtkRenderWindow.
| [in] | renderWindow | The vtkRenderWindow whose registration should be removed. |
| void mitk::BaseRenderer::RequestUpdate | ( | ) |
Request an asynchronous rendering update for this render window via the RenderingManager.
Also constrains zooming and panning before requesting the update.
|
virtual |
Set a new size for the render window.
| [in] | w | Width in pixels. |
| [in] | h | Height in pixels. |
Reimplemented in mitk::VtkPropRenderer.
| void mitk::BaseRenderer::SendUpdateSlice | ( | ) |
Modify the update time of the current world plane geometry and force reslicing.
|
virtual |
Enable or disable constraining of zooming and panning.
When enabled, the camera controller is adjusted to fit the plane.
| [in] | constrain | True to constrain zooming and panning, false to allow free navigation. |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Set the DataStorage used by this renderer.
The DataStorage provides the data nodes whose contents are rendered. Also updates the dispatcher's data storage reference.
| [in] | storage | The DataStorage to use. If nullptr, no change is made. |
Reimplemented in mitk::VtkPropRenderer.
|
virtual |
Set the world time geometry using the geometry of the given event.
The function is triggered by a SliceNavigationController::GeometrySendEvent.
|
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.
|
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.
|
virtual |
Set the interaction reference world time geometry using the given TimeGeometry.
Setting a new interaction reference world time geometry also updates the alignment status of the reference geometry, which can be retrieved using 'GetReferenceGeometryAligned'. Using a nullptr as the interaction reference geomertry implies that no requirements on the geometry exist, thus in this case any check will result in 'ReferenceGeometryAligned' being true.
| geometry | The reference geometry used for render window interaction. |
|
virtual |
|
virtual |
Set the used mapperID.
Reimplemented in mitk::VtkPropRenderer.
|
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 current world plane geometry.
| void mitk::BaseRenderer::SetSliceNavigationController | ( | SliceNavigationController * | SlicenavigationController | ) |
Replace the current SliceNavigationController.
Copies the world geometry from the new controller, connects geometry events, and sets the renderer reference on the new controller.
| [in] | SlicenavigationController | The new SliceNavigationController. Ignored if nullptr. |
|
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 current world plane geometry.
|
inlinevirtual |
Set the world geometry so that it encompasses all objects in the DataStorage.
Reimplemented in mitk::VtkPropRenderer.
Definition at line 293 of file mitkBaseRenderer.h.
|
virtual |
Set the world time geometry using the given TimeGeometry.
Setting a new world time geometry updates the current world geometry and the current world plane geometry, using the currently selected slice and timestep.
| void mitk::BaseRenderer::UnregisterLocalStorageHandler | ( | BaseLocalStorageHandler * | lsh | ) |
Unregister a previously registered local storage handler.
| [in] | lsh | The local storage handler to unregister. |
Referenced by mitk::LocalStorageHandler< L >::ClearLocalStorage().
|
protectedpure virtual |
Implemented in mitk::VtkPropRenderer.
|
protected |
|
virtual |
Set the current world plane geometry using the existing current world geometry.
The function is triggered by a SliceNavigationController::GeometryUpdateEvent.
| void mitk::BaseRenderer::WorldToDisplay | ( | const Point3D & | worldIndex, |
| Point2D & | displayPoint | ||
| ) | const |
Convert a 3D world coordinate to a 2D display point.
| [in] | worldIndex | 3D world coordinate. |
| [out] | displayPoint | The resulting 2D display coordinate in pixels. |
Convert a 3D world coordinate to a 2D viewport point.
The viewport point is in pixels relative to the VTK viewport origin.
| [in] | worldIndex | 3D world coordinate. |
| [out] | viewPoint | The resulting 2D viewport coordinate in pixels. |
|
static |
Static map holding all registered BaseRenderer instances, keyed by their vtkRenderWindow.
Definition at line 74 of file mitkBaseRenderer.h.
|
protected |
Definition at line 676 of file mitkBaseRenderer.h.
|
protected |
Definition at line 607 of file mitkBaseRenderer.h.
|
protected |
Definition at line 608 of file mitkBaseRenderer.h.
|
protected |
Definition at line 686 of file mitkBaseRenderer.h.
|
protected |
Definition at line 670 of file mitkBaseRenderer.h.
|
protected |
Definition at line 671 of file mitkBaseRenderer.h.
|
protected |
Definition at line 672 of file mitkBaseRenderer.h.
|
protected |
Definition at line 604 of file mitkBaseRenderer.h.
|
protected |
Definition at line 678 of file mitkBaseRenderer.h.
|
protected |
Definition at line 605 of file mitkBaseRenderer.h.
|
protected |
Definition at line 603 of file mitkBaseRenderer.h.
|
protected |
Definition at line 674 of file mitkBaseRenderer.h.
|
protected |
Definition at line 682 of file mitkBaseRenderer.h.
|
protected |
Definition at line 684 of file mitkBaseRenderer.h.
|
protected |
Definition at line 600 of file mitkBaseRenderer.h.
|
protected |
Definition at line 609 of file mitkBaseRenderer.h.
|
protected |
Definition at line 601 of file mitkBaseRenderer.h.