SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::helper::gl::Cylinder Class Reference

#include <Cylinder.h>

Public Member Functions

 Cylinder (SReal len=(SReal) 1)
 
 Cylinder (const Vector3 &len)
 
 Cylinder (const Vector3 &center, const Quaternion &orient, const Vector3 &length)
 
 Cylinder (const Vector3 &center, const double orient[4][4], const Vector3 &length)
 
 Cylinder (const double *mat, const Vector3 &length)
 
 Cylinder (const Vector3 &center, const Quaternion &orient, SReal length=(SReal) 1)
 
 Cylinder (const Vector3 &center, const double orient[4][4], SReal length=(SReal) 1)
 
 Cylinder (const double *mat, SReal length=(SReal) 1.0)
 
 ~Cylinder ()
 
void update (const Vector3 &center, const Quaternion &orient=Quaternion())
 
void update (const Vector3 &center, const double orient[4][4])
 
void update (const double *mat)
 
void draw ()
 

Static Public Member Functions

static void draw (const Vector3 &center, const Quaternion &orient, const Vector3 &length)
 
static void draw (const Vector3 &center, const double orient[4][4], const Vector3 &length)
 
static void draw (const double *mat, const Vector3 &length)
 
static void draw (const Vector3 &center, const Quaternion &orient, SReal length=(SReal) 1)
 
static void draw (const Vector3 &center, const double orient[4][4], SReal length=(SReal) 1)
 
static void draw (const double *mat, SReal length=(SReal) 1.0)
 
static void clear ()
 

Constructor details

sofa::helper::gl::Cylinder::Cylinder ( SReal  len = (SReal)1)
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 Vector3 center,
const double  orient[4][4],
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 ( const Vector3 center,
const double  orient[4][4],
SReal  length = (SReal)1 
)
sofa::helper::gl::Cylinder::Cylinder ( const double mat,
SReal  length = (SReal)1.0 
)
sofa::helper::gl::Cylinder::~Cylinder ( )

Function details

static void sofa::helper::gl::Cylinder::clear ( )
inlinestatic
void sofa::helper::gl::Cylinder::draw ( )
void sofa::helper::gl::Cylinder::draw ( const Vector3 center,
const Quaternion orient,
const Vector3 length 
)
static
void sofa::helper::gl::Cylinder::draw ( const Vector3 center,
const double  orient[4][4],
const Vector3 length 
)
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,
SReal  length = (SReal)1 
)
static
void sofa::helper::gl::Cylinder::draw ( const Vector3 center,
const double  orient[4][4],
SReal  length = (SReal)1 
)
static
void sofa::helper::gl::Cylinder::draw ( const double mat,
SReal  length = (SReal)1.0 
)
static
void sofa::helper::gl::Cylinder::update ( const Vector3 center,
const Quaternion orient = Quaternion() 
)
void sofa::helper::gl::Cylinder::update ( const Vector3 center,
const double  orient[4][4] 
)
void sofa::helper::gl::Cylinder::update ( const double mat)