Main Page   Class Hierarchy   Compound List   Compound Members  

qglviewer::Frame Class Reference

A frame in 3D space (position and orientation), with possible displacement constraints. More...

Inherited by qglviewer::ManipulatedFrame.

List of all members.

Signals

void modified ()

Public Methods

 Frame ()
 Frame (const qglviewer::Vec &pos, const qglviewer::Quaternion &orien)
virtual ~Frame ()
Frame & operator= (const Frame &f)
virtual QDomElement domElement (const QString &name, QDomDocument &doc) const
virtual void initFromDOMElement (const QDomElement &de)
const GLdouble * matrix () const
void getMatrix (GLdouble m[4][4]) const
const GLdouble * worldMatrix () const
void getWorldMatrix (GLdouble m[4][4]) const
void setFromMatrix (const float m[4][4])
Composition of frames
A frame is always defined with respect to a given coordinate system. Default is the world coordinate system, corresponding to a NULL referenceFrame().

Setting the reference frame to non NULL will define the frame with respect to this reference frame. Hierarchical frame structures can then be represented in a tree, whose root would be the world coordinate system (NULL).

Frame * referenceFrame () const
void setReferenceFrame (Frame *const fr)
bool settingAsReferenceFrameWillCreateALoop (Frame *const fr)
Local frame translation and rotation
Methods to set and get the frame translation and rotation (defined with respect to the reference frame).

A frame is defined by its translation with respect to its reference frame, and then by a rotation of the coordinate system around the new translated origin. These values (translation and then rotation) are hence defined with respect to the local reference frame. Use position() and orientation() to get the world coordinates of the frame.

void setTranslation (const float x, const float y, const float z)
void setTranslation (const qglviewer::Vec &t)
void setRotation (const float x, const float y, const float z, const float a)
void setRotation (const qglviewer::Quaternion &q)
void setRotationAxisAngle (const float x, const float y, const float z, const float a)
void setTranslationAndRotation (const qglviewer::Vec &t, const qglviewer::Quaternion &q)
void getTranslation (float &x, float &y, float &z) const
qglviewer::Vec translation () const
void getRotation (float &x, float &y, float &z, float &a) const
qglviewer::Quaternion rotation () const
void translate (qglviewer::Vec &t)
void translate (const qglviewer::Vec &t)
void translate (float t[3])
void translate (float &x, float &y, float &z)
void translate (const float x, const float y, const float z)
void rotate (qglviewer::Quaternion &q)
void rotate (const qglviewer::Quaternion &q)
void rotate (float q[4])
void rotate (float &x, float &y, float &z, float &a)
void rotate (const float x, const float y, const float z, const float a)
World Coordinate position and orientation
Methods to set and restore the frame position and orientation (with respect to the world coordinate system).

position is the absolute position of the origin of the frame, and orientation then defines its orientation (as a rotation around the new translated frame origin).

Use translation() and rotation() to get the local (defined with respect to the referenceFrame) frame characteristics.

void setPosition (const float x, const float y, const float z)
void setPosition (const qglviewer::Vec &t)
void setOrientation (const qglviewer::Quaternion &q)
void setOrientation (const float x, const float y, const float z, const float a)
void setOrientationAxisAngle (const float x, const float y, const float z, const float a)
void setPositionAndOrientation (const qglviewer::Vec &t, const qglviewer::Quaternion &q)
qglviewer::Vec position () const
void getPosition (float &x, float &y, float &z) const
qglviewer::Quaternion orientation () const
void getOrientation (float &x, float &y, float &z, float &a) const
Coordinate system transformation of 3D points
A frame is as a new coordinate system, defined with respect to a reference frame (the world coordinate system by default, see the "Composition of frame" section).

The coordinatesOf() (resp. inverseCoordinatesOf()) functions transform a 3D point from (resp. to) the world coordinates system. This section defines the 3D point transformation functions. See the Coordinate system transformation of vectors below for the transformation of 3D vectors. The difference between the two sets of functions is simple : for vectors, only the rotational part of the transformations is taken into account, while translation is also considered for 3D points.

When local is prepended to the names of the functions, the functions simply transform from (and to) the reference frame.

When In (resp. From) is appended to the names, the functions transform from (and to) the frame that is given as an argument. The frame does not need to be in the same branch or the hierarchical tree, and can be NULL (the world coordinates system).

Combining any of these functions with its inverse (in any order) leads to the identity.

qglviewer::Vec coordinatesOf (const qglviewer::Vec &src) const
qglviewer::Vec inverseCoordinatesOf (const qglviewer::Vec &src) const
qglviewer::Vec localCoordinatesOf (const qglviewer::Vec &src) const
qglviewer::Vec localInverseCoordinatesOf (const qglviewer::Vec &src) const
qglviewer::Vec coordinatesOfIn (const qglviewer::Vec &src, const Frame *in) const
qglviewer::Vec coordinatesOfFrom (const qglviewer::Vec &src, const Frame *from) const
void getCoordinatesOf (const float src[3], float res[3]) const
void getInverseCoordinatesOf (const float src[3], float res[3]) const
void getLocalCoordinatesOf (const float src[3], float res[3]) const
void getLocalInverseCoordinatesOf (const float src[3], float res[3]) const
void getCoordinatesOfIn (const float src[3], float res[3], const Frame *in) const
void getCoordinatesOfFrom (const float src[3], float res[3], const Frame *from) const
Coordinate system transformation of vectors
A frame is as a new coordinate system, defined with respect to a reference frame (the world coordinate system by default, see the "Composition of frame" section).

The transformOf() (resp. inverseTransformOf()) functions transform a 3D vector from (resp. to) the world coordinates system. This section defines the 3D vector transformation functions. See the Coordinate system transformation of 3D points above for the transformation of 3D points. The difference between the two sets of functions is simple : for vectors, only the rotational part of the transformations is taken into account, while translation is also considered for 3D points.

The length of the resulting transformed vector is identical to the one of the source vector for all the described functions.

When local is prepended to the names of the functions, the functions simply transform from (and to) the reference frame.

When In (resp. From) is appended to the names, the functions transform from (and to) the frame that is given as an argument. The frame does not need to be in the same branch or the hierarchical tree, and can be NULL (the world coordinates system).

Combining any of these functions with its inverse (in any order) leads to the identity.

qglviewer::Vec transformOf (const qglviewer::Vec &src) const
qglviewer::Vec inverseTransformOf (const qglviewer::Vec &src) const
qglviewer::Vec localTransformOf (const qglviewer::Vec &src) const
qglviewer::Vec localInverseTransformOf (const qglviewer::Vec &src) const
qglviewer::Vec transformOfIn (const qglviewer::Vec &src, const Frame *in) const
qglviewer::Vec transformOfFrom (const qglviewer::Vec &src, const Frame *from) const
void getTransformOf (const float src[3], float res[3]) const
void getInverseTransformOf (const float src[3], float res[3]) const
void getLocalTransformOf (const float src[3], float res[3]) const
void getLocalInverseTransformOf (const float src[3], float res[3]) const
void getTransformOfIn (const float src[3], float res[3], const Frame *in) const
void getTransformOfFrom (const float src[3], float res[3], const Frame *from) const
qglviewer::Vec orientationOf (const qglviewer::Vec &src) const
qglviewer::Vec inverseOrientationOf (const qglviewer::Vec &src) const
Constraints on the displacement
A constraint can be attached to the frame to limit its displacement. The translate() and rotate() function will satisfy this constraint. Default value is a non-constraint constraint. See the Constraint() and derived class documentation.

Constraintconstraint () const
void setConstraint (Constraint *c)


Detailed Description

A frame in 3D space (position and orientation), with possible displacement constraints.

The position and orientation can be set and restored. Constraints can be attached to the frame in order to limit its displacements. A frame can be rotated and translated, with displacement constraints satisfied.


Constructor & Destructor Documentation

Frame  
 

Creates a default frame. Positionned in (0,0,0), with an identity rotation (0,0,0,1). The reference frame is set to NULL (meaning world coordinate system).

Frame const qglviewer::Vec   pos,
const qglviewer::Quaternion   orien
 

Creates an initialized frame, with a position and an orientation. The reference frame is set to NULL (meaning world coordinate system).

virtual ~Frame   [inline, virtual]
 

Virtual destructor. Empty.


Member Function Documentation

Constraint* constraint   const [inline]
 

Returns the current constraint. It is of type Constraint, or one of its derived classes. Consider using dynamic_cast.

Vec coordinatesOf const qglviewer::Vec   src const
 

This returns the frame coordinates of a point src defined in the world coordinate system (converts from world to frame).

If src is actually a vector, use the vector equivalent function transformOf() where only the rotationnal part of the transformation is taken into account.

inverseCoordinatesOf() performs the inverse transformation.

Vec coordinatesOfFrom const qglviewer::Vec   src,
const Frame *    from
const
 

This returns the frame coordinate system coordinates of the point whose position in the from coordinate system is src (converts from from to frame). from and the frame do not need to be located in the same branch of the frame tree hierarchy.

If src is actually a vector, use the vector equivalent function transformOfFrom() where only the rotationnal part of the transformation is taken into account.

coordinatesOfIn() performs the inverse transformation.

Vec coordinatesOfIn const qglviewer::Vec   src,
const Frame *    in
const
 

This returns the in coordinate system coordinates of the point whose position in the frame coordinate system is src (converts from frame to in). in and the frame do not need to be located in the same branch of the frame tree hierarchy.

If src is actually a vector, use the vector equivalent function transformOfIn() where only the rotationnal part of the transformation is taken into account.

coordinatesOfFrom() performs the inverse transformation.

QDomElement domElement const QString &    name,
QDomDocument &    doc
const [virtual]
 

Creates an XML QDomElement that represents the Frame. name is the name of the QDomElement tag. You need to provide the QDomDocument doc that will hold the resulting element. Typical usage would be:

 QDomDocument doc("myDocument");
 // ...
 AnyNode.addElement(sunFrame.domElement("sunFrame", doc));
 // ...
Use initFromDOMElement() to restore the Frame state from the resulting domElement.

See also Camera::domElement(), KeyFrameInterpolator::domElement()...

Attention:
The constraint() and referenceFrame() are not (yet) saved in the domElement.

Reimplemented in qglviewer::ManipulatedFrame.

void getCoordinatesOf const float    src[3],
float    res[3]
const
 

Same as coordinatesOf(), but with float parameters.

void getCoordinatesOfFrom const float    src[3],
float    res[3],
const Frame *    from
const
 

Same as coordinatesOfFrom(), but with float parameters.

void getCoordinatesOfIn const float    src[3],
float    res[3],
const Frame *    in
const
 

Same as coordinatesOfIn(), but with float parameters.

void getInverseCoordinatesOf const float    src[3],
float    res[3]
const
 

Same as inverseCoordinatesOf(), but with float parameters.

void getInverseTransformOf const float    src[3],
float    res[3]
const
 

Same as inverseTransformOf(), but with float parameters.

void getLocalCoordinatesOf const float    src[3],
float    res[3]
const
 

Same as localCoordinatesOf(), but with float parameters.

void getLocalInverseCoordinatesOf const float    src[3],
float    res[3]
const
 

Same as localInverseCoordinatesOf(), but with float parameters.

void getLocalInverseTransformOf const float    src[3],
float    res[3]
const
 

Same as localInverseTransformOf(), but with float parameters.

void getLocalTransformOf const float    src[3],
float    res[3]
const
 

Same as localTransformOf(), but with float parameters.

void getMatrix GLdouble    m[4][4] const
 

float[4][4] parameter version of matrix(). See also getWorldMatrix() and worldMatrix(). This function is very similar to Quaternion::getMatrix(), it simply includes the Frame translation in the last line.

void getOrientation float &    x,
float &    y,
float &    z,
float &    a
const
 

Get the current orientation of the frame (same as orientation()). Parameters are the orientation quaternion values. See also setOrientation() and setOrientationAxisAngle().

void getPosition float &    x,
float &    y,
float &    z
const
 

Get the current position of the frame (same as position()). See also setPosition().

void getRotation float &    x,
float &    y,
float &    z,
float &    a
const
 

Get the current rotation of the frame (same as rotation()). Parameters are the rotation quaternion values. See also setRotation() and setRotationAxisAngle().

void getTransformOf const float    src[3],
float    res[3]
const
 

Same as transformOf(), but with float parameters.

void getTransformOfFrom const float    src[3],
float    res[3],
const Frame *    from
const
 

Same as transformOfFrom(), but with float parameters.

void getTransformOfIn const float    src[3],
float    res[3],
const Frame *    in
const
 

Same as transformOfIn(), but with float parameters.

void getTranslation float &    x,
float &    y,
float &    z
const
 

Get the current local translation of the frame (same as translation()). See also setTranslation().

void getWorldMatrix GLdouble    m[4][4] const
 

float[4][4] parameter version of worldMatrix(). See also getMatrix() and matrix().

void initFromDOMElement const QDomElement &    de [virtual]
 

Restore the Frame state from a QDomElement created by domElement(). See Vec::initFromDOMElement() and Quaternion::initFromDOMElement() for details.

Attention:
The constraint() and referenceFrame() are not (yet) restored from the domElement.

Reimplemented in qglviewer::ManipulatedFrame.

Vec inverseCoordinatesOf const qglviewer::Vec   src const
 

This returns the world coordinates of the point whose position in the frame coordinate system is src (converts from frame to world).

If src is actually a vector, use the vector equivalent function inverseTransformOf() where only the rotationnal part of the transformation is taken into account.

coordinatesOf() performs the inverse transformation.

Vec inverseOrientationOf const qglviewer::Vec   src const
 

Attention:
Deprecated function. Use inverseTransformOf() instead.

Vec inverseTransformOf const qglviewer::Vec   src const
 

This returns the world transform of the vector whose coordinates in the frame coordinate system is src (converts from frame to world).

For vectors, only the rotationnal part of the transformation is taken into account, see inverseCoordinatesOf() for the point equivalent function.

transformOf() performs the inverse transformation.

Vec localCoordinatesOf const qglviewer::Vec   src const
 

Returns the frame coordinates of a point src defined in the reference frame (default is the world coordinates system, see referenceFrame()) (converts from reference frame to frame coordinates).

If src is actually a vector, use the vector equivalent function localTransformOf() where only the rotationnal part of the transformation is taken into account.

localInverseCoordinatesOf() performs the inverse transformation.

Vec localInverseCoordinatesOf const qglviewer::Vec   src const
 

Returns the reference frame coordinates (default is the world coordinates system, see referenceFrame()) of a point src defined in the frame coordinate system (converts from frame to reference frame coordinates).

If src is actually a vector, use the vector equivalent function localInverseTransformOf() where only the rotationnal part of the transformation is taken into account.

localCoordinatesOf() performs the inverse transformation.

Vec localInverseTransformOf const qglviewer::Vec   src const
 

Returns the reference frame transform (default is the world coordinates system, see referenceFrame()) of a vector src defined in the frame coordinate system (converts from frame to reference frame).

For vectors, only the rotationnal part of the transformation is taken into account, see localCoordinatesOf() for the point equivalent function.

localTransformOf() performs the inverse transformation.

Vec localTransformOf const qglviewer::Vec   src const
 

Returns the frame transform of a vector src defined in the reference frame (default is the world coordinates system, see referenceFrame()) (converts from reference frame to frame).

For vectors, only the rotationnal part of the transformation is taken into account, see localCoordinatesOf() for the point equivalent function.

localInverseTransformOf() performs the inverse transformation.

const GLdouble * matrix   const
 

Returns the current 4x4 frame matrix. Can be used with glMultMatrixd(fr.matrix()) or glLoadMatrixd(fr.matrix()). This matrix only represents the local transformation (see referenceFrame() for frame composition). Use getWorldMatrix() or worldMatrix() to have the full frame transformation matrix (i.e. from the world coordinate system).

worldMatrix() and matrix() will return identical results when the frame is not composed (referenceFrame() == NULL). See also getMatrix().

Attention:
The matrix is given in OpenGL format (row-major order) and is the transpose of the actual mathematical European representation. See the difference between Quaternion::getMatrix() and Quaternion::getRotationMatrix().
Attention:
The result is only valid until the next call to matrix(), getMatrix(), worldMatrix() or getWorldMatrix(). Use it immediately (as in glLoadMatrixd(fr.matrix()) or glLoadMatrixd(fr.matrix())) or store it in an other variable. Consider using getMatrix() if needed.

void modified   [signal]
 

This signal is emitted whenever the position or the orientation of the Frame is changed. Connect this signal to any object that must be notified.

      QObject::connect(myFrame, SIGNAL(modified()), myObject, SLOT(update()));

This signal can also be connected to all the viewers using QGLViewer::connectSignalToAllViewers().

Attention:
Note that connecting this signal to an updateGL() function will prevent you from modifying the frame inside your QGLViewer::draw() function. It will in fact create an infinite loop.

Frame & operator= const Frame &    f
 

operator= : referenceFrame() and constraint() pointers are copied.

Quaternion orientation   const
 

Returns the current frame orientation (defined with respect to the world coordinate system). See setOrientation().

Vec orientationOf const qglviewer::Vec   src const
 

Attention:
Deprecated function. Use transformOf() instead.

qglviewer::Vec position   const [inline]
 

Returns the current frame origin position (defined in the world coordinate system). See setPosition().

Frame* referenceFrame   const [inline]
 

Returns the current reference frame, defined with setReferenceFrame().

The frame is "child" of the referenceFrame(), meaning that its position and orientation are defined with respect to the referenceFrame(). A NULL referenceFrame() (default value) means that the frame is defined is the world coordinate system. Chaining frames like this allows you to easily create a hierarchy of frames.

Convenient functions allow you to convert 3D coordinates from one frame to an other : coordinatesOf(), localCoordinatesOf(), coordinatesOfIn() and their inverse functions.

Vectors can also be converted from one frame to an other using transformOf(), transformOfIn, localTransformOf() and the inverse functions.

A warning is printed if setting fr as a reference frame would create a loop in the frame hierarchy (see settingAsReferenceFrameWillCreateALoop()), as this hierarchy needs to be a tree.

void rotate const float    x,
const float    y,
const float    z,
const float    a
 

Same as rotate(), but with float parameters (quaternion values). Actual rotation may differ from these values in order to satisfy the rotation constraint(). Use the non-const parameter version of this function to get the filtered values back.

void rotate float &    x,
float &    y,
float &    z,
float &    a
 

Same as rotate(), but with float parameters (quaternion values). Parameters may be modified to satisfy rotation constraint(). See also the const parameter version of this function.

void rotate float    q[4]
 

Same as rotate(), but parameter is given as a float[4]. Quaternion q may be modified to satisfy rotation constraint().

void rotate const qglviewer::Quaternion   q
 

Compose current frame rotation with q (R = R*q). The actual rotation may differ from q in order to satisfy the rotation constraint(). Consider using the non-const parameter version of this function to get the filtered values back.

void rotate qglviewer::Quaternion   q
 

Compose current frame rotation with q (R = R*q). q may be modified to satisfy rotation constraint(). Use setConstraint() to (un)set rotationnal constraints. Emits the modified() signal.

qglviewer::Quaternion rotation   const [inline]
 

Returns the current quaternion orientation. See setRotation().

void setConstraint Constraint   c
 

Set the constraint attached with the frame. A NULL value means no constraint, i.e. a Constraint instance. The previous constraint pointer should be cleaned by the calling function if needed. Use constraint() to get this value.

void setFromMatrix const float    m[4][4]
 

Set the frame state from a matrix representation. Matrix has to be a proper row-major order transformation representation (rotation is in the upper left 3x3 matrix, while translation is on the last line). matrix() returns the current matrix value

void setOrientation const float    x,
const float    y,
const float    z,
const float    a
 

Same as setOrientation(), but with float parameters.

void setOrientation const qglviewer::Quaternion   q
 

Set the current orientation of the frame (with respect to the world coordinate system). See orientation().

void setOrientationAxisAngle const float    x,
const float    y,
const float    z,
const float    a
 

Set the current orientation of the frame. Parameters are the rotation axis vector and its angle (in radians).

void setPosition const qglviewer::Vec   t
 

Set the position of the origin of the frame, with respect to the world coordinate system. Use setTranslation() to defined to local frame translation (with respect to the reference frame). See also position() and orientation().

void setPosition const float    x,
const float    y,
const float    z
 

Same as setPosition(), but with float parameters.

void setPositionAndOrientation const qglviewer::Vec   t,
const qglviewer::Quaternion   q
 

Same as successive calls to setPosition() and then setOrientation().

Only one modified() signal is emitted, which is convenient if this signal is connected to a viewer updateGL() slot. See also setTranslationAndRotation().

void setReferenceFrame Frame *const    fr
 

Set the current reference frame. The frame then becomes a "child" of the referenceFrame(), meaning that its position and orientation are defined with respect to the referenceFrame().

void setRotation const qglviewer::Quaternion   q [inline]
 

Set the current rotation quaternion. See rotation() and the different Quaternion() constructors. Emits the modified() signal.

void setRotation const float    x,
const float    y,
const float    z,
const float    a
 

Set the current rotation of the frame. Parameters are the rotation quaternion float values. Get current rotation with rotation().

void setRotationAxisAngle const float    x,
const float    y,
const float    z,
const float    a
 

Set the current rotation of the frame. Parameters are the rotation axis vector and its angle (in radians).

bool settingAsReferenceFrameWillCreateALoop Frame *const    fr
 

Returns true if setting fr as the reference frame would create a loop in the frame hierarchy.

void setTranslation const qglviewer::Vec   t [inline]
 

Set the current translation of the frame. position() returns the current frame position. Emits the modified() signal.

void setTranslation const float    x,
const float    y,
const float    z
 

Set the current translation of the frame. Same as setTranslation(), but with float parameters. translation() returns the current frame position.

void setTranslationAndRotation const qglviewer::Vec   t,
const qglviewer::Quaternion   q
 

Same as successive calls to setPosition() and then setOrientation().

Only one modified() signal is emitted, which is convenient if this signal is connected to a viewer updateGL() slot. See also setPositionAndOrientation().

Vec transformOf const qglviewer::Vec   src const
 

This returns the frame transform of a vector src defined in the world coordinate system (converts from world to frame).

For vectors, only the rotationnal part of the transformation is taken into account, see coordinatesOf() for the point equivalent function.

inverseTransformOf() performs the inverse transformation.

Vec transformOfFrom const qglviewer::Vec   src,
const Frame *    from
const
 

This returns the frame coordinate system transform of the vector whose coordinates in the from coordinate system is src (converts from from to frame). from and the frame do not need to be located in the same branch of the frame tree hierarchy.

For vectors, only the rotationnal part of the transformation is taken into account, see coordinatesOfFrom() for the point equivalent function.

transformOfIn() performs the inverse transformation.

Vec transformOfIn const qglviewer::Vec   src,
const Frame *    in
const
 

This returns the in coordinate system transform of the vector whose coordinates in the frame coordinate system is src (converts from frame to in). in and the frame do not need to be located in the same branch of the frame tree hierarchy.

For vectors, only the rotationnal part of the transformation is taken into account, see coordinatesOfIn() for the point equivalent function.

transformOfFrom() performs the inverse transformation.

void translate const float    x,
const float    y,
const float    z
 

Same as translate() but with const float parameter. The actual translation may differ from the given parameters in order to satisfy the constraint(). Use the non-const version to get the filtered values back.

void translate float &    x,
float &    y,
float &    z
 

Same as translate() but with float parameters. Parameters are modified to satisfy translation constraints (see constraint()). See also the non-const parameters version of this version, if you are not interested in the filtered values.

void translate float    t[3]
 

Same as translate() but with a float[3] parameter. t can be modified to fit translation constraint().

void translate const qglviewer::Vec   t
 

Translate the frame of t. The actual applied translation may differ from t as the constraint will filter t (see constraint()). Use the non-constraint version of translate() to get back the filtered translation value.

void translate qglviewer::Vec   t
 

Translate the frame of t. t may be modified to satisfy translation constraint(). Use setConstraint() to (un)set the translation constraints. Emits the modified() signal.

qglviewer::Vec translation   const [inline]
 

Returns the current frame position. See setTranslation().

const GLdouble * worldMatrix   const
 

Returns the 4x4 frame matrix, defined in the world coordinate system. Can be used with glMultMatrixd(fr.worldMatrix()) or glLoadMatrixd(fr.worldMatrix()). This matrix represents the global transformation from the world coordinate system to the frame coordinate system, including the entire frame composition chain (see referenceFrame() for frame composition). Use getMatrix() or matrix() to have the local frame transformation matrix (i.e. the translation() and rotation() part).

worldMatrix() and matrix() will return identical results when the frame is not composed (referenceFrame() == NULL). See also getWorldMatrix().

Attention:
The matrix is given in OpenGL format (row-major order) and is the transpose of the actual mathematical European representation.
Attention:
The result is only valid until the next call to matrix(), getMatrix(), worldMatrix() or getWorldMatrix(). Use it immediately (as in glLoadMatrixd(fr.worldMatrix()) or glLoadMatrixd(fr.worldMatrix())) or store it in an other variable. Consider using getWorldMatrixMatrix() if needed.


Generated on Thu Jan 16 12:53:47 2003 for libQGLViewer by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002