Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkImager Class Reference

Renders into part of a ImageWindow. More...

#include <vtkImager.h>

Inheritance diagram for vtkImager:

Inheritance graph
[legend]
Collaboration diagram for vtkImager:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual int RenderOpaqueGeometry ()
virtual int RenderTranslucentGeometry ()
virtual int RenderOverlay ()
vtkImageWindowGetImageWindow ()
vtkWindowGetVTKWindow ()
void SetImageWindow (vtkImageWindow *win)
void SetVTKWindow (vtkWindow *win)
virtual void Erase ()
virtual vtkAssemblyPathPickProp (float selectionX, float selectionY)
virtual float GetPickedZ ()

Static Public Methods

vtkImager * New ()
int IsTypeOf (const char *type)
vtkImager * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImager ()
 ~vtkImager ()
 vtkImager (const vtkImager &)
void operator= (const vtkImager &)
virtual void StartPick (unsigned int pickFromSize)
virtual void UpdatePickId ()
virtual void DonePick ()
virtual unsigned int GetPickedId ()
virtual void DevicePickRender ()

Detailed Description

Renders into part of a ImageWindow.

Date:
2000/12/10 20:09:12
Revision:
1.18
Thanks:
Thanks to Matt Turek who developed this class.
vtkImager is the 2D counterpart to vtkRenderer. An Imager renders 2D actors into a viewport of an image window.

See also:
vtkImageWindow vtkViewport
Examples:
vtkImager (examples)


Member Function Documentation

virtual void vtkImager::Erase   [inline, virtual]
 

Erase the contents of the imager in the window.

virtual const char* vtkImager::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkViewport.

vtkImageWindow* vtkImager::GetImageWindow   [inline]
 

Get the image window that an imager is attached to.

virtual float vtkImager::GetPickedZ   [virtual]
 

Return the Z value for the last picked Prop.

Implements vtkViewport.

vtkWindow* vtkImager::GetVTKWindow   [inline, virtual]
 

Return the vtkWindow that owns this vtkViewport.

Implements vtkViewport.

virtual int vtkImager::IsA const char *    type [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 vtkViewport.

int vtkImager::IsTypeOf const char *    type [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 vtkViewport.

vtkImager* vtkImager::New   [static]
 

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

Reimplemented from vtkObject.

virtual vtkAssemblyPath* vtkImager::PickProp float    selectionX,
float    selectionY
[virtual]
 

Return the Prop that has the highest z value at the given x, y position in the viewport. Basically, the top most prop that renders the pixel at selectionX, selectionY will be returned. If no Props are there NULL is returned. This method selects from the Viewports Prop list.

Implements vtkViewport.

virtual int vtkImager::RenderOpaqueGeometry   [virtual]
 

Renders an imager. Passes Render message on the the imager's actor2D collection.

vtkImager* vtkImager::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkViewport.

void vtkImager::SetImageWindow vtkImageWindow   win
 

These set methods are used by the image window, and should not be used by anyone else. They do not reference count the window.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:26:50 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002