#include <Cylinder.h>

Public Member Functions | |
| Cylinder (SReal len=(SReal) 1) | |
| Cylinder (const Vector3 &len) | |
| Cylinder (const Vector3 ¢er, const Quaternion &orient, const Vector3 &length) | |
| Cylinder (const Vector3 ¢er, const double orient[4][4], const Vector3 &length) | |
| Cylinder (const double *mat, const Vector3 &length) | |
| Cylinder (const Vector3 ¢er, const Quaternion &orient, SReal length=(SReal) 1) | |
| Cylinder (const Vector3 ¢er, const double orient[4][4], SReal length=(SReal) 1) | |
| Cylinder (const double *mat, SReal length=(SReal) 1.0) | |
| ~Cylinder () | |
| void | update (const Vector3 ¢er, const Quaternion &orient=Quaternion()) |
| void | update (const Vector3 ¢er, const double orient[4][4]) |
| void | update (const double *mat) |
| void | draw () |
Static Public Member Functions | |
| static void | draw (const Vector3 ¢er, const Quaternion &orient, const Vector3 &length) |
| static void | draw (const Vector3 ¢er, const double orient[4][4], const Vector3 &length) |
| static void | draw (const double *mat, const Vector3 &length) |
| static void | draw (const Vector3 ¢er, const Quaternion &orient, SReal length=(SReal) 1) |
| static void | draw (const Vector3 ¢er, const double orient[4][4], SReal length=(SReal) 1) |
| static void | draw (const double *mat, SReal length=(SReal) 1.0) |
Private Member Functions | |
| void | initDraw () |
Static Private Member Functions | |
| static Cylinder * | get (const Vector3 &len) |
Private Attributes | |
| Vector3 | length |
| double | matTransOpenGL [16] |
| GLUquadricObj * | quadratic |
| GLuint | displayList |
Static Private Attributes | |
| static std::map< std::pair < std::pair< float, float > , float >, Cylinder * > | CylinderMap |
Definition at line 49 of file Cylinder.h.
| sofa::helper::gl::Cylinder::Cylinder | ( | const Vector3 & | len | ) |
| sofa::helper::gl::Cylinder::Cylinder | ( | const Vector3 & | center, | |
| const Quaternion & | orient, | |||
| const Vector3 & | length | |||
| ) |
| sofa::helper::gl::Cylinder::Cylinder | ( | const double * | mat, | |
| const Vector3 & | length | |||
| ) |
| sofa::helper::gl::Cylinder::Cylinder | ( | const Vector3 & | center, | |
| const Quaternion & | orient, | |||
| SReal | length = (SReal)1 | |||
| ) |
| sofa::helper::gl::Cylinder::~Cylinder | ( | ) |
| void sofa::helper::gl::Cylinder::draw | ( | const Vector3 & | center, | |
| const Quaternion & | orient, | |||
| SReal | length = (SReal)1 | |||
| ) | [static] |
| void sofa::helper::gl::Cylinder::draw | ( | const double * | mat, | |
| const Vector3 & | length | |||
| ) | [static] |
| void sofa::helper::gl::Cylinder::draw | ( | const Vector3 & | center, | |
| const Quaternion & | orient, | |||
| const Vector3 & | length | |||
| ) | [static] |
| void sofa::helper::gl::Cylinder::draw | ( | ) |
Definition at line 101 of file Cylinder.cpp.
References displayList, initDraw(), and matTransOpenGL.
Referenced by draw().
| void sofa::helper::gl::Cylinder::initDraw | ( | ) | [private] |
Definition at line 51 of file Cylinder.cpp.
References displayList, length, quadratic, and sofa::helper::gl::quadricDiscretisation.
Referenced by draw().
| void sofa::helper::gl::Cylinder::update | ( | const double * | mat | ) |
| void sofa::helper::gl::Cylinder::update | ( | const Vector3 & | center, | |
| const double | orient[4][4] | |||
| ) |
| void sofa::helper::gl::Cylinder::update | ( | const Vector3 & | center, | |
| const Quaternion & | orient = Quaternion() | |||
| ) |
Definition at line 145 of file Cylinder.cpp.
References matTransOpenGL, and sofa::helper::Quater< Real >::writeOpenGlMatrix().
Referenced by Cylinder(), and draw().
std::map< std::pair< std::pair< float, float >, float >, Cylinder * > sofa::helper::gl::Cylinder::CylinderMap [static, private] |
GLuint sofa::helper::gl::Cylinder::displayList [private] |
Vector3 sofa::helper::gl::Cylinder::length [private] |
double sofa::helper::gl::Cylinder::matTransOpenGL[16] [private] |
GLUquadricObj* sofa::helper::gl::Cylinder::quadratic [private] |
1.5.7.1