#include <vtkContextView.h>
This class is derived from vtkRenderView and provides a view of a vtkContextScene, with a default interactor style, renderer etc.
Definition at line 38 of file vtkContextView.h.
Public Types | |
typedef vtkRenderView | Superclass |
Public Member Functions | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | SetContext (vtkContext2D *context) |
virtual void | SetInteractionMode (int mode) |
virtual void | SetScene (vtkContextScene *scene) |
virtual void | Render () |
virtual vtkContext2D * | GetContext () |
virtual vtkContextScene * | GetScene () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkContextView * | SafeDownCast (vtkObject *o) |
static vtkContextView * | New () |
Protected Member Functions | |
vtkContextView () | |
~vtkContextView () | |
Protected Attributes | |
vtkContextScene * | Scene |
vtkContext2D * | Context |
vtkContextView::vtkContextView | ( | ) | [protected] |
vtkContextView::~vtkContextView | ( | ) | [protected] |
void vtkContextView::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 vtkRenderView.
virtual const char* vtkContextView::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkRenderView.
static int vtkContextView::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 vtkRenderView.
virtual int vtkContextView::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 vtkRenderView.
static vtkContextView* vtkContextView::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkRenderView.
static vtkContextView* vtkContextView::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkRenderView.
virtual void vtkContextView::SetContext | ( | vtkContext2D * | context | ) | [virtual] |
Set the vtkContext2D for the view.
virtual vtkContext2D* vtkContextView::GetContext | ( | ) | [virtual] |
Get the vtkContext2D for the view.
virtual void vtkContextView::SetInteractionMode | ( | int | mode | ) | [virtual] |
Set the interaction mode, defaults to 2D here.
Reimplemented from vtkRenderView.
virtual vtkContextScene* vtkContextView::GetScene | ( | ) | [virtual] |
Get the scene of the view.
virtual void vtkContextView::SetScene | ( | vtkContextScene * | scene | ) | [virtual] |
Set the scene object for the view.
virtual void vtkContextView::Render | ( | ) | [virtual] |
Updates the representations, then calls Render() on the render window associated with this view.
Reimplemented from vtkRenderView.
vtkContextScene* vtkContextView::Scene [protected] |
Definition at line 73 of file vtkContextView.h.
vtkContext2D* vtkContextView::Context [protected] |
Definition at line 74 of file vtkContextView.h.