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