CFx SDK Documentation 2024 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 OdTrVisViewportShadingDef *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 |
const OdTrVisSurfaceDef * | m_pSurfaceDef |
const OdTrVisViewportShadingDef * | m_pViewportShadingDef |
const OdTrVisViewportClipDef * | m_pViewportClipDef |
const 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 254 of file TrVisCamera.h.
Enumerator | |
---|---|
kOrbitPerp | |
kOrbitHorizontal | |
kOrbitVertical | |
kOrbitEye |
Definition at line 71 of file TrVisCamera.h.
OdTrVisCamera::OdTrVisCamera | ( | ) |
OdTrVisCamera::~OdTrVisCamera | ( | ) |
|
inline |
Definition at line 162 of file TrVisCamera.h.
|
inline |
Definition at line 250 of file TrVisCamera.h.
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
staticprotected |
|
virtual |
|
inline |
Definition at line 209 of file TrVisCamera.h.
|
inlineprotected |
Definition at line 304 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 179 of file TrVisCamera.h.
|
inline |
Definition at line 169 of file TrVisCamera.h.
|
inline |
Definition at line 45 of file TrVisCamera.h.
|
inline |
Definition at line 120 of file TrVisCamera.h.
|
inline |
Definition at line 141 of file TrVisCamera.h.
|
inline |
Definition at line 47 of file TrVisCamera.h.
|
inline |
Definition at line 175 of file TrVisCamera.h.
|
virtual |
|
inline |
Definition at line 215 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 231 of file TrVisCamera.h.
|
inline |
Definition at line 227 of file TrVisCamera.h.
|
inline |
Definition at line 203 of file TrVisCamera.h.
|
inline |
Definition at line 235 of file TrVisCamera.h.
|
inline |
Definition at line 223 of file TrVisCamera.h.
|
protected |
void OdTrVisCamera::removeOverlayCamera | ( | OdTrVisCamera * | ) |
void OdTrVisCamera::removeSiblingCamera | ( | OdTrVisCamera * | ) |
|
virtual |
long OdTrVisCamera::screenHeight | ( | ) | const |
|
inline |
Definition at line 191 of file TrVisCamera.h.
long OdTrVisCamera::screenWidth | ( | ) | const |
|
inline |
Definition at line 163 of file TrVisCamera.h.
|
inline |
Definition at line 251 of file TrVisCamera.h.
|
protected |
|
inline |
Definition at line 60 of file TrVisCamera.h.
|
inline |
Definition at line 135 of file TrVisCamera.h.
|
inline |
Definition at line 128 of file TrVisCamera.h.
|
inline |
Definition at line 156 of file TrVisCamera.h.
|
inline |
Definition at line 142 of file TrVisCamera.h.
|
inline |
Definition at line 183 of file TrVisCamera.h.
|
protected |
void OdTrVisCamera::setOverlayOwnerCamera | ( | OdTrVisCamera * | ) |
void OdTrVisCamera::setParentCamera | ( | OdTrVisCamera * | ) |
|
inline |
Definition at line 121 of file TrVisCamera.h.
|
protected |
void OdTrVisCamera::setSiblingOwnerCamera | ( | OdTrVisCamera * | ) |
|
inline |
Definition at line 102 of file TrVisCamera.h.
|
inline |
Definition at line 108 of file TrVisCamera.h.
|
inline |
Definition at line 114 of file TrVisCamera.h.
void OdTrVisCamera::setViewParams | ( | const OdTrVisViewParamsDef & | viewParams, |
bool | bSetModified = false |
||
) |
|
inline |
Definition at line 95 of file TrVisCamera.h.
|
inline |
Definition at line 149 of file TrVisCamera.h.
|
inlineprotected |
Definition at line 296 of file TrVisCamera.h.
|
inline |
Definition at line 57 of file TrVisCamera.h.
|
virtual |
|
inline |
Definition at line 173 of file TrVisCamera.h.
|
virtual |
|
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.
|
inline |
Definition at line 197 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 94 of file TrVisCamera.h.
|
inline |
Definition at line 148 of file TrVisCamera.h.
|
virtual |
|
virtual |
|
protected |
Definition at line 264 of file TrVisCamera.h.
|
mutableprotected |
Definition at line 261 of file TrVisCamera.h.
|
protected |
Definition at line 272 of file TrVisCamera.h.
|
protected |
Definition at line 269 of file TrVisCamera.h.
|
protected |
Definition at line 271 of file TrVisCamera.h.
|
protected |
Definition at line 263 of file TrVisCamera.h.
|
protected |
Definition at line 274 of file TrVisCamera.h.
|
protected |
Definition at line 266 of file TrVisCamera.h.
|
protected |
Definition at line 268 of file TrVisCamera.h.
|
protected |
Definition at line 267 of file TrVisCamera.h.
|
protected |
Definition at line 275 of file TrVisCamera.h.
|
mutableprotected |
Definition at line 260 of file TrVisCamera.h.
|
mutableprotected |
Definition at line 259 of file TrVisCamera.h.