CFx SDK Documentation
2023 SP0
|
#include <TrVisCamera.h>
Public Types | |
enum | OrbitType { kOrbitPerp = 0 , kOrbitHorizontal , kOrbitVertical , kOrbitEye } |
Protected Types | |
enum | CameraFlags { kCameraModified = 1 , kCameraCumulative = 2 } |
Protected Member Functions | |
double | computeFieldWidth (double aspectRatio) const |
double | computeFieldHeight (double aspectRatio) const |
void | projectedExtents (OdGePoint2d &extMin, OdGePoint2d &extMax, const OdGeExtents3d &extents) const |
OdGeMatrix3d | computeProjectionMatrix (const OdGsDCRectDouble &dcRect, const OdTrVisViewportDef *sets, const OdGeExtents3d &sceneExtents) const |
void | preComputeViewportDefMatrices () const |
void | setChildCamera (OdTrVisCamera *) |
void | removeChildCamera (OdTrVisCamera *) |
void | setOverlayCamera (OdTrVisCamera *) |
void | setSiblingCamera (OdTrVisCamera *) |
OdTrVisCamera * | sibling () |
void | setModified (bool modified=true) const |
const OdGeExtents3d & | extents () const |
Static Protected Member Functions | |
static double | computeAspectRatio (const OdGsDCRectDouble &dcRect) |
static double | computeFocalLength (double lensLength, double fieldWidth, double fieldHeight) |
static void | computeSceneDepth (const OdGeMatrix3d &ecsToWcs, const OdGeExtents3d &sceneExtents, double &dNear, double &dFar) |
static OdGeMatrix3d | computeCorrectionMatrix (const OdGsDCRectDouble &dcRect, double screenWidth, double screenHeight) |
Protected Attributes | |
OdTrVisViewParamsDef | m_viewParams |
OdGeMatrix3d | m_UnXForm |
OdUInt8 | m_flags |
OdTrVisCamera * | m_pParentCamera |
std::set< OdTrVisCamera * > | m_childCameras |
OdTrVisSurfaceDef * | m_pSurfaceDef |
OdTrVisViewportDef * | m_pViewportDef |
OdTrVisExtentsDef * | m_pExtentsDef |
OdTrVisCamera * | m_pOverlayOwnerCamera |
std::set< OdTrVisCamera * > | m_overlayCameras |
OdTrVisCamera * | m_pSiblingOwnerCamera |
std::set< OdTrVisCamera * > | m_siblingCameras |
Definition at line 36 of file TrVisCamera.h.
|
protected |
Enumerator | |
---|---|
kCameraModified | |
kCameraCumulative |
Definition at line 247 of file TrVisCamera.h.
Enumerator | |
---|---|
kOrbitPerp | |
kOrbitHorizontal | |
kOrbitVertical | |
kOrbitEye |
Definition at line 70 of file TrVisCamera.h.
OdTrVisCamera::OdTrVisCamera | ( | ) |
OdTrVisCamera::~OdTrVisCamera | ( | ) |
|
inline |
Definition at line 161 of file TrVisCamera.h.
|
inline |
Definition at line 243 of file TrVisCamera.h.
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
staticprotected |
|
virtual |
|
inline |
Definition at line 202 of file TrVisCamera.h.
|
inlineprotected |
Definition at line 296 of file TrVisCamera.h.
|
inline |
Definition at line 133 of file TrVisCamera.h.
|
inline |
Definition at line 126 of file TrVisCamera.h.
|
inline |
Definition at line 154 of file TrVisCamera.h.
|
inline |
Definition at line 45 of file TrVisCamera.h.
|
inline |
Definition at line 119 of file TrVisCamera.h.
|
inline |
Definition at line 140 of file TrVisCamera.h.
|
inline |
Definition at line 47 of file TrVisCamera.h.
|
inline |
Definition at line 172 of file TrVisCamera.h.
|
virtual |
|
inline |
Definition at line 208 of file TrVisCamera.h.
|
inline |
Definition at line 53 of file TrVisCamera.h.
|
virtual |
|
inline |
Definition at line 50 of file TrVisCamera.h.
|
protected |
|
protected |
|
inline |
Definition at line 224 of file TrVisCamera.h.
|
inline |
Definition at line 220 of file TrVisCamera.h.
|
inline |
Definition at line 196 of file TrVisCamera.h.
|
inline |
Definition at line 228 of file TrVisCamera.h.
|
inline |
Definition at line 216 of file TrVisCamera.h.
|
protected |
void OdTrVisCamera::removeOverlayCamera | ( | OdTrVisCamera * | ) |
void OdTrVisCamera::removeSiblingCamera | ( | OdTrVisCamera * | ) |
|
virtual |
long OdTrVisCamera::screenHeight | ( | ) | const |
|
inline |
Definition at line 184 of file TrVisCamera.h.
long OdTrVisCamera::screenWidht | ( | ) | const |
|
inline |
Definition at line 162 of file TrVisCamera.h.
|
inline |
Definition at line 244 of file TrVisCamera.h.
|
protected |
|
inline |
Definition at line 60 of file TrVisCamera.h.
|
inline |
Definition at line 134 of file TrVisCamera.h.
|
inline |
Definition at line 127 of file TrVisCamera.h.
|
inline |
Definition at line 155 of file TrVisCamera.h.
|
inline |
Definition at line 141 of file TrVisCamera.h.
|
inline |
Definition at line 176 of file TrVisCamera.h.
|
protected |
void OdTrVisCamera::setOverlayOwnerCamera | ( | OdTrVisCamera * | ) |
void OdTrVisCamera::setParentCamera | ( | OdTrVisCamera * | ) |
|
inline |
Definition at line 120 of file TrVisCamera.h.
|
protected |
void OdTrVisCamera::setSiblingOwnerCamera | ( | OdTrVisCamera * | ) |
|
inline |
Definition at line 101 of file TrVisCamera.h.
|
inline |
Definition at line 107 of file TrVisCamera.h.
|
inline |
Definition at line 113 of file TrVisCamera.h.
void OdTrVisCamera::setViewParams | ( | const OdTrVisViewParamsDef & | viewParams, |
bool | bSetModified = false |
||
) |
|
inline |
Definition at line 94 of file TrVisCamera.h.
|
inline |
Definition at line 148 of file TrVisCamera.h.
|
inlineprotected |
Definition at line 288 of file TrVisCamera.h.
|
inline |
Definition at line 57 of file TrVisCamera.h.
|
virtual |
|
inline |
Definition at line 170 of file TrVisCamera.h.
|
virtual |
|
inline |
Definition at line 100 of file TrVisCamera.h.
|
inline |
Definition at line 106 of file TrVisCamera.h.
|
inline |
Definition at line 112 of file TrVisCamera.h.
|
inline |
Definition at line 190 of file TrVisCamera.h.
|
inline |
Definition at line 42 of file TrVisCamera.h.
bool OdTrVisCamera::viewportRect | ( | OdGsDCRect & | vpRect, |
bool | bClipped = false |
||
) | const |
|
inline |
Definition at line 93 of file TrVisCamera.h.
|
inline |
Definition at line 147 of file TrVisCamera.h.
|
virtual |
|
virtual |
|
protected |
Definition at line 257 of file TrVisCamera.h.
|
mutableprotected |
Definition at line 254 of file TrVisCamera.h.
|
protected |
Definition at line 264 of file TrVisCamera.h.
|
protected |
Definition at line 261 of file TrVisCamera.h.
|
protected |
Definition at line 263 of file TrVisCamera.h.
|
protected |
Definition at line 256 of file TrVisCamera.h.
|
protected |
Definition at line 266 of file TrVisCamera.h.
|
protected |
Definition at line 259 of file TrVisCamera.h.
|
protected |
Definition at line 260 of file TrVisCamera.h.
|
protected |
Definition at line 267 of file TrVisCamera.h.
|
mutableprotected |
Definition at line 253 of file TrVisCamera.h.
|
mutableprotected |
Definition at line 252 of file TrVisCamera.h.