open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Loading...
Searching...
No Matches
Signals | Public Member Functions | List of all members
iARenderer Class Referenceabstract

Class encapsulating a main and a label renderer for displaying 3D objects, and displaying several helper widgets for a 3D vtk rendering window. More...

#include <iARenderer.h>

Inheritance diagram for iARenderer:
[legend]
Collaboration diagram for iARenderer:
[legend]

Signals

void cellsSelected (vtkPoints *selCellPoints)
 
void noCellsSelected ()
 
void onSetCamera ()
 

Public Member Functions

 iARenderer (QObject *parent)
 
virtual ~iARenderer ()
 
virtual void adaptSceneBoundsToNewObject (iAAABB const &newObjectBox)=0
 adapts the bounds of the scene according to the given bounding box; adapts axes markers, plane indicators etc.
 
virtual void addRenderer (vtkRenderer *renderer)=0
 Adds a custom renderer to the render window.
 
virtual void applySettings (iARenderSettings const &settings, bool slicePlaneVisibility[3])=0
 Apply the given settings to the renderer.
 
virtual iARenderObservergetRenderObserver ()=0
 Access to the renderer observer.
 
virtual vtkRenderWindowInteractor * interactor ()=0
 Access to the render window interactor.
 
virtual vtkOpenGLRenderer * labelRenderer ()=0
 Access to "label" VTK renderer, used for text (which should be shown in front of volumes).
 
virtual vtkOpenGLRenderer * renderer ()=0
 Access to "main" VTK renderer, used for volumes etc.
 
virtual vtkRenderWindow * renderWindow ()=0
 Access to the render window.
 
virtual vtkActor * selectedActor ()=0
 Access to selected actor (when selection is enabled).
 
virtual void setDefaultInteractor ()=0
 Set the default interactor style.
 
virtual void update ()=0
 Update the view (to be called if something has changed in the underlying data which requires VTK to redraw the scene).
 
virtual vtkCamera * camera ()=0
 Get/Set the VTK camera object (shared by main and label renderer)
 
virtual void setCamera (vtkCamera *c)=0
 
virtual vtkPlane * plane1 ()=0
 Access to the slice planes.
 
virtual vtkPlane * plane2 ()=0
 
virtual vtkPlane * plane3 ()=0
 
virtual void setAxesTransform (vtkTransform *transform)=0
 Access to the transform of the coordinate system axis actor.
 
virtual vtkTransform * coordinateSystemTransform ()=0
 

Detailed Description

Class encapsulating a main and a label renderer for displaying 3D objects, and displaying several helper widgets for a 3D vtk rendering window.

Constructor & Destructor Documentation

◆ iARenderer()

iARenderer::iARenderer ( QObject *  parent)
inline

◆ ~iARenderer()

virtual iARenderer::~iARenderer ( )
inlinevirtual

Member Function Documentation

◆ adaptSceneBoundsToNewObject()

virtual void iARenderer::adaptSceneBoundsToNewObject ( iAAABB const &  newObjectBox)
pure virtual

adapts the bounds of the scene according to the given bounding box; adapts axes markers, plane indicators etc.

to be properly visible for an added object with the given bounding box

Implemented in iARendererImpl.

◆ addRenderer()

virtual void iARenderer::addRenderer ( vtkRenderer *  renderer)
pure virtual

Adds a custom renderer to the render window.

Implemented in iARendererImpl.

◆ applySettings()

virtual void iARenderer::applySettings ( iARenderSettings const &  settings,
bool  slicePlaneVisibility[3] 
)
pure virtual

Apply the given settings to the renderer.

Parameters
settingsdata holder for all settings.
slicePlaneVisibilityinitial visibility of the single slice planes (can be modified independently via showSlicePlanes as well).

Implemented in iARendererImpl.

◆ camera()

virtual vtkCamera * iARenderer::camera ( )
pure virtual

Get/Set the VTK camera object (shared by main and label renderer)

Implemented in iARendererImpl.

◆ cellsSelected

void iARenderer::cellsSelected ( vtkPoints *  selCellPoints)
signal

◆ coordinateSystemTransform()

virtual vtkTransform * iARenderer::coordinateSystemTransform ( )
pure virtual

Implemented in iARendererImpl.

◆ getRenderObserver()

virtual iARenderObserver * iARenderer::getRenderObserver ( )
pure virtual

Access to the renderer observer.

Implemented in iARendererImpl.

◆ interactor()

virtual vtkRenderWindowInteractor * iARenderer::interactor ( )
pure virtual

Access to the render window interactor.

Implemented in iARendererImpl.

◆ labelRenderer()

virtual vtkOpenGLRenderer * iARenderer::labelRenderer ( )
pure virtual

Access to "label" VTK renderer, used for text (which should be shown in front of volumes).

Implemented in iARendererImpl.

◆ noCellsSelected

void iARenderer::noCellsSelected ( )
signal

◆ onSetCamera

void iARenderer::onSetCamera ( )
signal

◆ plane1()

virtual vtkPlane * iARenderer::plane1 ( )
pure virtual

Access to the slice planes.

Implemented in iARendererImpl.

◆ plane2()

virtual vtkPlane * iARenderer::plane2 ( )
pure virtual

Implemented in iARendererImpl.

◆ plane3()

virtual vtkPlane * iARenderer::plane3 ( )
pure virtual

Implemented in iARendererImpl.

◆ renderer()

virtual vtkOpenGLRenderer * iARenderer::renderer ( )
pure virtual

Access to "main" VTK renderer, used for volumes etc.

Implemented in iARendererImpl.

◆ renderWindow()

virtual vtkRenderWindow * iARenderer::renderWindow ( )
pure virtual

Access to the render window.

Implemented in iARendererImpl.

◆ selectedActor()

virtual vtkActor * iARenderer::selectedActor ( )
pure virtual

Access to selected actor (when selection is enabled).

Currently only used in DynamicVolumeLines module)

Implemented in iARendererImpl.

◆ setAxesTransform()

virtual void iARenderer::setAxesTransform ( vtkTransform *  transform)
pure virtual

Access to the transform of the coordinate system axis actor.

Implemented in iARendererImpl.

◆ setCamera()

virtual void iARenderer::setCamera ( vtkCamera *  c)
pure virtual

Implemented in iARendererImpl.

◆ setDefaultInteractor()

virtual void iARenderer::setDefaultInteractor ( )
pure virtual

Set the default interactor style.

Implemented in iARendererImpl.

◆ update()

virtual void iARenderer::update ( )
pure virtual

Update the view (to be called if something has changed in the underlying data which requires VTK to redraw the scene).

Implemented in iARendererImpl.


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