13 #ifndef __UT_CoordSpace_h__
14 #define __UT_CoordSpace_h__
47 bool allow_flip =
true);
49 bool allow_flip =
true);
51 bool allow_flip =
true);
66 { myPlane.setPoint(o); }
105 myPlane.shiftOffset(by_factor);
110 myPlane.translate(offset);
131 template <
typename MATX>
132 inline void changeSpace(MATX &matx)
const;
146 #endif // __UT_CoordSpace_h__
void setOrigin(const UT_Vector3T< T > &o)
void getTransformMatrixPreservingOrigin(UT_Matrix4T< T > &matx) const
const UT_Vector3T< T > & yaxis() const
void convertToWorld(UT_Vector3T< T > &rel) const
void convertToWorldNoOriginAdj(UT_Vector3T< T > &rel) const
UT_CoordSpaceT< fpreal > UT_CoordSpaceR
int fromWorldRotation(T &rx, T &ry, T &rz, const UT_XformOrder &order) const
GLdouble GLdouble GLdouble z
void shiftOffset(T by_factor)
const UT_Vector3T< T > & origin() const
GLboolean GLboolean GLboolean GLboolean a
void getTransformMatrix(UT_Matrix4T< T > &matx) const
void translate(const UT_Vector3T< T > &offset)
UT_CoordSpaceT< fpreal32 > UT_CoordSpaceF
void transformAndReturnNormalXform(UT_Matrix4F &matx)
const UT_Vector3T< T > & zaxis() const
void transform(const UT_Matrix4F &matx)
GLdouble GLdouble GLint GLint order
int toWorldRotation(T &rx, T &ry, T &rz, const UT_XformOrder &order) const
void rotate(UT_Vector3T< T > &axis, T theta, bool norm=true)
UT_CoordSpaceT< float > UT_CoordSpace
const UT_Vector3T< T > & xaxis() const
UT_CoordSpaceT(UT_PlaneType p=UT_PLANE_XY)
void setAxes(const UT_Vector3T< T > &x, const UT_Vector3T< T > &y, const UT_Vector3T< T > &z, bool norm=true)
UT_CoordSpaceT< fpreal64 > UT_CoordSpaceD
const UT_PlaneT< T > & plane() const