namespace yav class Rectangle3D : public Data3D, public Surface class of a 3D rectangle that can be displayed with different rendering methods
| | textureRedraw () redraw with texture mapping |
| | buildFlat () create display list of flat display |
| | buildWireframe () create display list of wireframe display |
| | buildSolid () create display list of solid display |
| | getCenter () const get the centroid of the rectangle |
| | getSize (double &length, double &width) const get the two length sizes |
| | getVertex (const unsigned int i) const get vertex nb i (i<4) |
| | getTextureScale (double &s, double &t) const the texture scale coordinates |
| | setTextureScale (const double s, const double t) the texture scale coordinates |
| | translate (const Vec3 translates the object |
| | rotate (const Rotation3D& rotation) rotates the object |
| | scale (const double scale) scales the object |
| | redraw (Camera3D *) all graphics objects can be drawn |
| | updateCenter (Vec3 Returns the graphic object center and weight |
| | updateRadius (const Vec3 Returns the graphic object radius given its center |
| | flipNormals () change the normal direction for display |
| | 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 |
| | 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
Vec3
bool updateDisplayList
bool flipNormal
constructors
Rectangle3D(Scene3D *scene=0, const Vec3
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
destructor
void textureRedraw()
void buildFlat()
void buildWireframe()
void buildSolid()
Vec3
void getSize(double &length, double &width) const
Vec3
void getTextureScale(double &s, double &t) const
void setTextureScale(const double s, const double t)
virtual void translate(const Vec3
virtual void rotate(const Rotation3D& rotation)
virtual void scale(const double scale)
virtual void redraw(Camera3D *)
virtual void updateCenter(Vec3
n - returned barycentric weight
virtual double updateRadius(const Vec3
void flipNormals()
virtual double computeClosestDistance(DataTypes::MouseClick& mc) const
virtual void setRedrawOrder(unsigned int order)
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