open_iA 2025.6
Loading...
Searching...
No Matches
iAPolyObjectVisActor Class Reference

Displays data from objects in a class derived from iAColoredPolyObjectVis. More...

#include <iAPolyObjectVisActor.h>

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

Public Member Functions

 iAPolyObjectVisActor (vtkRenderer *ren, iAColoredPolyObjectVis *obj)
 create a new visualization of the given 3D object in the given renderer
 
 ~iAPolyObjectVisActor ()
 
vtkActor * actor ()
 retrieve actor that contains object (think of removing this method!)
 
void addClippingPlane (vtkPlane *p)
 add a clipping plane
 
void hide () override
 hide the object
 
void hideBoundingBox ()
 hide the object's bounding box
 
void removeClippingPlane (vtkPlane *p)
 remove a clipping plane
 
void setShowSimple (bool simple)
 switch between "simplest" vis (e.g. lines) and default complex vis (e.g. cylinder)
 
void setShowWireFrame (bool show)
 switch between "normal" surface display mode and wireframe display
 
void show () override
 show the object
 
void showBoundingBox ()
 show the object's bounding box
 
void updateMapper ()
 Triggers an update of the color mapper and the renderer.
 
void updateRenderer () override
 update the renderer displaying the object.
 
bool visible () const
 whether the object is currently shown
 
- Public Member Functions inherited from iAObjectVisActor
 iAObjectVisActor (vtkRenderer *ren)
 
void clearRenderer ()
 

Additional Inherited Members

- Signals inherited from iAObjectVisActor
void updated ()
 
- Protected Attributes inherited from iAObjectVisActor
vtkRenderer * m_ren
 

Detailed Description

Displays data from objects in a class derived from iAColoredPolyObjectVis.

Constructor & Destructor Documentation

◆ iAPolyObjectVisActor()

iAPolyObjectVisActor::iAPolyObjectVisActor ( vtkRenderer * ren,
iAColoredPolyObjectVis * obj )

create a new visualization of the given 3D object in the given renderer

Parameters
renthe VTK renderer to which the 3D object will be added
objthe polydata object that is dislayed

◆ ~iAPolyObjectVisActor()

iAPolyObjectVisActor::~iAPolyObjectVisActor ( )

Member Function Documentation

◆ actor()

vtkActor * iAPolyObjectVisActor::actor ( )

retrieve actor that contains object (think of removing this method!)

◆ addClippingPlane()

void iAPolyObjectVisActor::addClippingPlane ( vtkPlane * p)

add a clipping plane

◆ hide()

void iAPolyObjectVisActor::hide ( )
overridevirtual

hide the object

Reimplemented from iAObjectVisActor.

◆ hideBoundingBox()

void iAPolyObjectVisActor::hideBoundingBox ( )

hide the object's bounding box

◆ removeClippingPlane()

void iAPolyObjectVisActor::removeClippingPlane ( vtkPlane * p)

remove a clipping plane

◆ setShowSimple()

void iAPolyObjectVisActor::setShowSimple ( bool simple)

switch between "simplest" vis (e.g. lines) and default complex vis (e.g. cylinder)

◆ setShowWireFrame()

void iAPolyObjectVisActor::setShowWireFrame ( bool show)

switch between "normal" surface display mode and wireframe display

◆ show()

void iAPolyObjectVisActor::show ( )
overridevirtual

show the object

Reimplemented from iAObjectVisActor.

◆ showBoundingBox()

void iAPolyObjectVisActor::showBoundingBox ( )

show the object's bounding box

◆ updateMapper()

void iAPolyObjectVisActor::updateMapper ( )

Triggers an update of the color mapper and the renderer.

◆ updateRenderer()

void iAPolyObjectVisActor::updateRenderer ( )
overridevirtual

update the renderer displaying the object.

Reimplemented from iAObjectVisActor.

◆ visible()

bool iAPolyObjectVisActor::visible ( ) const

whether the object is currently shown


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