vtkContextActor Class Reference

#include <vtkContextActor.h>

Inheritance diagram for vtkContextActor:

Inheritance graph
[legend]
Collaboration diagram for vtkContextActor:

Collaboration graph
[legend]

List of all members.


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 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 vtkContext2DGetContext ()
virtual vtkContextSceneGetScene ()

Static Public Member Functions

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

Protected Member Functions

 vtkContextActor ()
 ~vtkContextActor ()

Protected Attributes

vtkContextSceneScene
vtkContext2DContext

Member Typedef Documentation

Reimplemented from vtkProp.

Definition at line 38 of file vtkContextActor.h.


Constructor & Destructor Documentation

vtkContextActor::vtkContextActor (  )  [protected]

vtkContextActor::~vtkContextActor (  )  [protected]


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.

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.


Member Data Documentation

Definition at line 70 of file vtkContextActor.h.

Definition at line 71 of file vtkContextActor.h.


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

Generated on Mon Sep 27 18:20:39 2010 for VTK by  doxygen 1.5.6