vtkContextView Class Reference

#include <vtkContextView.h>

Inheritance diagram for vtkContextView:

Inheritance graph
[legend]
Collaboration diagram for vtkContextView:

Collaboration graph
[legend]

List of all members.


Detailed Description

provides a view of the vtkContextScene.

This class is derived from vtkRenderView and provides a view of a vtkContextScene, with a default interactor style, renderer etc.

Examples:
vtkContextView (Examples)
Tests:
vtkContextView (Tests)

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

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkContextViewSafeDownCast (vtkObject *o)
static vtkContextViewNew ()

Protected Member Functions

 vtkContextView ()
 ~vtkContextView ()

Protected Attributes

vtkContextSceneScene
vtkContext2DContext

Member Typedef Documentation

Reimplemented from vtkRenderView.

Definition at line 42 of file vtkContextView.h.


Constructor & Destructor Documentation

vtkContextView::vtkContextView (  )  [protected]

vtkContextView::~vtkContextView (  )  [protected]


Member Function Documentation

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.


Member Data Documentation

Definition at line 73 of file vtkContextView.h.

Definition at line 74 of file vtkContextView.h.


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

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