|
template<typename V > |
void | drawCone (const V &p1, const V &p2, const float &radius1, const float &radius2, const int subd=8) |
|
template<typename V > |
void | drawCylinder (const V &p1, const V &p2, const float &rad, const int subd=8) |
|
template<typename V > |
void | drawArrow (const V &p1, const V &p2, const float &rad, const int subd=8) |
|
template<typename V > |
void | drawSphere (const V ¢er, const float &rad, const int subd1=8, const int subd2=8) |
|
template<typename V > |
void | drawEllipsoid (const V ¢er, const float &radx, const float &rady, const float &radz, const int subd1=8, const int subd2=8) |
|
template<typename V > |
void | drawWireSphere (const V ¢er, const float &rad, const int subd1=8, const int subd2=8) |
|
template<typename V > |
void | drawTorus (const float *coordinateMatrix, const float &bodyRad=0.0, const float &rad=1.0, const int precision=20, const V &color=sofa::type::fixed_array< int, 3 >(255, 215, 180)) |
|
template<typename V > |
void | drawEmptyParallelepiped (const V &vert1, const V &vert2, const V &vert3, const V &vert4, const V &vecFromFaceToOppositeFace, const float &rad=1.0, const int precision=8, const V &color=sofa::type::RGBAColor::red()) |
|
SOFA_GL_API void | glfntInit (void) |
|
SOFA_GL_API void | glfntWriteBitmap (float x, float y, char *s) |
|
SOFA_GL_API void | glfntClose (void) |
|
std::string | CombineHeaders (std::string header, const std::string &shaderStage, std::string source) |
|
SOFA_GL_API void | init () |
| Initialize the Sofa.GL library, as well as its dependencies: SofaDefaultType, SofaHelper. More...
|
|
SOFA_GL_API bool | isInitialized () |
| Return true if and only if the Sofa.GL library has been initialized. More...
|
|
SOFA_GL_API void | cleanup () |
| Clean up the resources used by the Sofa.GL library, as well as its dependencies: SofaDefaultType, SofaHelper. More...
|
|
SOFA_GL_API bool | isCleanedUp () |
| Return true if and only if the Sofa.GL library has been cleaned up. More...
|
|
template<int N> |
void | glVertexNv (const float *) |
|
template<> |
void | glVertexNv< 3 > (const float *p) |
|
template<> |
void | glVertexNv< 2 > (const float *p) |
|
template<> |
void | glVertexNv< 1 > (const float *p) |
|
template<int N> |
void | glVertexNv (const double *p) |
|
template<> |
void | glVertexNv< 2 > (const double *p) |
|
template<> |
void | glVertexNv< 1 > (const double *p) |
|
template<class Coord > |
void | glVertexT (const Coord &c) |
|
template<> |
void | glVertexT< double > (const double &c) |
|
template<> |
void | glVertexT< float > (const float &c) |
|
template<int N> |
void | glTexCoordNv (const float *) |
|
template<> |
void | glTexCoordNv< 3 > (const float *p) |
|
template<> |
void | glTexCoordNv< 2 > (const float *p) |
|
template<> |
void | glTexCoordNv< 1 > (const float *p) |
|
template<int N> |
void | glTexCoordNv (const double *p) |
|
template<> |
void | glTexCoordNv< 2 > (const double *p) |
|
template<> |
void | glTexCoordNv< 1 > (const double *p) |
|
template<class Coord > |
void | glTexCoordT (const Coord &c) |
|
template<> |
void | glTexCoordT< double > (const double &c) |
|
template<> |
void | glTexCoordT< float > (const float &c) |
|
template<int N> |
void | glNormalNv (const float *p) |
|
template<> |
void | glNormalNv< 2 > (const float *p) |
|
template<> |
void | glNormalNv< 1 > (const float *p) |
|
template<int N> |
void | glNormalNv (const double *p) |
|
template<> |
void | glNormalNv< 2 > (const double *p) |
|
template<> |
void | glNormalNv< 1 > (const double *p) |
|
template<class Coord > |
void | glNormalT (const Coord &c) |
|
template<> |
void | glNormalT< double > (const double &c) |
|
template<> |
void | glNormalT< float > (const float &c) |
|
void | glTranslate (const float &c1, const float &c2, const float &c3) |
|
void | glTranslate (const double &c1, const double &c2, const double &c3) |
|
template<int N> |
void | glTranslateNv (const float *p) |
|
template<> |
void | glTranslateNv< 2 > (const float *p) |
|
template<> |
void | glTranslateNv< 1 > (const float *p) |
|
template<int N> |
void | glTranslateNv (const double *p) |
|
template<> |
void | glTranslateNv< 2 > (const double *p) |
|
template<> |
void | glTranslateNv< 1 > (const double *p) |
|
template<class Coord > |
void | glTranslateT (const Coord &c) |
|
template<> |
void | glTranslateT< double > (const double &c) |
|
template<> |
void | glTranslateT< float > (const float &c) |
|
void | glScale (const float &c1, const float &c2, const float &c3) |
|
void | glScale (const double &c1, const double &c2, const double &c3) |
|
void | glRotate (const GLfloat &value, const float &c1, const float &c2, const float &c3) |
|
void | glRotate (const GLdouble &value, const double &c1, const double &c2, const double &c3) |
|
void | glMultMatrix (const float *p) |
|
void | glMultMatrix (const double *p) |
|