Jet  v1.3.3
Public Member Functions | List of all members
jet::Transform3 Class Reference

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 Vector3Dtranslation () const
 Returns the translation. More...
 
void setTranslation (const Vector3D &translation)
 Sets the traslation. More...
 
const QuaternionDorientation () 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...
 

Detailed Description

Represents 3-D rigid body transform.

Constructor & Destructor Documentation

◆ Transform3() [1/2]

jet::Transform3::Transform3 ( )

Constructs identity transform.

◆ Transform3() [2/2]

jet::Transform3::Transform3 ( const Vector3D translation,
const QuaternionD orientation 
)

Constructs a transform with translation and orientation.

Member Function Documentation

◆ orientation()

const QuaternionD& jet::Transform3::orientation ( ) const

Returns the orientation.

◆ setOrientation()

void jet::Transform3::setOrientation ( const QuaternionD orientation)

Sets the orientation.

◆ setTranslation()

void jet::Transform3::setTranslation ( const Vector3D translation)

Sets the traslation.

◆ toLocal() [1/3]

BoundingBox3D jet::Transform3::toLocal ( const BoundingBox3D bboxInWorld) const

Transforms a bounding box in world coordinate to the local frame.

◆ toLocal() [2/3]

Ray3D jet::Transform3::toLocal ( const Ray3D rayInWorld) const

Transforms a ray in world coordinate to the local frame.

◆ toLocal() [3/3]

Vector3D jet::Transform3::toLocal ( const Vector3D pointInWorld) const

Transforms a point in world coordinate to the local frame.

◆ toLocalDirection()

Vector3D jet::Transform3::toLocalDirection ( const Vector3D dirInWorld) const

Transforms a direction in world coordinate to the local frame.

◆ toWorld() [1/3]

BoundingBox3D jet::Transform3::toWorld ( const BoundingBox3D bboxInLocal) const

Transforms a bounding box in local space to the world coordinate.

◆ toWorld() [2/3]

Ray3D jet::Transform3::toWorld ( const Ray3D rayInLocal) const

Transforms a ray in local space to the world coordinate.

◆ toWorld() [3/3]

Vector3D jet::Transform3::toWorld ( const Vector3D pointInLocal) const

Transforms a point in local space to the world coordinate.

◆ toWorldDirection()

Vector3D jet::Transform3::toWorldDirection ( const Vector3D dirInLocal) const

Transforms a direction in local space to the world coordinate.

◆ translation()

const Vector3D& jet::Transform3::translation ( ) const

Returns the translation.


The documentation for this class was generated from the following file: