CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
OdTrVisOrthoBasis Class Reference

#include <TrVisBasis.h>

Inheritance diagram for OdTrVisOrthoBasis:
OdTrVisViewBasis

Public Types

enum  Axis { kX = 0 , kY = 1 , kZ = 2 }
 

Public Member Functions

 OdTrVisOrthoBasis ()
 
OdTrVisOrthoBasissetDefault ()
 
template<typename VecType >
OdTrVisOrthoBasisset (const VecType &xAxis, const VecType &yAxis, const VecType &zAxis)
 
OdTrVisOrthoBasisset (const OdGeMatrix3d &xMat)
 
template<typename MtxType >
OdTrVisOrthoBasisset (const MtxType &xMat)
 
OdTrVisOrthoBasissetXAxis (const OdGeVector3d &axis)
 
OdTrVisOrthoBasissetYAxis (const OdGeVector3d &axis)
 
OdTrVisOrthoBasissetZAxis (const OdGeVector3d &axis)
 
OdTrVisOrthoBasissetAxis (Axis nAxis, const OdGeVector3d &axis)
 
const OdGeVector3dxAxis () const
 
const OdGeVector3dyAxis () const
 
const OdGeVector3dzAxis () const
 
const OdGeVector3dgetAxis (Axis axis)
 
OdGeMatrix3dget (OdGeMatrix3d &xMat, const OdGePoint3d &csOrigin=OdGePoint3d::kOrigin) const
 
template<typename MtxType >
MtxType & get (MtxType &xMat) const
 
bool operator== (const OdTrVisOrthoBasis &basis) const
 
bool operator!= (const OdTrVisOrthoBasis &basis) const
 
OdTrVisOrthoBasisoperator*= (const OdGeMatrix3d &xMat)
 
OdTrVisOrthoBasistransform (const OdGeMatrix3d &xMat, OdUInt32 nElem)
 
template<typename MtxType >
OdTrVisOrthoBasisoperator*= (const MtxType &xMat)
 
template<typename MtxType >
OdTrVisOrthoBasistransform (const MtxType &xMat, OdUInt32 nElem)
 
OdTrVisOrthoBasisnormalize ()
 
template<typename VecType >
OdGePoint2dtoLocal2d (OdGePoint2d &point, const VecType &pt) const
 
template<typename VecType >
OdGePoint2d toLocal2d (const VecType &pt) const
 
template<typename VecType >
OdGePoint3dtoLocal (OdGePoint3d &point, const VecType &pt) const
 
template<typename VecType >
OdGePoint3d toLocal (const VecType &pt) const
 
OdGePoint3dtoGlobal (OdGePoint3d &point, double fX, double fY) const
 
OdGePoint3d toGlobal (double fX, double fY) const
 
template<typename VecType >
OdGePoint3dtoGlobal (OdGePoint3d &point, const VecType &pt) const
 
template<typename VecType >
OdGePoint3d toGlobal (const VecType &pt) const
 
OdTrVisOrthoBasiscalibrate ()
 
OdTrVisOrthoBasismakeBasis0 (const OdGeVector3d &direction)
 
OdTrVisOrthoBasismakeBasis (const OdGeVector3d &direction, const OdGeVector3d &upVector=OdGeVector3d::kYAxis)
 

Static Protected Member Functions

template<typename MtxType >
static OD_CONSTEXPR bool is4x4Matrix (const MtxType &xMat)
 
static void axisNormalize (OdGeVector3d &axis, const OdGeVector3d &defAxis)
 

Protected Attributes

OdGeVector3d m_axis [3]
 

Friends

OdTrVisOrthoBasis operator* (const OdTrVisOrthoBasis &basis, const OdGeMatrix3d &xMat)
 
OdTrVisOrthoBasis operator* (const OdGeMatrix3d &xMat, const OdTrVisOrthoBasis &basis)
 
template<typename MtxType >
OdTrVisOrthoBasis operator* (const OdTrVisOrthoBasis &basis, const MtxType &xMat)
 
template<typename MtxType >
OdTrVisOrthoBasis operator* (const MtxType &xMat, const OdTrVisOrthoBasis &basis)
 

Detailed Description

Library: Source code provided. <group ExRender_Windows_Classes>

Definition at line 36 of file TrVisBasis.h.

Member Enumeration Documentation

◆ Axis

Enumerator
kX 
kY 
kZ 

Definition at line 41 of file TrVisBasis.h.

Constructor & Destructor Documentation

◆ OdTrVisOrthoBasis()

OdTrVisOrthoBasis::OdTrVisOrthoBasis ( )
inline

Definition at line 53 of file TrVisBasis.h.

Member Function Documentation

◆ axisNormalize()

static void OdTrVisOrthoBasis::axisNormalize ( OdGeVector3d axis,
const OdGeVector3d defAxis 
)
inlinestaticprotected

Definition at line 46 of file TrVisBasis.h.

◆ calibrate()

OdTrVisOrthoBasis & OdTrVisOrthoBasis::calibrate ( )
inline

Definition at line 243 of file TrVisBasis.h.

◆ get() [1/2]

template<typename MtxType >
MtxType & OdTrVisOrthoBasis::get ( MtxType &  xMat) const
inline

Definition at line 112 of file TrVisBasis.h.

◆ get() [2/2]

OdGeMatrix3d & OdTrVisOrthoBasis::get ( OdGeMatrix3d xMat,
const OdGePoint3d csOrigin = OdGePoint3d::kOrigin 
) const
inline

Definition at line 105 of file TrVisBasis.h.

◆ getAxis()

const OdGeVector3d & OdTrVisOrthoBasis::getAxis ( Axis  axis)
inline

Definition at line 102 of file TrVisBasis.h.

◆ is4x4Matrix()

template<typename MtxType >
static OD_CONSTEXPR bool OdTrVisOrthoBasis::is4x4Matrix ( const MtxType &  xMat)
inlinestaticprotected

Definition at line 45 of file TrVisBasis.h.

◆ makeBasis()

OdTrVisOrthoBasis & OdTrVisOrthoBasis::makeBasis ( const OdGeVector3d direction,
const OdGeVector3d upVector = OdGeVector3d::kYAxis 
)
inline

Definition at line 263 of file TrVisBasis.h.

◆ makeBasis0()

OdTrVisOrthoBasis & OdTrVisOrthoBasis::makeBasis0 ( const OdGeVector3d direction)
inline

Definition at line 254 of file TrVisBasis.h.

◆ normalize()

OdTrVisOrthoBasis & OdTrVisOrthoBasis::normalize ( )
inline

Definition at line 204 of file TrVisBasis.h.

◆ operator!=()

bool OdTrVisOrthoBasis::operator!= ( const OdTrVisOrthoBasis basis) const
inline

Definition at line 136 of file TrVisBasis.h.

◆ operator*=() [1/2]

template<typename MtxType >
OdTrVisOrthoBasis & OdTrVisOrthoBasis::operator*= ( const MtxType &  xMat)
inline

Definition at line 187 of file TrVisBasis.h.

◆ operator*=() [2/2]

OdTrVisOrthoBasis & OdTrVisOrthoBasis::operator*= ( const OdGeMatrix3d xMat)
inline

Definition at line 156 of file TrVisBasis.h.

◆ operator==()

bool OdTrVisOrthoBasis::operator== ( const OdTrVisOrthoBasis basis) const
inline

Definition at line 130 of file TrVisBasis.h.

◆ set() [1/3]

template<typename MtxType >
OdTrVisOrthoBasis & OdTrVisOrthoBasis::set ( const MtxType &  xMat)
inline

Definition at line 82 of file TrVisBasis.h.

◆ set() [2/3]

OdTrVisOrthoBasis & OdTrVisOrthoBasis::set ( const OdGeMatrix3d xMat)
inline

Definition at line 73 of file TrVisBasis.h.

◆ set() [3/3]

template<typename VecType >
OdTrVisOrthoBasis & OdTrVisOrthoBasis::set ( const VecType &  xAxis,
const VecType &  yAxis,
const VecType &  zAxis 
)
inline

Definition at line 65 of file TrVisBasis.h.

◆ setAxis()

OdTrVisOrthoBasis & OdTrVisOrthoBasis::setAxis ( Axis  nAxis,
const OdGeVector3d axis 
)
inline

Definition at line 95 of file TrVisBasis.h.

◆ setDefault()

OdTrVisOrthoBasis & OdTrVisOrthoBasis::setDefault ( )
inline

Definition at line 56 of file TrVisBasis.h.

◆ setXAxis()

OdTrVisOrthoBasis & OdTrVisOrthoBasis::setXAxis ( const OdGeVector3d axis)
inline

Definition at line 91 of file TrVisBasis.h.

◆ setYAxis()

OdTrVisOrthoBasis & OdTrVisOrthoBasis::setYAxis ( const OdGeVector3d axis)
inline

Definition at line 92 of file TrVisBasis.h.

◆ setZAxis()

OdTrVisOrthoBasis & OdTrVisOrthoBasis::setZAxis ( const OdGeVector3d axis)
inline

Definition at line 93 of file TrVisBasis.h.

◆ toGlobal() [1/4]

template<typename VecType >
OdGePoint3d OdTrVisOrthoBasis::toGlobal ( const VecType &  pt) const
inline

Definition at line 239 of file TrVisBasis.h.

◆ toGlobal() [2/4]

OdGePoint3d OdTrVisOrthoBasis::toGlobal ( double  fX,
double  fY 
) const
inline

Definition at line 233 of file TrVisBasis.h.

◆ toGlobal() [3/4]

template<typename VecType >
OdGePoint3d & OdTrVisOrthoBasis::toGlobal ( OdGePoint3d point,
const VecType &  pt 
) const
inline

Definition at line 236 of file TrVisBasis.h.

◆ toGlobal() [4/4]

OdGePoint3d & OdTrVisOrthoBasis::toGlobal ( OdGePoint3d point,
double  fX,
double  fY 
) const
inline

Definition at line 231 of file TrVisBasis.h.

◆ toLocal() [1/2]

template<typename VecType >
OdGePoint3d OdTrVisOrthoBasis::toLocal ( const VecType &  pt) const
inline

Definition at line 226 of file TrVisBasis.h.

◆ toLocal() [2/2]

template<typename VecType >
OdGePoint3d & OdTrVisOrthoBasis::toLocal ( OdGePoint3d point,
const VecType &  pt 
) const
inline

Definition at line 222 of file TrVisBasis.h.

◆ toLocal2d() [1/2]

template<typename VecType >
OdGePoint2d OdTrVisOrthoBasis::toLocal2d ( const VecType &  pt) const
inline

Definition at line 218 of file TrVisBasis.h.

◆ toLocal2d() [2/2]

template<typename VecType >
OdGePoint2d & OdTrVisOrthoBasis::toLocal2d ( OdGePoint2d point,
const VecType &  pt 
) const
inline

Definition at line 214 of file TrVisBasis.h.

◆ transform() [1/2]

template<typename MtxType >
OdTrVisOrthoBasis & OdTrVisOrthoBasis::transform ( const MtxType &  xMat,
OdUInt32  nElem 
)
inline

Definition at line 195 of file TrVisBasis.h.

◆ transform() [2/2]

OdTrVisOrthoBasis & OdTrVisOrthoBasis::transform ( const OdGeMatrix3d xMat,
OdUInt32  nElem 
)
inline

Definition at line 163 of file TrVisBasis.h.

◆ xAxis()

const OdGeVector3d & OdTrVisOrthoBasis::xAxis ( ) const
inline

Definition at line 98 of file TrVisBasis.h.

◆ yAxis()

const OdGeVector3d & OdTrVisOrthoBasis::yAxis ( ) const
inline

Definition at line 99 of file TrVisBasis.h.

◆ zAxis()

const OdGeVector3d & OdTrVisOrthoBasis::zAxis ( ) const
inline

Definition at line 100 of file TrVisBasis.h.

Friends And Related Function Documentation

◆ operator* [1/4]

template<typename MtxType >
OdTrVisOrthoBasis operator* ( const MtxType &  xMat,
const OdTrVisOrthoBasis basis 
)
friend

Definition at line 180 of file TrVisBasis.h.

◆ operator* [2/4]

OdTrVisOrthoBasis operator* ( const OdGeMatrix3d xMat,
const OdTrVisOrthoBasis basis 
)
friend

Definition at line 150 of file TrVisBasis.h.

◆ operator* [3/4]

template<typename MtxType >
OdTrVisOrthoBasis operator* ( const OdTrVisOrthoBasis basis,
const MtxType &  xMat 
)
friend

Definition at line 173 of file TrVisBasis.h.

◆ operator* [4/4]

OdTrVisOrthoBasis operator* ( const OdTrVisOrthoBasis basis,
const OdGeMatrix3d xMat 
)
friend

Definition at line 144 of file TrVisBasis.h.

Member Data Documentation

◆ m_axis

OdGeVector3d OdTrVisOrthoBasis::m_axis[3]
protected

Definition at line 39 of file TrVisBasis.h.


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