Documentation


X3DTK::GL::MyGLBboxDrawArray Class Reference

#include <myGLBboxDrawArray.h>

List of all members.


Detailed Description

Class providing the arrays required by the glDrawElements() command for drawing a Bounding Box with corners.

Definition at line 19 of file myGLBboxDrawArray.h.

Public Member Functions

 MyGLBboxDrawArray ()
 Constructor.

unsigned int getBboxSize () const
 Gets the size of the Box, it means the number of vertices displayed.

const void * getBboxVertexArrayAddress () const
 Gets the address of the first element of the vertex array.

const unsigned intgetBboxIndexArrayAddress () const
 Gets the address of the first index.


Protected Attributes

const float h
MFVec3f _bboxVertexArray
std::vector< unsigned int_bboxIndexArray


Constructor & Destructor Documentation

X3DTK::GL::MyGLBboxDrawArray::MyGLBboxDrawArray  ) 
 

Constructor.

Definition at line 6 of file myGLBboxDrawArray.cpp.

References _bboxIndexArray, and _bboxVertexArray.


Member Function Documentation

const unsigned int * X3DTK::GL::MyGLBboxDrawArray::getBboxIndexArrayAddress  )  const
 

Gets the address of the first index.

Definition at line 66 of file myGLBboxDrawArray.cpp.

References _bboxIndexArray.

Referenced by X3DTK::GL::MyGLBbox::draw().

unsigned int X3DTK::GL::MyGLBboxDrawArray::getBboxSize  )  const
 

Gets the size of the Box, it means the number of vertices displayed.

Definition at line 56 of file myGLBboxDrawArray.cpp.

References _bboxIndexArray.

Referenced by X3DTK::GL::MyGLBbox::draw().

const void * X3DTK::GL::MyGLBboxDrawArray::getBboxVertexArrayAddress  )  const
 

Gets the address of the first element of the vertex array.

Definition at line 61 of file myGLBboxDrawArray.cpp.

References _bboxVertexArray.

Referenced by X3DTK::GL::MyGLBbox::draw().


Member Data Documentation

std::vector<unsigned int> X3DTK::GL::MyGLBboxDrawArray::_bboxIndexArray [protected]
 

Definition at line 35 of file myGLBboxDrawArray.h.

Referenced by getBboxIndexArrayAddress(), getBboxSize(), and MyGLBboxDrawArray().

MFVec3f X3DTK::GL::MyGLBboxDrawArray::_bboxVertexArray [protected]
 

Definition at line 34 of file myGLBboxDrawArray.h.

Referenced by getBboxVertexArrayAddress(), and MyGLBboxDrawArray().

const float X3DTK::GL::MyGLBboxDrawArray::h [protected]
 

Definition at line 33 of file myGLBboxDrawArray.h.


The documentation for this class was generated from the following files:
Generated on Thu Dec 23 13:52:34 2004 by doxygen 1.3.6