VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkContextActor Class Reference

provides a vtkProp derived object. More...

#include <vtkContextActor.h>

Inheritance diagram for vtkContextActor:
Inheritance graph
[legend]
Collaboration diagram for vtkContextActor:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkProp Superclass

Public Member Functions

void PrintSelf (ostream &os, vtkIndent indent)
virtual int IsA (const char *type)
vtkContextActorNewInstance () const
virtual int RenderOverlay (vtkViewport *viewport)
vtkContextSceneGetScene ()
void SetScene (vtkContextScene *scene)
virtual void ReleaseGraphicsResources (vtkWindow *window)
 vtkGetNewMacro (Context, vtkContext2D)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkContextActorSafeDownCast (vtkObjectBase *o)
static vtkContextActorNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkContextActor ()
 ~vtkContextActor ()
void Initialize (vtkViewport *viewport)

Protected Attributes

vtkSmartPointer< vtkContextSceneScene
vtkNew< vtkContext2DContext
vtkNew< vtkContext3DContext3D
bool Initialized

Detailed Description

provides a vtkProp derived object.

This object provides the entry point for the vtkContextScene to be rendered in a vtkRenderer. Uses the RenderOverlay pass to render the 2D vtkContextScene.

Tests:
vtkContextActor (Tests)

Definition at line 38 of file vtkContextActor.h.


Member Typedef Documentation

Reimplemented from vtkProp.

Definition at line 42 of file vtkContextActor.h.


Constructor & Destructor Documentation


Member Function Documentation

void vtkContextActor::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkProp.

static int vtkContextActor::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkProp.

virtual int vtkContextActor::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkProp.

Reimplemented from vtkProp.

virtual vtkObjectBase* vtkContextActor::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkProp.

Reimplemented from vtkProp.

static vtkContextActor* vtkContextActor::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

virtual int vtkContextActor::RenderOverlay ( vtkViewport viewport) [virtual]

We only render in the overlay for the context scene.

Reimplemented from vtkProp.

Get the vtkContext2D for the actor.

Get the chart object for the actor.

Set the scene for the actor.

virtual void vtkContextActor::ReleaseGraphicsResources ( vtkWindow window) [virtual]

Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkProp.

void vtkContextActor::Initialize ( vtkViewport viewport) [protected]

Initialize the actor - right now we just decide which device to initialize.


Member Data Documentation

Definition at line 73 of file vtkContextActor.h.

Definition at line 74 of file vtkContextActor.h.

Definition at line 75 of file vtkContextActor.h.

bool vtkContextActor::Initialized [protected]

Definition at line 76 of file vtkContextActor.h.


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