vtkRenderView Class Reference

#include <vtkRenderView.h>

Inheritance diagram for vtkRenderView:

Inheritance graph
[legend]
Collaboration diagram for vtkRenderView:

Collaboration graph
[legend]

List of all members.


Detailed Description

A view containing a renderer.

vtkRenderView is a view which contains a vtkRenderer. You may add vtkActors directly to the renderer, or add certain vtkDataRepresentation subclasses to the renderer. The render view supports drag selection with the mouse to select cells.

This class is also the parent class for any more specialized view which uses a renderer.

Tests:
vtkRenderView (Tests)

Definition at line 46 of file vtkRenderView.h.


Public Types

enum  { SURFACE = 0, FRUSTUM = 1 }
typedef vtkView Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetupRenderWindow (vtkRenderWindow *win)
vtkRenderWindowGetRenderWindow ()
virtual void ApplyViewTheme (vtkViewTheme *theme)
virtual void Update ()
virtual void SetSelectionMode (int)
virtual int GetSelectionMode ()
void SetSelectionModeToSurface ()
void SetSelectionModeToFrustum ()
virtual vtkRendererGetRenderer ()

Static Public Member Functions

static vtkRenderViewNew ()
static int IsTypeOf (const char *type)
static vtkRenderViewSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkRenderView ()
 ~vtkRenderView ()
virtual void PrepareForRendering ()
virtual void ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData)
virtual void RepresentationSelectionChanged (vtkDataRepresentation *rep, vtkSelection *selection)
virtual vtkInteractorStyleGetInteractorStyle ()
void SetInteractorStyle (vtkInteractorStyle *style)

Protected Attributes

vtkRendererRenderer
vtkInteractorStyleInteractorStyle
int SelectionMode

Member Typedef Documentation

Reimplemented from vtkView.

Reimplemented in vtkGraphLayoutView, vtkTreeLayoutView, and vtkTreeMapView.

Definition at line 50 of file vtkRenderView.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
SURFACE 
FRUSTUM 

Definition at line 73 of file vtkRenderView.h.


Constructor & Destructor Documentation

vtkRenderView::vtkRenderView (  )  [protected]

vtkRenderView::~vtkRenderView (  )  [protected]


Member Function Documentation

static vtkRenderView* vtkRenderView::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkView.

Reimplemented in vtkGraphLayoutView, vtkTreeLayoutView, and vtkTreeMapView.

virtual const char* vtkRenderView::GetClassName (  )  [virtual]

Reimplemented from vtkView.

Reimplemented in vtkGraphLayoutView, vtkTreeLayoutView, and vtkTreeMapView.

static int vtkRenderView::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkView.

Reimplemented in vtkGraphLayoutView, vtkTreeLayoutView, and vtkTreeMapView.

virtual int vtkRenderView::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkView.

Reimplemented in vtkGraphLayoutView, vtkTreeLayoutView, and vtkTreeMapView.

static vtkRenderView* vtkRenderView::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkView.

Reimplemented in vtkGraphLayoutView, vtkTreeLayoutView, and vtkTreeMapView.

void vtkRenderView::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 vtkView.

Reimplemented in vtkGraphLayoutView, vtkTreeLayoutView, and vtkTreeMapView.

virtual vtkRenderer* vtkRenderView::GetRenderer (  )  [virtual]

Gets the renderer for this view.

virtual void vtkRenderView::SetupRenderWindow ( vtkRenderWindow win  )  [virtual]

Set up a render window to use this view. The superclass adds the renderer to the render window. Subclasses should override this to set interactor, etc.

Reimplemented in vtkGraphLayoutView, vtkTreeLayoutView, and vtkTreeMapView.

vtkRenderWindow* vtkRenderView::GetRenderWindow (  ) 

Get a handle to the render window.

virtual void vtkRenderView::ApplyViewTheme ( vtkViewTheme theme  )  [virtual]

Apply a theme to the view.

Reimplemented in vtkGraphLayoutView, vtkTreeLayoutView, and vtkTreeMapView.

virtual void vtkRenderView::Update (  )  [virtual]

Update the view.

Reimplemented from vtkView.

virtual void vtkRenderView::SetSelectionMode ( int   )  [virtual]

virtual int vtkRenderView::GetSelectionMode (  )  [virtual]

void vtkRenderView::SetSelectionModeToSurface (  )  [inline]

Definition at line 80 of file vtkRenderView.h.

void vtkRenderView::SetSelectionModeToFrustum (  )  [inline]

Definition at line 81 of file vtkRenderView.h.

virtual void vtkRenderView::ProcessEvents ( vtkObject caller,
unsigned long  eventId,
void *  callData 
) [protected, virtual]

Called to process events. Captures StartEvent events from the renderer and calls Update(). This may be overridden by subclasses to process additional events.

Reimplemented from vtkView.

Reimplemented in vtkGraphLayoutView, vtkTreeLayoutView, and vtkTreeMapView.

virtual void vtkRenderView::PrepareForRendering (  )  [inline, protected, virtual]

Called by the view when the renderer is about to render.

Reimplemented in vtkGraphLayoutView, vtkTreeLayoutView, and vtkTreeMapView.

Definition at line 96 of file vtkRenderView.h.

virtual void vtkRenderView::RepresentationSelectionChanged ( vtkDataRepresentation rep,
vtkSelection selection 
) [protected, virtual]

Called when a representation's selection changed.

virtual vtkInteractorStyle* vtkRenderView::GetInteractorStyle (  )  [protected, virtual]

Allow subclasses to change the interactor style.

void vtkRenderView::SetInteractorStyle ( vtkInteractorStyle style  )  [protected]

Allow subclasses to change the interactor style.


Member Data Documentation

Definition at line 111 of file vtkRenderView.h.

Definition at line 112 of file vtkRenderView.h.

Definition at line 113 of file vtkRenderView.h.


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

Generated on Sat Dec 27 13:47:33 2008 for VTK by  doxygen 1.5.6