VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkOpenGLProjectedPolyDataRayBounder Class Reference

Open GL ray bounder. More...

#include <vtkOpenGLProjectedPolyDataRayBounder.h>

Inherits vtkProjectedPolyDataRayBounder.

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
 

Detailed Description

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

See also
vtkProjectedPolyDataRayBounder

Definition at line 46 of file vtkOpenGLProjectedPolyDataRayBounder.h.

Member Typedef Documentation

typedef vtkProjectedPolyDataRayBounder vtkOpenGLProjectedPolyDataRayBounder::Superclass

Definition at line 49 of file vtkOpenGLProjectedPolyDataRayBounder.h.

Constructor & Destructor Documentation

vtkOpenGLProjectedPolyDataRayBounder::vtkOpenGLProjectedPolyDataRayBounder ( )
protected
vtkOpenGLProjectedPolyDataRayBounder::~vtkOpenGLProjectedPolyDataRayBounder ( )
protected

Member Function Documentation

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

Member Data Documentation

GLuint vtkOpenGLProjectedPolyDataRayBounder::DisplayList
protected

Definition at line 66 of file vtkOpenGLProjectedPolyDataRayBounder.h.

float* vtkOpenGLProjectedPolyDataRayBounder::DepthRangeBuffer
protected

Definition at line 67 of file vtkOpenGLProjectedPolyDataRayBounder.h.


The documentation for this class was generated from the following file: