#include <vtkContextActor.h>


This object provides the entry point for the vtkContextScene to be rendered in a vtkRenderer. Uses the RenderOverlay pass to render the 2D vtkContextScene.
Definition at line 34 of file vtkContextActor.h.
Public Types | |
| typedef vtkProp | Superclass |
Public Member Functions | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| virtual int | RenderOverlay (vtkViewport *viewport) |
| virtual void | SetContext (vtkContext2D *context) |
| virtual void | SetScene (vtkContextScene *scene) |
| virtual void | ReleaseGraphicsResources (vtkWindow *window) |
| virtual vtkContext2D * | GetContext () |
| virtual vtkContextScene * | GetScene () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkContextActor * | SafeDownCast (vtkObject *o) |
| static vtkContextActor * | New () |
Protected Member Functions | |
| vtkContextActor () | |
| ~vtkContextActor () | |
| void | Initialize (vtkViewport *viewport) |
Protected Attributes | |
| vtkContextScene * | Scene |
| vtkContext2D * | Context |
| bool | Initialized |
| typedef vtkProp vtkContextActor::Superclass |
| vtkContextActor::vtkContextActor | ( | ) | [protected] |
| vtkContextActor::~vtkContextActor | ( | ) | [protected] |
| void vtkContextActor::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
| virtual const char* vtkContextActor::GetClassName | ( | ) | [virtual] |
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.
| static vtkContextActor* vtkContextActor::SafeDownCast | ( | vtkObject * | o | ) | [static] |
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.
| virtual void vtkContextActor::SetContext | ( | vtkContext2D * | context | ) | [virtual] |
Set the vtkContext2D for the actor.
| virtual vtkContext2D* vtkContextActor::GetContext | ( | ) | [virtual] |
Set/Get the vtk2DPainter.
| virtual vtkContextScene* vtkContextActor::GetScene | ( | ) | [virtual] |
Get the chart object for the Actor.
| virtual void vtkContextActor::SetScene | ( | vtkContextScene * | scene | ) | [virtual] |
Set the chart object 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.
vtkContextScene* vtkContextActor::Scene [protected] |
Definition at line 74 of file vtkContextActor.h.
vtkContext2D* vtkContextActor::Context [protected] |
Definition at line 75 of file vtkContextActor.h.
bool vtkContextActor::Initialized [protected] |
Definition at line 76 of file vtkContextActor.h.
1.5.6