|
virtual std::vector< std::string > | GetClassHierarchy () const override |
|
virtual const char * | GetClassName () const |
|
void | SetPropertyKeys (vtkInformation *info) |
| Store/propagate vtkInformation during rendering. More...
|
|
int | Render (RenderType type) |
|
virtual void | PrepareRender () |
| This methods contains all method neceassary before a VTK Render() call. More...
|
|
virtual void | MakeCurrent () |
|
void | SetDataStorage (mitk::DataStorage *storage) override |
| set the datastorage that will be used for rendering More...
|
|
void | InitRenderer (vtkRenderWindow *renderwindow) override |
| Initialize the renderer with a RenderWindow (renderwindow). More...
|
|
virtual void | Update (mitk::DataNode *datatreenode) |
|
void | SetMapperID (const MapperSlotId mapperId) override |
| Set the MapperSlotId to use. More...
|
|
void | InitSize (int w, int h) override |
| Set the initial size. Called by RenderWindow after it has become visible for the first time. More...
|
|
void | Resize (int w, int h) override |
| Called to inform the renderer that the RenderWindow has been resized. More...
|
|
| itkSetEnumMacro (PickingMode, PickingMode) |
| Set the picking mode. This method is used to set the picking mode for 3D object picking. The user can select one of the three options WorldPointPicking, PointPicking and CellPicking. The first option uses the zBuffer from graphics rendering, the second uses the 3D points from the closest surface mesh, and the third option uses the cells of that mesh. The last option is the slowest, the first one the fastest. However, the first option cannot use transparent data object and the tolerance of the picked position to the selected point should be considered. PointPicking also need a tolerance around the picking position to select the closest point in the mesh. The CellPicker performs very well, if the foreground surface part (i.e. the surfacepart that is closest to the scene's cameras) needs to be picked. More...
|
|
| itkGetEnumMacro (PickingMode, PickingMode) |
|
void | PickWorldPoint (const Point2D &displayPoint, Point3D &worldPoint) const override |
| Perform a picking: find the x,y,z world coordinate of a display x,y coordinate. More...
|
|
mitk::DataNode * | PickObject (const Point2D &displayPosition, Point3D &worldPosition) const override |
| Determines the object (mitk::DataNode) closest to the current position by means of picking. More...
|
|
int | WriteSimpleText (std::string text, double posX, double posY, double color1=0.0, double color2=1.0, double color3=0.0, float opacity=1.0) |
| WriteSimpleText Write a text in a renderwindow. More...
|
|
vtkTextProperty * | GetTextLabelProperty (int text_id) |
| CGetTextLabelProperty an be used in order to get a vtkTextProperty for a specific text_id. This property enables the setup of font, font size, etc. More...
|
|
bool | SetWorldGeometryToDataStorageBounds () override |
|
void | InitPathTraversal () |
| Used by vtkPointPicker/vtkPicker. This will query a list of all objects in MITK and provide every vtk based mapper to the picker. More...
|
|
vtkAssemblyPath * | GetNextPath () |
| Used by vtkPointPicker/vtkPicker. This will query a list of all objects in MITK and provide every vtk based mapper to the picker. More...
|
|
int | GetNumberOfPaths () |
|
const vtkWorldPointPicker * | GetWorldPointPicker () const |
|
const vtkPointPicker * | GetPointPicker () const |
|
const vtkCellPicker * | GetCellPicker () const |
|
virtual void | ReleaseGraphicsResources (vtkWindow *renWin) |
| Release vtk-based graphics resources. Called by vtkMitkRenderProp::ReleaseGraphicsResources. More...
|
|
MappersMapType | GetMappersMap () const |
|
| BaseRenderer (const char *name=nullptr, vtkRenderWindow *renWin=nullptr) |
|
virtual DataStorage::Pointer | GetDataStorage () const |
|
vtkRenderWindow * | GetRenderWindow () const |
| Access the RenderWindow into which this renderer renders. More...
|
|
vtkRenderer * | GetVtkRenderer () const |
|
Dispatcher::Pointer | GetDispatcher () const |
| Returns the Dispatcher which handles Events for this BaseRenderer. More...
|
|
virtual void | Paint () |
| Do the rendering and flush the result. More...
|
|
virtual void | Initialize () |
| Initialize the RenderWindow. Should only be called from RenderWindow. More...
|
|
virtual void | DrawOverlayMouse (Point2D &p2d) |
| Draws a point on the widget. Should be used during conferences to show the position of the remote mouse. More...
|
|
virtual void | SetWorldGeometry3D (const BaseGeometry *geometry) |
| Set/Get the WorldGeometry (m_WorldGeometry) for 3D and 2D rendering, that describing the (maximal) area to be rendered. More...
|
|
virtual void | SetWorldTimeGeometry (const mitk::TimeGeometry *geometry) |
|
virtual const TimeGeometry * | GetWorldTimeGeometry () |
|
virtual const BaseGeometry * | GetCurrentWorldGeometry () |
| Get the current 3D-worldgeometry (m_CurrentWorldGeometry) used for 3D-rendering. More...
|
|
virtual const PlaneGeometry * | GetCurrentWorldPlaneGeometry () |
| Get the current 2D-worldgeometry (m_CurrentWorldPlaneGeometry) used for 2D-rendering. More...
|
|
const PlaneGeometry * | GetCurrentWorldGeometry2D () |
|
virtual void | SetSlice (unsigned int slice) |
| Set/Get m_Slice which defines together with m_TimeStep the 2D geometry stored in m_WorldTimeGeometry used as m_CurrentWorldPlaneGeometry. More...
|
|
virtual unsigned int | GetSlice () const |
|
virtual void | SetTimeStep (unsigned int timeStep) |
| Set/Get m_TimeStep which defines together with m_Slice the 2D geometry stored in m_WorldTimeGeometry used as m_CurrentWorldPlaneGeometry. More...
|
|
virtual unsigned int | GetTimeStep () const |
|
TimeStepType | GetTimeStep (const BaseData *data) const |
| Get the time-step 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 displayed content. More...
|
|
virtual void | SetGeometry (const itk::EventObject &geometrySliceEvent) |
| SetWorldGeometry is called according to the geometrySliceEvent, which is supposed to be a SliceNavigationController::GeometrySendEvent. More...
|
|
virtual void | UpdateGeometry (const itk::EventObject &geometrySliceEvent) |
| UpdateWorldGeometry is called to re-read the 2D geometry from the slice navigation controller. More...
|
|
virtual void | SetGeometrySlice (const itk::EventObject &geometrySliceEvent) |
| SetSlice is called according to the geometrySliceEvent, which is supposed to be a SliceNavigationController::GeometrySliceEvent. More...
|
|
virtual void | SetGeometryTime (const itk::EventObject &geometryTimeEvent) |
| SetTimeStep is called according to the geometrySliceEvent, which is supposed to be a SliceNavigationController::GeometryTimeEvent. More...
|
|
virtual DataNode * | GetCurrentWorldPlaneGeometryNode () |
| Get a DataNode pointing to a data object containing the current 2D-worldgeometry. More...
|
|
DataNode * | GetCurrentWorldGeometry2DNode () |
|
void | SendUpdateSlice () |
| Sets timestamp of CurrentWorldPlaneGeometry and forces so reslicing in that renderwindow. More...
|
|
unsigned long | GetCurrentWorldPlaneGeometryUpdateTime () |
| Get timestamp of last call of SetCurrentWorldPlaneGeometry. More...
|
|
unsigned long | GetCurrentWorldGeometry2DUpdateTime () |
|
unsigned long | GetTimeStepUpdateTime () |
| Get timestamp of last change of current TimeStep. More...
|
|
virtual MapperSlotId | GetMapperID () |
| Get the MapperSlotId to use. More...
|
|
virtual MapperSlotId | GetMapperID () const |
|
virtual int * | GetSize () const |
|
virtual int * | GetViewportSize () const |
|
void | SetSliceNavigationController (SliceNavigationController *SlicenavigationController) |
|
virtual CameraController * | GetCameraController () |
|
virtual SliceNavigationController * | GetSliceNavigationController () |
|
virtual CameraRotationController * | GetCameraRotationController () |
|
virtual bool | GetEmptyWorldGeometry () |
|
virtual bool | GetKeepDisplayedRegion () |
| Tells if the displayed region is shifted and rescaled if the render window is resized. More...
|
|
virtual void | SetKeepDisplayedRegion (bool _arg) |
| Tells if the displayed region should be shifted and rescaled if the render window is resized. More...
|
|
const char * | GetName () const |
| get the name of the Renderer More...
|
|
int | GetSizeX () const |
| get the x_size of the RendererWindow More...
|
|
int | GetSizeY () const |
| get the y_size of the RendererWindow More...
|
|
const double * | GetBounds () const |
|
void | RequestUpdate () |
|
void | ForceImmediateUpdate () |
|
unsigned int | GetNumberOfVisibleLODEnabledMappers () const |
|
void | DisplayToWorld (const Point2D &displayPoint, Point3D &worldIndex) const |
| This method converts a display point to the 3D world index using the geometry of the renderWindow. More...
|
|
void | DisplayToPlane (const Point2D &displayPoint, Point2D &planePointInMM) const |
| This method converts 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 |
| This method converts a 3D world index to the display point using the geometry of the renderWindow. More...
|
|
void | WorldToView (const Point3D &worldIndex, Point2D &viewPoint) const |
| This method converts 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 |
| This method converts a 2D plane coordinate to the display point using the geometry of the renderWindow. More...
|
|
void | PlaneToView (const Point2D &planePointInMM, Point2D &viewPoint) const |
| This method converts 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) |
|
virtual Point3D | Map2DRendererPositionTo3DWorldPosition (const Point2D &mousePosition) const |
| Provides (1) world coordinates for a given mouse position and (2) translates mousePosition to Display coordinates. More...
|
|
void | RemoveAllLocalStorages () |
|
void | RegisterLocalStorageHandler (mitk::BaseLocalStorageHandler *lsh) |
|
void | UnregisterLocalStorageHandler (mitk::BaseLocalStorageHandler *lsh) |
|
VtkPropRenderer.
VtkPropRenderer organizes the MITK rendering process. The MITK rendering process is completely integrated into the VTK rendering pipeline. The vtkMitkRenderProp is a custom vtkProp derived class, which implements the rendering interface between MITK and VTK. It redirects render() calls to the VtkPropRenderer, which is responsible for rendering of the datatreenodes. VtkPropRenderer replaces the old OpenGLRenderer.
- See also
- rendering
Definition at line 55 of file mitkVtkPropRenderer.h.