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

#include <TrVisBasis.h>

Inheritance diagram for OdTrVisViewBasis:
OdTrVisOrthoBasis

Public Member Functions

 OdTrVisViewBasis ()
 
OdTrVisViewBasissetDefault ()
 
template<typename VecType , typename VecType2 >
OdTrVisViewBasisset (const VecType &origin, const VecType2 &xAxis, const VecType2 &yAxis, const VecType2 &zAxis)
 
OdTrVisViewBasisset (const OdGeMatrix3d &xMat)
 
template<typename MtxType >
OdTrVisViewBasisset (const MtxType &xMat)
 
OdTrVisViewBasissetOrigin (const OdGePoint3d &origin)
 
const OdGePoint3dorigin () const
 
OdGeMatrix3dget (OdGeMatrix3d &xMat, const OdGePoint3d &csOrigin=OdGePoint3d::kOrigin) const
 
template<typename MtxType >
MtxType & get (MtxType &xMat) const
 
bool operator== (const OdTrVisViewBasis &basis) const
 
bool operator!= (const OdTrVisViewBasis &basis) const
 
OdTrVisViewBasisoperator*= (const OdGeMatrix3d &xMat)
 
OdTrVisViewBasistransform (const OdGeMatrix3d &xMat, OdUInt32 nElem)
 
template<typename MtxType >
OdTrVisViewBasisoperator*= (const MtxType &xMat)
 
template<typename MtxType >
OdTrVisViewBasistransform (const MtxType &xMat, OdUInt32 nElem)
 
template<typename VecType >
OdTrVisViewBasisoperator+= (const VecType &translationVec)
 
template<typename VecType >
OdTrVisViewBasisoperator-= (const VecType &translationVec)
 
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
 
 TD_USING (OdTrVisOrthoBasis::makeBasis0)
 
OdTrVisOrthoBasismakeBasis0 (const OdGePoint3d &pos, const OdGePoint3d &target)
 
 TD_USING (OdTrVisOrthoBasis::makeBasis)
 
OdTrVisViewBasismakeBasis (const OdGePoint3d &pos, const OdGePoint3d &target, const OdGeVector3d &upVector=OdGeVector3d::kYAxis)
 
- Public Member Functions inherited from OdTrVisOrthoBasis
 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)
 

Protected Attributes

OdGePoint3d m_origin
 
- Protected Attributes inherited from OdTrVisOrthoBasis
OdGeVector3d m_axis [3]
 

Friends

OdTrVisViewBasis operator* (const OdTrVisViewBasis &basis, const OdGeMatrix3d &xMat)
 
OdTrVisViewBasis operator* (const OdGeMatrix3d &xMat, const OdTrVisViewBasis &basis)
 
template<typename MtxType >
OdTrVisViewBasis operator* (const OdTrVisViewBasis &basis, const MtxType &xMat)
 
template<typename MtxType >
OdTrVisViewBasis operator* (const MtxType &xMat, const OdTrVisViewBasis &basis)
 
template<typename VecType >
OdTrVisViewBasis operator+ (const OdTrVisViewBasis &basis, const VecType &translationVec)
 
template<typename VecType >
OdTrVisViewBasis operator- (const OdTrVisViewBasis &basis, const VecType &translationVec)
 

Additional Inherited Members

- Public Types inherited from OdTrVisOrthoBasis
enum  Axis { kX = 0 , kY = 1 , kZ = 2 }
 
- Static Protected Member Functions inherited from OdTrVisOrthoBasis
template<typename MtxType >
static OD_CONSTEXPR bool is4x4Matrix (const MtxType &xMat)
 
static void axisNormalize (OdGeVector3d &axis, const OdGeVector3d &defAxis)
 

Detailed Description

Library: Source code provided. <group ExRender_Windows_Classes>

Definition at line 277 of file TrVisBasis.h.

Constructor & Destructor Documentation

◆ OdTrVisViewBasis()

OdTrVisViewBasis::OdTrVisViewBasis ( )
inline

Definition at line 282 of file TrVisBasis.h.

Member Function Documentation

◆ get() [1/2]

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

Definition at line 331 of file TrVisBasis.h.

◆ get() [2/2]

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

Definition at line 325 of file TrVisBasis.h.

◆ makeBasis()

OdTrVisViewBasis & OdTrVisViewBasis::makeBasis ( const OdGePoint3d pos,
const OdGePoint3d target,
const OdGeVector3d upVector = OdGeVector3d::kYAxis 
)
inline

Definition at line 477 of file TrVisBasis.h.

◆ makeBasis0()

OdTrVisOrthoBasis & OdTrVisViewBasis::makeBasis0 ( const OdGePoint3d pos,
const OdGePoint3d target 
)
inline

Definition at line 469 of file TrVisBasis.h.

◆ operator!=()

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

Definition at line 346 of file TrVisBasis.h.

◆ operator*=() [1/2]

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

Definition at line 399 of file TrVisBasis.h.

◆ operator*=() [2/2]

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

Definition at line 366 of file TrVisBasis.h.

◆ operator+=()

template<typename VecType >
OdTrVisViewBasis & OdTrVisViewBasis::operator+= ( const VecType &  translationVec)
inline

Definition at line 427 of file TrVisBasis.h.

◆ operator-=()

template<typename VecType >
OdTrVisViewBasis & OdTrVisViewBasis::operator-= ( const VecType &  translationVec)
inline

Definition at line 432 of file TrVisBasis.h.

◆ operator==()

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

Definition at line 342 of file TrVisBasis.h.

◆ origin()

const OdGePoint3d & OdTrVisViewBasis::origin ( ) const
inline

Definition at line 322 of file TrVisBasis.h.

◆ set() [1/3]

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

Definition at line 308 of file TrVisBasis.h.

◆ set() [2/3]

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

Definition at line 300 of file TrVisBasis.h.

◆ set() [3/3]

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

Definition at line 293 of file TrVisBasis.h.

◆ setDefault()

OdTrVisViewBasis & OdTrVisViewBasis::setDefault ( )
inline

Definition at line 285 of file TrVisBasis.h.

◆ setOrigin()

OdTrVisViewBasis & OdTrVisViewBasis::setOrigin ( const OdGePoint3d origin)
inline

Definition at line 319 of file TrVisBasis.h.

◆ TD_USING() [1/2]

OdTrVisViewBasis::TD_USING ( OdTrVisOrthoBasis::makeBasis  )

◆ TD_USING() [2/2]

OdTrVisViewBasis::TD_USING ( OdTrVisOrthoBasis::makeBasis0  )

◆ toGlobal() [1/4]

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

Definition at line 464 of file TrVisBasis.h.

◆ toGlobal() [2/4]

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

Definition at line 458 of file TrVisBasis.h.

◆ toGlobal() [3/4]

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

Definition at line 461 of file TrVisBasis.h.

◆ toGlobal() [4/4]

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

Definition at line 456 of file TrVisBasis.h.

◆ toLocal() [1/2]

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

Definition at line 451 of file TrVisBasis.h.

◆ toLocal() [2/2]

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

Definition at line 447 of file TrVisBasis.h.

◆ toLocal2d() [1/2]

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

Definition at line 443 of file TrVisBasis.h.

◆ toLocal2d() [2/2]

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

Definition at line 439 of file TrVisBasis.h.

◆ transform() [1/2]

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

Definition at line 408 of file TrVisBasis.h.

◆ transform() [2/2]

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

Definition at line 374 of file TrVisBasis.h.

Friends And Related Function Documentation

◆ operator* [1/4]

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

Definition at line 391 of file TrVisBasis.h.

◆ operator* [2/4]

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

Definition at line 359 of file TrVisBasis.h.

◆ operator* [3/4]

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

Definition at line 383 of file TrVisBasis.h.

◆ operator* [4/4]

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

Definition at line 352 of file TrVisBasis.h.

◆ operator+

template<typename VecType >
OdTrVisViewBasis operator+ ( const OdTrVisViewBasis basis,
const VecType &  translationVec 
)
friend

Definition at line 417 of file TrVisBasis.h.

◆ operator-

template<typename VecType >
OdTrVisViewBasis operator- ( const OdTrVisViewBasis basis,
const VecType &  translationVec 
)
friend

Definition at line 422 of file TrVisBasis.h.

Member Data Documentation

◆ m_origin

OdGePoint3d OdTrVisViewBasis::m_origin
protected

Definition at line 280 of file TrVisBasis.h.


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