Logo Search packages:      
Sourcecode: eigen3 version File versions  Download package

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

GpuHelper Class Reference

List of all members.

Public Types

enum  ProjectionMode2D { PM_Normalized = 1, PM_Viewport = 2 }

Public Member Functions

void draw (GLenum mode, uint nofElement)
 draw the nofElement first elements
void draw (GLenum mode, uint start, uint end)
 draw a range of elements
void draw (GLenum mode, const std::vector< uint > *pIndexes)
 draw an indexed subset
void drawUnitCube (void)
void drawUnitSphere (int level=0)
void drawVector (const Vector3f &position, const Vector3f &vec, const Color &color, float aspect=50.)
void drawVectorBox (const Vector3f &position, const Vector3f &vec, const Color &color, float aspect=50.)
void forceMatrixTarget (GLenum matrixTarget)
template<typename Scalar , typename Derived >
void loadMatrix (const Eigen::CwiseNullaryOp< Eigen::internal::scalar_identity_op< Scalar >, Derived > &, GLenum matrixTarget)
template<typename Scalar , int _Flags>
void loadMatrix (const Eigen::Matrix< Scalar, 4, 4, _Flags, 4, 4 > &mat, GLenum matrixTarget)
template<typename Scalar , int _Flags>
void multMatrix (const Matrix< Scalar, 4, 4, _Flags, 4, 4 > &mat, GLenum matrixTarget)
void popMatrix (GLenum matrixTarget)
void popProjectionMode2D ()
void pushMatrix (GLenum matrixTarget)
template<typename Scalar , int _Flags>
void pushMatrix (const Matrix< Scalar, 4, 4, _Flags, 4, 4 > &mat, GLenum matrixTarget)
template<typename Scalar , typename Derived >
void pushMatrix (const Eigen::CwiseNullaryOp< Eigen::internal::scalar_identity_op< Scalar >, Derived > &, GLenum matrixTarget)
void pushProjectionMode2D (ProjectionMode2D pm)
void setMatrixTarget (GLenum matrixTarget)

Protected Member Functions

void update (void)

Protected Attributes

GLuint mColorBufferId
GLenum mCurrentMatrixTarget
bool mInitialized
int mVpHeight
int mVpWidth

Detailed Description

Definition at line 36 of file gpuhelper.h.


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

Generated by  Doxygen 1.6.0   Back to index