VTK
|
provides a vtkProp derived object. More...
#include <vtkContextActor.h>
Public Types | |
typedef vtkProp | Superclass |
Public Member Functions | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | IsA (const char *type) |
vtkContextActor * | NewInstance () const |
virtual int | RenderOverlay (vtkViewport *viewport) |
vtkContextScene * | GetScene () |
void | SetScene (vtkContextScene *scene) |
virtual void | ReleaseGraphicsResources (vtkWindow *window) |
vtkGetNewMacro (Context, vtkContext2D) | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkContextActor * | SafeDownCast (vtkObjectBase *o) |
static vtkContextActor * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkContextActor () | |
~vtkContextActor () | |
void | Initialize (vtkViewport *viewport) |
Protected Attributes | |
vtkSmartPointer< vtkContextScene > | Scene |
vtkNew< vtkContext2D > | Context |
vtkNew< vtkContext3D > | Context3D |
bool | Initialized |
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.
Definition at line 38 of file vtkContextActor.h.
typedef vtkProp vtkContextActor::Superclass |
Reimplemented from vtkProp.
Definition at line 42 of file vtkContextActor.h.
vtkContextActor::vtkContextActor | ( | ) | [protected] |
vtkContextActor::~vtkContextActor | ( | ) | [protected] |
void vtkContextActor::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkProp.
virtual vtkObjectBase* vtkContextActor::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkProp.
vtkContextActor* vtkContextActor::NewInstance | ( | ) | const |
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.
void vtkContextActor::SetScene | ( | vtkContextScene * | scene | ) |
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.
vtkSmartPointer<vtkContextScene> vtkContextActor::Scene [protected] |
Definition at line 73 of file vtkContextActor.h.
vtkNew<vtkContext2D> vtkContextActor::Context [protected] |
Definition at line 74 of file vtkContextActor.h.
vtkNew<vtkContext3D> vtkContextActor::Context3D [protected] |
Definition at line 75 of file vtkContextActor.h.
bool vtkContextActor::Initialized [protected] |
Definition at line 76 of file vtkContextActor.h.