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

vtkRayBounder Class Reference

An abstract class for bounding rays. More...

#include <vtkRayBounder.h>

Inheritance diagram for vtkRayBounder:

Inheritance graph
[legend]
Collaboration diagram for vtkRayBounder:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual float * GetRayBounds (vtkRenderer *ren)=0
virtual void ReleaseGraphicsResources (vtkWindow *)

Static Public Methods

int IsTypeOf (const char *type)
vtkRayBounder * SafeDownCast (vtkObject *o)

Protected Methods

 vtkRayBounder ()
 ~vtkRayBounder ()
 vtkRayBounder (const vtkRayBounder &)
void operator= (const vtkRayBounder &)

Detailed Description

An abstract class for bounding rays.

Date:
2000/12/10 20:08:49
Revision:
1.13

vtkRayBounder is an abstract class for bounding view rays during ray casting. Each concrete subclass must have a GetRayBounds method which, given a renderer, produces a floating point array that is w*h*2 (w = width of viewport, h = height of viewport). For each pixel, this array contains the near and far clipping values for the corresponding ray. A value of -1 means no clipping should be performed on that ray.

See also:

Definition at line 65 of file vtkRayBounder.h.


Constructor & Destructor Documentation

vtkRayBounder::vtkRayBounder   [inline, protected]
 

Definition at line 83 of file vtkRayBounder.h.

vtkRayBounder::~vtkRayBounder   [inline, protected]
 

Definition at line 84 of file vtkRayBounder.h.

vtkRayBounder::vtkRayBounder const vtkRayBounder &    [inline, protected]
 

Definition at line 85 of file vtkRayBounder.h.


Member Function Documentation

virtual const char* vtkRayBounder::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 vtkObject.

Reimplemented in vtkMesaProjectedPolyDataRayBounder, vtkOpenGLProjectedPolyDataRayBounder, and vtkProjectedPolyDataRayBounder.

int vtkRayBounder::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 vtkObject.

Reimplemented in vtkMesaProjectedPolyDataRayBounder, vtkOpenGLProjectedPolyDataRayBounder, and vtkProjectedPolyDataRayBounder.

virtual int vtkRayBounder::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 vtkObject.

Reimplemented in vtkMesaProjectedPolyDataRayBounder, vtkOpenGLProjectedPolyDataRayBounder, and vtkProjectedPolyDataRayBounder.

vtkRayBounder* vtkRayBounder::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 vtkObject.

Reimplemented in vtkMesaProjectedPolyDataRayBounder, vtkOpenGLProjectedPolyDataRayBounder, and vtkProjectedPolyDataRayBounder.

virtual float* vtkRayBounder::GetRayBounds vtkRenderer   ren [pure virtual]
 

Get the ray bounds - a floating point array with two values for every pixel in the viewport. These values indicate near and far clipping distances, or -1 for no clipping.

Reimplemented in vtkProjectedPolyDataRayBounder.

virtual void vtkRayBounder::ReleaseGraphicsResources vtkWindow   [inline, virtual]
 

Release any graphics resources that are being consumed by this ray bounder. The parameter window could be used to determine which graphic resources to release.

Reimplemented in vtkMesaProjectedPolyDataRayBounder, and vtkOpenGLProjectedPolyDataRayBounder.

Definition at line 79 of file vtkRayBounder.h.

void vtkRayBounder::operator= const vtkRayBounder &    [inline, protected]
 

Definition at line 86 of file vtkRayBounder.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:58:19 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001