Class vtkAvogadroActor#

class vtkAvogadroActor : public vtkActor#

Wrap an Avogadro::Rendering::Scene in a vtkActor derived container so that it can be rendered in a standard VTK widget.

Author

Marcus D. Hanwell

Public Functions

vtkTypeMacro (vtkAvogadroActor, vtkActor) void PrintSelf(ostream &os

Required type macro. Print the state of the object.

int RenderOpaqueGeometry(vtkViewport *viewport)#

Render the opaque geometry.

int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)#

Render the translucent geometry.

int HasTranslucentPolygonalGeometry()#

Does the actor have translucent geometry?

double *GetBounds()#

Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). (The method GetBounds(double bounds[6]) is available from the superclass.)

void setScene(Avogadro::Rendering::Scene *scene)#

Set the scene on the actor, the actor assumes ownership of the scene.

inline Avogadro::Rendering::Scene *GetScene()#

Get the scene being rendered by the actor.

Public Members

vtkIndent indent#

Public Static Functions

static vtkAvogadroActor *New()#

Return a new instance of the vtkAvogadroActor.

Protected Functions

vtkAvogadroActor()#
~vtkAvogadroActor()#

Protected Attributes

Avogadro::Rendering::Scene *m_scene#
double m_bounds[6]#
bool m_initialized#