VTK
|
Open GL ray bounder. More...
#include <vtkOpenGLProjectedPolyDataRayBounder.h>
Public Types | |
typedef vtkProjectedPolyDataRayBounder | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkOpenGLProjectedPolyDataRayBounder * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | ReleaseGraphicsResources (vtkWindow *) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkOpenGLProjectedPolyDataRayBounder * | SafeDownCast (vtkObjectBase *o) |
static vtkOpenGLProjectedPolyDataRayBounder * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkOpenGLProjectedPolyDataRayBounder () | |
~vtkOpenGLProjectedPolyDataRayBounder () | |
void | Build (vtkPolyData *pdata) |
float * | Draw (vtkRenderer *ren, vtkMatrix4x4 *matrix) |
Protected Attributes | |
GLuint | DisplayList |
float * | DepthRangeBuffer |
Open GL ray bounder.
vtkOpenGLProjectedPolyDataRayBounder is the specific Open GL implementation of the superclass vtkProjectedPolyDataRayBounder. It is responsible for building its own internal structure from the generic vtkPolyData structure (it builds a display list) and for rendering its internal structure and creating near and far depth buffers. It has no public methods, and should not be created directly - the New(); create the correct subclass given the current VTK_RENDERER
Definition at line 45 of file vtkOpenGLProjectedPolyDataRayBounder.h.
typedef vtkProjectedPolyDataRayBounder vtkOpenGLProjectedPolyDataRayBounder::Superclass |
Definition at line 48 of file vtkOpenGLProjectedPolyDataRayBounder.h.
static int vtkOpenGLProjectedPolyDataRayBounder::IsTypeOf | ( | const char * | type | ) | [static] |
virtual int vtkOpenGLProjectedPolyDataRayBounder::IsA | ( | const char * | type | ) | [virtual] |
static vtkOpenGLProjectedPolyDataRayBounder* vtkOpenGLProjectedPolyDataRayBounder::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
virtual vtkObjectBase* vtkOpenGLProjectedPolyDataRayBounder::NewInstanceInternal | ( | ) | const [protected, virtual] |
void vtkOpenGLProjectedPolyDataRayBounder::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
static vtkOpenGLProjectedPolyDataRayBounder* vtkOpenGLProjectedPolyDataRayBounder::New | ( | ) | [static] |
Construct a new vtkOpenGLProjectedPolyDataRayBounder. The depth range buffer is initially NULL and no display list has been created
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.
void vtkOpenGLProjectedPolyDataRayBounder::Build | ( | vtkPolyData * | pdata | ) | [protected] |
Create a display list from the poly data.
float* vtkOpenGLProjectedPolyDataRayBounder::Draw | ( | vtkRenderer * | ren, |
vtkMatrix4x4 * | matrix | ||
) | [protected] |
Render the display list and create the near and far buffers
GLuint vtkOpenGLProjectedPolyDataRayBounder::DisplayList [protected] |
Definition at line 65 of file vtkOpenGLProjectedPolyDataRayBounder.h.
Definition at line 66 of file vtkOpenGLProjectedPolyDataRayBounder.h.