CubbyFlow::Transform3 Class Reference

Represents 3-D rigid body transform. More...

#include <Core/Transform/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 Vector3DGetTranslation () const
 Returns the translation. More...
 
void SetTranslation (const Vector3D &translation)
 Sets the traslation. More...
 
const QuaternionDGetOrientation () 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]

CubbyFlow::Transform3::Transform3 ( )

Constructs identity transform.

◆ Transform3() [2/2]

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

Constructs a transform with translation and orientation.

Member Function Documentation

◆ GetOrientation()

const QuaternionD& CubbyFlow::Transform3::GetOrientation ( ) const

Returns the orientation.

◆ GetTranslation()

const Vector3D& CubbyFlow::Transform3::GetTranslation ( ) const

Returns the translation.

◆ SetOrientation()

void CubbyFlow::Transform3::SetOrientation ( const QuaternionD orientation)

Sets the orientation.

◆ SetTranslation()

void CubbyFlow::Transform3::SetTranslation ( const Vector3D translation)

Sets the traslation.

◆ ToLocal() [1/3]

Vector3D CubbyFlow::Transform3::ToLocal ( const Vector3D pointInWorld) const

Transforms a point in world coordinate to the local frame.

◆ ToLocal() [2/3]

Ray3D CubbyFlow::Transform3::ToLocal ( const Ray3D rayInWorld) const

Transforms a ray in world coordinate to the local frame.

◆ ToLocal() [3/3]

BoundingBox3D CubbyFlow::Transform3::ToLocal ( const BoundingBox3D bboxInWorld) const

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

◆ ToLocalDirection()

Vector3D CubbyFlow::Transform3::ToLocalDirection ( const Vector3D dirInWorld) const

Transforms a direction in world coordinate to the local frame.

◆ ToWorld() [1/3]

Vector3D CubbyFlow::Transform3::ToWorld ( const Vector3D pointInLocal) const

Transforms a point in local space to the world coordinate.

◆ ToWorld() [2/3]

Ray3D CubbyFlow::Transform3::ToWorld ( const Ray3D rayInLocal) const

Transforms a ray in local space to the world coordinate.

◆ ToWorld() [3/3]

BoundingBox3D CubbyFlow::Transform3::ToWorld ( const BoundingBox3D bboxInLocal) const

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

◆ ToWorldDirection()

Vector3D CubbyFlow::Transform3::ToWorldDirection ( const Vector3D dirInLocal) const

Transforms a direction in local space to the world coordinate.


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