|
VTK
|
provides a view of the vtkContextScene. More...
#include <vtkContextView.h>
Inherits vtkRenderViewBase.
Public Types | |
| typedef vtkRenderViewBase | 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 vtkContext2D * | GetContext () |
| virtual void | SetScene (vtkContextScene *scene) |
| 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 | |
| vtkSmartPointer< vtkContextScene > | Scene |
| vtkSmartPointer< vtkContext2D > | Context |
provides a view of the vtkContextScene.
This class is derived from vtkRenderViewBase and provides a view of a vtkContextScene, with a default interactor style, renderer etc. It is the simplest way to create a vtkRenderWindow and display a 2D scene inside of it.
By default the scene has a white background.
Definition at line 42 of file vtkContextView.h.
| typedef vtkRenderViewBase vtkContextView::Superclass |
Definition at line 46 of file vtkContextView.h.
|
protected |
|
protected |
| void vtkContextView::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
|
virtual |
|
static |
|
virtual |
|
static |
|
static |
|
virtual |
Set the vtkContext2D for the view.
|
virtual |
Get the vtkContext2D for the view.
|
virtual |
Set the scene object for the view.
|
virtual |
Get the scene of the view.
|
protected |
Definition at line 66 of file vtkContextView.h.
|
protected |
Definition at line 67 of file vtkContextView.h.
1.8.6