VTK
|
Open GL ray bounder. More...
#include <vtkOpenGLProjectedPolyDataRayBounder.h>
Public Types | |
typedef vtkProjectedPolyDataRayBounder | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | ReleaseGraphicsResources (vtkWindow *) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkOpenGLProjectedPolyDataRayBounder * | SafeDownCast (vtkObject *o) |
static vtkOpenGLProjectedPolyDataRayBounder * | New () |
Protected Member Functions | |
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 46 of file vtkOpenGLProjectedPolyDataRayBounder.h.
typedef vtkProjectedPolyDataRayBounder vtkOpenGLProjectedPolyDataRayBounder::Superclass |
Definition at line 49 of file vtkOpenGLProjectedPolyDataRayBounder.h.
vtkOpenGLProjectedPolyDataRayBounder::vtkOpenGLProjectedPolyDataRayBounder | ( | ) | [protected] |
vtkOpenGLProjectedPolyDataRayBounder::~vtkOpenGLProjectedPolyDataRayBounder | ( | ) | [protected] |
virtual const char* vtkOpenGLProjectedPolyDataRayBounder::GetClassName | ( | ) | [virtual] |
static int vtkOpenGLProjectedPolyDataRayBounder::IsTypeOf | ( | const char * | type | ) | [static] |
virtual int vtkOpenGLProjectedPolyDataRayBounder::IsA | ( | const char * | type | ) | [virtual] |
static vtkOpenGLProjectedPolyDataRayBounder* vtkOpenGLProjectedPolyDataRayBounder::SafeDownCast | ( | vtkObject * | o | ) | [static] |
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
void vtkOpenGLProjectedPolyDataRayBounder::ReleaseGraphicsResources | ( | vtkWindow * | ) |
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 66 of file vtkOpenGLProjectedPolyDataRayBounder.h.
Definition at line 67 of file vtkOpenGLProjectedPolyDataRayBounder.h.