#include <vtkRayBounder.h>
Inheritance diagram for vtkRayBounder:
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 &) |
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.
|
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. |
|
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. Implemented in vtkProjectedPolyDataRayBounder. |
|
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. |
|
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. |
|
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. |
|
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. |