Loading...
Searching...
No Matches
Transform.hpp
Go to the documentation of this file.
static std::enable_if_t< IsMatrixStaticSquare< Rows, Cols >(), D > MakeIdentity()
Makes a static identity matrix.
Definition MatrixDenseBase-Impl.hpp:169
Definition Matrix.hpp:30
Definition Transform.hpp:29
Vector2D ToWorld(const Vector2D &pointInLocal) const
Rotates a point in local space to the world coordinate.
void SetRotation(double angleInRadian)
Vector2D ToLocal(const Vector2D &pointInWorld) const
Rotates a point in world coordinate to the local frame.
Orientation(double angleInRadian)
double GetRotation() const
Orientation()
Definition Transform.hpp:53
Orientation()
Vector3D ToWorld(const Vector3D &pointInLocal) const
Rotates a point in local space to the world coordinate.
Vector3D ToLocal(const Vector3D &pointInWorld) const
Rotates a point in world coordinate to the local frame.
Orientation(const QuaternionD &quat)
void SetRotation(const QuaternionD &quat)
const QuaternionD & GetRotation() const
Definition Transform.hpp:23
Vector< double, N > ToWorldDirection(const Vector< double, N > &dirInLocal) const
Transforms a direction in local space to the world coordinate.
BoundingBox< double, N > ToLocal(const BoundingBox< double, N > &bboxInWorld) const
Transforms a bounding box in world coordinate to the local frame.
Ray< double, N > ToLocal(const Ray< double, N > &rayInWorld) const
Transforms a ray in world coordinate to the local frame.
void SetTranslation(const Vector< double, N > &translation)
Sets the translation.
void SetOrientation(const Orientation< N > &orientation)
Sets the orientation.
Vector< double, N > ToWorld(const Vector< double, N > &pointInLocal) const
Transforms a point in local space to the world coordinate.
const Orientation< N > & GetOrientation() const
Returns the orientation.
Transform(const Vector< double, N > &translation, const Orientation< N > &orientation)
Constructs a transform with translation and orientation.
Vector< double, N > ToLocalDirection(const Vector< double, N > &dirInWorld) const
Transforms a direction in world coordinate to the local frame.
const Vector< double, N > & GetTranslation() const
Returns the translation.
BoundingBox< double, N > ToWorld(const BoundingBox< double, N > &bboxInLocal) const
Transforms a bounding box in local space to the world coordinate.
Ray< double, N > ToWorld(const Ray< double, N > &rayInLocal) const
Transforms a ray in local space to the world coordinate.
Vector< double, N > ToLocal(const Vector< double, N > &pointInWorld) const
Transforms a point in world coordinate to the local frame.
Definition pybind11Utils.hpp:21
1.9.8