CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
64 virtual void pan(
int nX,
int nY);
66 virtual void zoom(
float fDelta);
68 virtual void zoom(
int nX,
int nY,
float fDelta);
83 virtual void rotate(
double xAngle,
double yAngle,
double zAngle,
bool bLocalCS =
true);
#define GETBIT(flags, bit)
OdTrVisCamera * overlayOwnerCamera() const
static double computeAspectRatio(const OdGsDCRectDouble &dcRect)
const OdGeVector3d & viewBasisZ() const
bool isPerspectiveProjection() const
std::set< OdTrVisCamera * > m_siblingCameras
void setOverlayOwnerCamera(OdTrVisCamera *)
bool viewportRect(OdGsDCRect &vpRect, bool bClipped=false) const
const OdTrVisViewClipped & frontClip() const
const OdGePoint3d & viewTarget() const
OdGeMatrix3d computeProjectionMatrix(const OdGsDCRectDouble &dcRect, const OdTrVisViewportDef *sets, const OdGeExtents3d &sceneExtents) const
OdGeMatrix3d m_screenMatrix
virtual void orbit(int nX, int nY, OrbitType type=kOrbitPerp, float angle=0.0f)
const OdGeMatrix3d & correctionMatrix() const
void setFieldWidth(double w)
const OdGeVector3d & viewBasisX() const
void setBackClip(const OdTrVisViewClipped &cl)
double fieldWidth() const
const OdGeMatrix3d & outputMatrix() const
bool m_bPerspectiveProjection
long screenHeight() const
virtual void copyViewParams(const OdTrVisCamera *)
void setViewPosition(const OdGePoint3d &pt)
double fieldHeight() const
GLuint GLsizei GLsizei GLint GLenum * type
OdGeVector3d m_viewBasis[3]
void setContext(OdTrVisSurfaceDef *pSurface, OdTrVisViewportDef *pViewport, OdTrVisExtentsDef *pExtents)
void removeOverlayCamera(OdTrVisCamera *)
double projectionScreenDepth() const
void setFieldHeight(double h)
#define SETBIT(flags, bit, value)
OdTrVisViewParamsDef m_viewParams
void setViewBasisZ(const OdGeVector3d &zBasis)
void preComputeViewportDefMatrices() const
void applyMetafileXform(bool bSetModified=false) const
void setModified(bool modified=true) const
const OdGeMatrix3d & viewingMatrix() const
double computeFieldWidth(double aspectRatio) const
void projectedExtents(OdGePoint2d &extMin, OdGePoint2d &extMax, const OdGeExtents3d &extents) const
void removeSiblingCamera(OdTrVisCamera *)
void setMetafileMatrix(const OdGeMatrix3d &m)
double projectionFocalLengthReciprocal() const
void setParentCamera(OdTrVisCamera *)
void setSiblingCamera(OdTrVisCamera *)
OdGePoint3d m_viewPosition
double lensLength() const
OdGeMatrix3d m_projectionMatrix
OdGeMatrix3d m_viewingMatrix
GLfloat GLfloat GLfloat GLfloat w
OdTrVisCamera * siblingOwnerCamera() const
const OdTrVisViewClipped & backClip() const
void removeChildCamera(OdTrVisCamera *)
const OdGeExtents3d & preferRealExtents() const
virtual void pan(int nX, int nY)
static OdGeMatrix3d computeCorrectionMatrix(const OdGsDCRectDouble &dcRect, double screenWidth, double screenHeight)
virtual void rotate(double xAngle, double yAngle, double zAngle, bool bLocalCS=true)
void setOverlayCamera(OdTrVisCamera *)
void setViewTarget(const OdGePoint3d &pt)
const OdGeMatrix3d & screenMatrix() const
const OdGeVector3d & viewBasisY() const
bool cameraCumulative() const
virtual void translate(const OdGeVector3d &offset)
virtual void update() const
OdTrVisViewportDef * m_pViewportDef
const OdGeExtents3d & extents() const
double projectionFocalLength() const
OdTrVisCamera * m_pParentCamera
void setFrontClip(const OdTrVisViewClipped &cl)
double computeFieldHeight(double aspectRatio) const
OdTrVisViewClipped m_backClip
OdTrVisExtentsDef * m_pExtentsDef
OdTrVisCamera * parentCamera() const
OdTrVisViewClipped m_frontClip
OdTrVisSurfaceDef * m_pSurfaceDef
void setLensLength(double l)
virtual void zoom(float fDelta)
void setViewParams(const OdTrVisViewParamsDef &viewParams, bool bSetModified=false)
void setPerspectiveProjection(bool p)
virtual void zoom(int nX, int nY, float fDelta)
static void computeSceneDepth(const OdGeMatrix3d &ecsToWcs, const OdGeExtents3d &sceneExtents, double &dNear, double &dFar)
const OdGeMatrix3d & metafileMatrix() const
virtual void zoomExtents(float coef=1.03f)
OdTrVisCamera * sibling()
OdTrVisCamera * m_pSiblingOwnerCamera
void setChildCamera(OdTrVisCamera *)
const OdGeMatrix3d & projectionMatrix() const
void setSiblingOwnerCamera(OdTrVisCamera *)
void setCameraCumulative(bool bSet)
OdGeMatrix3d m_metafileMatrix
void setViewBasisY(const OdGeVector3d &yBasis)
const OdGePoint3d & viewPosition() const
OdGeMatrix3d m_correctionMatrix
static double computeFocalLength(double lensLength, double fieldWidth, double fieldHeight)
void setViewBasisX(const OdGeVector3d &xBasis)
OdTrVisCamera * m_pOverlayOwnerCamera
static GE_STATIC_EXPORT const OdGeExtents3d kInvalid
const OdGeMatrix3d & UnXForm() const
std::set< OdTrVisCamera * > m_overlayCameras
bool OdZero(double x, double tol=1.e-10)
const OdTrVisViewParamsDef & viewParams(bool bUpdated=true) const
bool projectionPerspective() const
OdGeMatrix3d m_outputMatrix
std::set< OdTrVisCamera * > m_childCameras