class of a 3D rectangle that can be displayed with different rendering methods
void | textureRedraw () redraw with texture mapping |
void | buildFlat () create display list of flat display |
void | buildWireframe () create display list of wireframe display |
void | buildSolid () create display list of solid display |
Vec3 | getCenter () const get the centroid of the rectangle |
void | getSize (double &length, double &width) const get the two length sizes |
Vec3 | getVertex (const unsigned int i) const get vertex nb i (i<4) |
void | getTextureScale (double &s, double &t) const the texture scale coordinates |
void | setTextureScale (const double s, const double t) the texture scale coordinates |
virtual void | translate (const Vec3 translates the object |
virtual void | rotate (const Rotation3D& rotation) rotates the object |
virtual void | scale (const double scale) scales the object |
virtual void | redraw (Camera3D *) all graphics objects can be drawn |
virtual void | updateCenter (Vec3 Returns the graphic object center and weight |
virtual double | updateRadius (const Vec3 Returns the graphic object radius given its center |
void | flipNormals () change the normal direction for display |
virtual double | computeClosestDistance (DataTypes::MouseClick& mc) const The routine that allows the camera to select an object by computing the distance of an object from its radial line |
virtual void | setRedrawOrder (unsigned int order) set object redraw order for transparency sorting |
constructors
| |||
destructor
|
constructor
class of a 3D rectangle that can be displayed with different rendering methods
p1 - first diagonal point of the rectangle
p2 - first diagonal point of the rectangle
v1 - the direction of the first axis of the rectangle
v2 - the direction of the second axis of the rectangle
n - returned barycentric weight
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de