55 virtual std::unique_ptr<Transform>
genInversed()
const override;
64 Vector3R* out_vector)
const override;
66 void transformOrientation(
69 Vector3R* out_orientation)
const override;
76 void transformLineSegment(
85 real* out_lineMaxT)
const override;
122 for(
const auto& transform : fromRootToLocal)
126 transform.genTransformMatrix(&matrix);
127 transform.genInverseTransformMatrix(&invMatrix);
129 parentedMatrix = parentedMatrix.
mul(matrix);
130 invParentedMatrix = invMatrix.
mul(invParentedMatrix);
142 for(
const auto& transform : fromRootToLocal)
146 transform.genInverseTransformMatrix(&matrix);
147 transform.genTransformMatrix(&invMatrix);
149 parentedMatrix = matrix.
mul(parentedMatrix);
150 invParentedMatrix = invParentedMatrix.
mul(invMatrix);
157::getTransformMatrix()
const
159 return m_transformMatrix;
163::getInversedTransformMatrix()
const
165 return m_inverseTransformMatrix;
TMatrix4 mul(const TMatrix4 &rhs) const
Definition TMatrix4.ipp:150
Math functions and utilities.
Definition TransformInfo.h:10
TMatrix4< real > Matrix4R
Definition math_fwd.h:74