provides a view of the vtkContextScene. More...
#include <vtkContextView.h>
Public Types | |
| typedef vtkRenderViewBase | Superclass |
Public Types inherited from vtkRenderViewBase | |
| typedef vtkView | Superclass |
Public Types inherited from vtkView | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual int | IsA (const char *type) |
| vtkContextView * | NewInstance () const |
| virtual void | SetContext (vtkContext2D *context) |
| virtual vtkContext2D * | GetContext () |
| virtual void | SetScene (vtkContextScene *scene) |
| virtual vtkContextScene * | GetScene () |
Public Member Functions inherited from vtkRenderViewBase | |
| vtkRenderViewBase * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual vtkRenderer * | GetRenderer () |
| virtual void | SetRenderer (vtkRenderer *ren) |
| virtual vtkRenderWindow * | GetRenderWindow () |
| virtual void | SetRenderWindow (vtkRenderWindow *win) |
| virtual void | Render () |
| virtual void | ResetCamera () |
| virtual void | ResetCameraClippingRange () |
| virtual vtkRenderWindowInteractor * | GetInteractor () |
| virtual void | SetInteractor (vtkRenderWindowInteractor *) |
Public Member Functions inherited from vtkView | |
| vtkView * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| void | AddRepresentation (vtkDataRepresentation *rep) |
| void | SetRepresentation (vtkDataRepresentation *rep) |
| vtkDataRepresentation * | AddRepresentationFromInputConnection (vtkAlgorithmOutput *conn) |
| vtkDataRepresentation * | SetRepresentationFromInputConnection (vtkAlgorithmOutput *conn) |
| vtkDataRepresentation * | AddRepresentationFromInput (vtkDataObject *input) |
| vtkDataRepresentation * | SetRepresentationFromInput (vtkDataObject *input) |
| void | RemoveRepresentation (vtkDataRepresentation *rep) |
| void | RemoveRepresentation (vtkAlgorithmOutput *rep) |
| void | RemoveAllRepresentations () |
| int | GetNumberOfRepresentations () |
| vtkDataRepresentation * | GetRepresentation (int index=0) |
| bool | IsRepresentationPresent (vtkDataRepresentation *rep) |
| virtual void | Update () |
| virtual void | ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme)) |
| vtkCommand * | GetObserver () |
| void | RegisterProgress (vtkObject *algorithm, const char *message=NULL) |
| void | UnRegisterProgress (vtkObject *algorithm) |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkContextView * | SafeDownCast (vtkObjectBase *o) |
| static vtkContextView * | New () |
Static Public Member Functions inherited from vtkRenderViewBase | |
| static vtkRenderViewBase * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkRenderViewBase * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkView | |
| static vtkView * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkView * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkContextView () | |
| ~vtkContextView () | |
Protected Member Functions inherited from vtkRenderViewBase | |
| vtkRenderViewBase () | |
| ~vtkRenderViewBase () | |
| virtual void | PrepareForRendering () |
Protected Member Functions inherited from vtkView | |
| vtkView () | |
| ~vtkView () | |
| virtual vtkDataRepresentation * | CreateDefaultRepresentation (vtkAlgorithmOutput *conn) |
| virtual void | ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData) |
| virtual void | AddRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep)) |
| virtual void | RemoveRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep)) |
| virtual void | SetReuseSingleRepresentation (bool) |
| virtual bool | GetReuseSingleRepresentation () |
| virtual void | ReuseSingleRepresentationOn () |
| virtual void | ReuseSingleRepresentationOff () |
Protected Attributes | |
| vtkSmartPointer< vtkContextScene > | Scene |
| vtkSmartPointer< vtkContext2D > | Context |
Protected Attributes inherited from vtkRenderViewBase | |
| vtkSmartPointer< vtkRenderer > | Renderer |
| vtkSmartPointer< vtkRenderWindow > | RenderWindow |
Protected Attributes inherited from vtkView | |
| bool | ReuseSingleRepresentation |
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 43 of file vtkContextView.h.
Definition at line 47 of file vtkContextView.h.
|
protected |
|
protected |
| void vtkContextView::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
|
static |
|
virtual |
Reimplemented from vtkRenderViewBase.
|
static |
|
protectedvirtual |
Reimplemented from vtkRenderViewBase.
| vtkContextView* vtkContextView::NewInstance | ( | ) | const |
|
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 67 of file vtkContextView.h.
|
protected |
Definition at line 68 of file vtkContextView.h.
1.8.6