Jet
v1.3.3
|
Represents 3-D rigid body transform. More...
#include <jet/transform3.h>
Public Member Functions | |
Transform3 () | |
Constructs identity transform. More... | |
Transform3 (const Vector3D &translation, const QuaternionD &orientation) | |
Constructs a transform with translation and orientation. More... | |
const Vector3D & | translation () const |
Returns the translation. More... | |
void | setTranslation (const Vector3D &translation) |
Sets the traslation. More... | |
const QuaternionD & | orientation () const |
Returns the orientation. More... | |
void | setOrientation (const QuaternionD &orientation) |
Sets the orientation. More... | |
Vector3D | toLocal (const Vector3D &pointInWorld) const |
Transforms a point in world coordinate to the local frame. More... | |
Vector3D | toLocalDirection (const Vector3D &dirInWorld) const |
Transforms a direction in world coordinate to the local frame. More... | |
Ray3D | toLocal (const Ray3D &rayInWorld) const |
Transforms a ray in world coordinate to the local frame. More... | |
BoundingBox3D | toLocal (const BoundingBox3D &bboxInWorld) const |
Transforms a bounding box in world coordinate to the local frame. More... | |
Vector3D | toWorld (const Vector3D &pointInLocal) const |
Transforms a point in local space to the world coordinate. More... | |
Vector3D | toWorldDirection (const Vector3D &dirInLocal) const |
Transforms a direction in local space to the world coordinate. More... | |
Ray3D | toWorld (const Ray3D &rayInLocal) const |
Transforms a ray in local space to the world coordinate. More... | |
BoundingBox3D | toWorld (const BoundingBox3D &bboxInLocal) const |
Transforms a bounding box in local space to the world coordinate. More... | |
Represents 3-D rigid body transform.
jet::Transform3::Transform3 | ( | ) |
Constructs identity transform.
jet::Transform3::Transform3 | ( | const Vector3D & | translation, |
const QuaternionD & | orientation | ||
) |
Constructs a transform with translation and orientation.
const QuaternionD& jet::Transform3::orientation | ( | ) | const |
Returns the orientation.
void jet::Transform3::setOrientation | ( | const QuaternionD & | orientation | ) |
Sets the orientation.
void jet::Transform3::setTranslation | ( | const Vector3D & | translation | ) |
Sets the traslation.
BoundingBox3D jet::Transform3::toLocal | ( | const BoundingBox3D & | bboxInWorld | ) | const |
Transforms a bounding box in world coordinate to the local frame.
Transforms a ray in world coordinate to the local frame.
Transforms a point in world coordinate to the local frame.
Transforms a direction in world coordinate to the local frame.
BoundingBox3D jet::Transform3::toWorld | ( | const BoundingBox3D & | bboxInLocal | ) | const |
Transforms a bounding box in local space to the world coordinate.
Transforms a ray in local space to the world coordinate.
Transforms a point in local space to the world coordinate.
Transforms a direction in local space to the world coordinate.
const Vector3D& jet::Transform3::translation | ( | ) | const |
Returns the translation.