44 template <
typename MtxType>
64 template <
typename VecType>
81 template <
typename MtxType>
84 m_axis[
kX].
set(xMat.entry[0][0], xMat.entry[1][0], xMat.entry[2][0]);
85 m_axis[
kY].
set(xMat.entry[0][1], xMat.entry[1][1], xMat.entry[2][1]);
86 m_axis[
kZ].
set(xMat.entry[0][2], xMat.entry[1][2], xMat.entry[2][2]);
111 template <
typename MtxType>
112 MtxType &
get(MtxType &xMat)
const
124 *(xMat.entry[0] + 3) = *(xMat.entry[1] + 3) = *(xMat.entry[2] + 3) =
125 *(xMat.entry[2] + 4) = *(xMat.entry[2] + 5) = *(xMat.entry[2] + 6) = 0.0f, *(xMat.entry[2] + 7) = 1.0f;
172 template <
typename MtxType>
176 xMat.transformClone(basis.
yAxis(), 0.0f),
177 xMat.transformClone(basis.
zAxis(), 0.0f));
179 template <
typename MtxType>
183 xMat.transformClone(basis.
yAxis(), 0.0f),
184 xMat.transformClone(basis.
zAxis(), 0.0f));
186 template <
typename MtxType>
194 template <
typename MtxType>
213 template <
typename VecType>
217 template <
typename VecType>
221 template <
typename VecType>
225 template <
typename VecType>
235 template <
typename VecType>
238 template <
typename VecType>
292 template <
typename VecType,
typename VecType2>
307 template <
typename MtxType>
312 m_origin.
set(*(xMat.entry[2] + 4), *(xMat.entry[2] + 5), *(xMat.entry[2] + 6));
330 template <
typename MtxType>
331 MtxType &
get(MtxType &xMat)
const
382 template <
typename MtxType>
386 xMat.transformClone(basis.
xAxis(), 0.0f),
387 xMat.transformClone(basis.
yAxis(), 0.0f),
388 xMat.transformClone(basis.
zAxis(), 0.0f));
390 template <
typename MtxType>
394 xMat.transformClone(basis.
xAxis(), 0.0f),
395 xMat.transformClone(basis.
yAxis(), 0.0f),
396 xMat.transformClone(basis.
zAxis(), 0.0f));
398 template <
typename MtxType>
407 template <
typename MtxType>
416 template <
typename VecType>
421 template <
typename VecType>
426 template <
typename VecType>
431 template <
typename VecType>
438 template <
typename VecType>
442 template <
typename VecType>
446 template <
typename VecType>
450 template <
typename VecType>
460 template <
typename VecType>
463 template <
typename VecType>
#define GETBIT(flags, bit)
OdGePoint3d getCsOrigin() const
OdGeMatrix3d & setCoordSystem(const OdGePoint3d &origin, const OdGeVector3d &xAxis, const OdGeVector3d &yAxis, const OdGeVector3d &zAxis)
OdGeVector3d getCsYAxis() const
OdGeVector3d getCsZAxis() const
OdGeVector3d getCsXAxis() const
OdGePoint2d & set(double xx, double yy)
bool isEqualTo(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGePoint3d & transformBy(const OdGeMatrix3d &xfm)
const OdGeVector3d & asVector() const
static GE_STATIC_EXPORT const OdGePoint3d kOrigin
OdGePoint3d & set(double xx, double yy, double zz)
static GE_STATIC_EXPORT const OdGeVector3d kZAxis
bool isCodirectionalTo(const OdGeVector3d &vect, const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector3d perpVector() const
OdGeVector3d crossProduct(const OdGeVector3d &vect) const
static GE_STATIC_EXPORT const OdGeVector3d kYAxis
OdGeVector3d & normalize(const OdGeTol &tol=OdGeContext::gTol)
OdGeVector3d & set(double xx, double yy, double zz)
OdGeVector3d & transformBy(const OdGeMatrix3d &xfm)
static GE_STATIC_EXPORT const OdGeVector3d kXAxis
const OdGeVector3d & yAxis() const
OdGeMatrix3d & get(OdGeMatrix3d &xMat, const OdGePoint3d &csOrigin=OdGePoint3d::kOrigin) const
OdTrVisOrthoBasis & makeBasis0(const OdGeVector3d &direction)
MtxType & get(MtxType &xMat) const
friend OdTrVisOrthoBasis operator*(const OdTrVisOrthoBasis &basis, const OdGeMatrix3d &xMat)
OdTrVisOrthoBasis & transform(const MtxType &xMat, OdUInt32 nElem)
const OdGeVector3d & getAxis(Axis axis)
bool operator!=(const OdTrVisOrthoBasis &basis) const
const OdGeVector3d & xAxis() const
OdGePoint3d & toLocal(OdGePoint3d &point, const VecType &pt) const
OdTrVisOrthoBasis & transform(const OdGeMatrix3d &xMat, OdUInt32 nElem)
OdTrVisOrthoBasis & makeBasis(const OdGeVector3d &direction, const OdGeVector3d &upVector=OdGeVector3d::kYAxis)
OdTrVisOrthoBasis & set(const MtxType &xMat)
OdTrVisOrthoBasis & set(const VecType &xAxis, const VecType &yAxis, const VecType &zAxis)
const OdGeVector3d & zAxis() const
bool operator==(const OdTrVisOrthoBasis &basis) const
OdTrVisOrthoBasis & setYAxis(const OdGeVector3d &axis)
OdTrVisOrthoBasis & setAxis(Axis nAxis, const OdGeVector3d &axis)
OdTrVisOrthoBasis & setZAxis(const OdGeVector3d &axis)
OdTrVisOrthoBasis & operator*=(const OdGeMatrix3d &xMat)
static OD_CONSTEXPR bool is4x4Matrix(const MtxType &xMat)
OdTrVisOrthoBasis & setXAxis(const OdGeVector3d &axis)
OdTrVisOrthoBasis & calibrate()
OdGePoint3d & toGlobal(OdGePoint3d &point, const VecType &pt) const
OdTrVisOrthoBasis & set(const OdGeMatrix3d &xMat)
OdGePoint3d toLocal(const VecType &pt) const
OdTrVisOrthoBasis & setDefault()
OdGePoint3d toGlobal(double fX, double fY) const
OdGePoint3d & toGlobal(OdGePoint3d &point, double fX, double fY) const
OdGePoint3d toGlobal(const VecType &pt) const
OdTrVisOrthoBasis & normalize()
OdGePoint2d toLocal2d(const VecType &pt) const
OdGePoint2d & toLocal2d(OdGePoint2d &point, const VecType &pt) const
static void axisNormalize(OdGeVector3d &axis, const OdGeVector3d &defAxis)
bool operator!=(const OdTrVisViewBasis &basis) const
OdTrVisViewBasis & operator*=(const OdGeMatrix3d &xMat)
OdGePoint3d & toGlobal(OdGePoint3d &point, const VecType &pt) const
const OdGePoint3d & origin() const
friend OdTrVisViewBasis operator+(const OdTrVisViewBasis &basis, const VecType &translationVec)
OdTrVisViewBasis & transform(const MtxType &xMat, OdUInt32 nElem)
bool operator==(const OdTrVisViewBasis &basis) const
OdTrVisViewBasis & set(const MtxType &xMat)
OdGePoint2d toLocal2d(const VecType &pt) const
OdTrVisViewBasis & makeBasis(const OdGePoint3d &pos, const OdGePoint3d &target, const OdGeVector3d &upVector=OdGeVector3d::kYAxis)
OdTrVisViewBasis & setDefault()
OdTrVisViewBasis & operator-=(const VecType &translationVec)
MtxType & get(MtxType &xMat) const
friend OdTrVisViewBasis operator*(const OdTrVisViewBasis &basis, const OdGeMatrix3d &xMat)
OdGePoint3d toGlobal(double fX, double fY) const
TD_USING(OdTrVisOrthoBasis::makeBasis0)
OdTrVisViewBasis & setOrigin(const OdGePoint3d &origin)
OdGePoint3d toLocal(const VecType &pt) const
OdTrVisViewBasis & set(const VecType &origin, const VecType2 &xAxis, const VecType2 &yAxis, const VecType2 &zAxis)
OdTrVisViewBasis & operator+=(const VecType &translationVec)
OdTrVisViewBasis & transform(const OdGeMatrix3d &xMat, OdUInt32 nElem)
OdGePoint3d & toGlobal(OdGePoint3d &point, double fX, double fY) const
OdGeMatrix3d & get(OdGeMatrix3d &xMat, const OdGePoint3d &csOrigin=OdGePoint3d::kOrigin) const
OdGePoint3d & toLocal(OdGePoint3d &point, const VecType &pt) const
friend OdTrVisViewBasis operator-(const OdTrVisViewBasis &basis, const VecType &translationVec)
OdTrVisViewBasis & set(const OdGeMatrix3d &xMat)
TD_USING(OdTrVisOrthoBasis::makeBasis)
OdGePoint2d & toLocal2d(OdGePoint2d &point, const VecType &pt) const
OdGePoint3d toGlobal(const VecType &pt) const
OdTrVisOrthoBasis & makeBasis0(const OdGePoint3d &pos, const OdGePoint3d &target)
GLfloat GLfloat GLfloat z