148 return m_fieldHeight;
159 return m_dPixelWidth;
170 return m_dPixelHeight;
181 return m_focalLength;
197 return m_VisibleRect;
239 double iWidthInPixels,
240 double iHeighInPixels,
242 bool bUsePerspective)
const;
250 double m_fieldHeight;
251 double m_focalLength;
253 double m_dPixelWidth;
254 double m_dPixelHeight;
259 static bool m_bEvent;
DDKERNEL_API void GetPaperProperties(OdDbPlotSettings *pLayout, OdGePoint3dArray &points, OdGePoint3dArray &margins)
std::vector< CFxViewportSnapShot > VIEWPORTDATA_VECTOR
DDKERNEL_API CFxView * GetActiveFxView(OdEdCommandContext *pCmdCtx)
virtual OdGsDCRectDouble visibleScreenRectInViewCoordinates() const =0
virtual OdGeMatrix3d getWorldToEyeTransform() const =0
virtual double screenWidth() const =0
virtual bool IsPaperSpaceOverall() const =0
virtual int PointToView(const OdGePoint2d &pointSCS, OdGePoint2d &viewPt) const =0
virtual bool IsDragging() const =0
virtual OdInt16 GetCadWindowId() const =0
virtual void screenRect(OdGsDCPoint &lowerLeft, OdGsDCPoint &upperRight) const =0
virtual size_t numDrawables() const =0
virtual double visibleWidth() const =0
virtual void SetElevation(double dElev)=0
virtual void SetFieldAspectMaintained(bool)=0
virtual OdGeExtents3d GetRealExtents(volatile bool *abortFlag=0) const =0
virtual void EndTransaction()=0
virtual int PointToWCS(const OdGsDCPoint &pointSCS, const OdGePlane &plane, OdGePoint3d &pointWCS) const =0
virtual const CFxViewportSnapShot * GetPreviousViewSettings() const =0
virtual bool SetPreviousData()=0
virtual bool IsRectangular() const =0
virtual double screenHeight() const =0
virtual int PointToWCSOnUCS(const OdGsDCPoint &pointSCS, OdGePoint3d &pointWCS) const =0
virtual OdGeMatrix3d GetCorrectionScreenMatrix() const =0
virtual OdGeMatrix3d getEyeToScreenMatrix() const =0
virtual OdGeMatrix3d getEyeToWorldTransform() const =0
virtual const CFxVectorizeDevice * GetFxVectorizeDevice() const =0
virtual int PointToWCS(const CFxPointF &pointSCS, const OdGePlane &plane, OdGePoint3d &pointWCS) const =0
virtual bool IsZoomMode() const =0
virtual double visibleHeight() const =0
virtual void PointToSCS(const OdGePoint3d &pointWCS, CFxPoint &pointSCS) const =0
virtual double Elevation() const =0
virtual int PointToView(const OdGsDCPoint &pointSCS, OdGePoint2d &viewPt) const =0
virtual void SetPanMode(bool bVal)=0
virtual bool IsPanMode() const =0
virtual void EnterDragMode()=0
virtual double focalLength() const =0
virtual const QPainterPath & GetViewportInternalRegion() const =0
virtual void PointToSCS(const OdGePoint3d &pointWCS, CFxPointF &pointSCS) const =0
virtual void screenRect(OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const =0
virtual OdGeMatrix3d EyeToPaperSpace() const =0
virtual int PointToWCSOnUCS(const OdGePoint3d &pointSCS, OdGePoint3d &pointWCS) const =0
virtual bool IsPreviousVectorizationAborted() const =0
virtual bool ZoomExtentsWCS(const OdGeBoundBlock3d *pExtents)=0
virtual void AddViewReactor(CFxViewReactor *pReactor)=0
virtual void StartTransaction()=0
virtual const OdGePoint3dArray & GetViewportExternalRegionWCS() const =0
virtual void SetOrbitMode(bool bVal)=0
virtual CFxVectorizeDevice * GetFxVectorizeDevice()=0
virtual double GetDeviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
virtual ViewportKey GetVpNum() const =0
virtual void SetZoomMode(bool bVal)=0
virtual void LeaveDragMode()=0
virtual void PointToSCS(const OdGePoint3d &pointWCS, OdGsDCPoint &pointSCS) const =0
virtual bool IsActive() const =0
virtual bool IsOrbitMode() const =0
virtual OdGeVector3d viewDir() const =0
virtual OdGeMatrix3d PaperSpaceToEye() const =0
static OdGeMatrix3d PaperSpaceToEye(OdDbObjectId idViewport)
virtual bool IsOverall() const =0
static OdGeMatrix3d WorldToView(OdDbObjectId id)
virtual int PointToWCSOnUCS(const OdGePoint2d &pointSCS, OdGePoint3d &pointWCS) const =0
virtual void RemoveViewReactor(CFxViewReactor *pReactor)=0
virtual OdGiDrawablePtr drawableAt(size_t iIndex) const =0
virtual bool InsideTransaction() const =0
virtual OdGsDCRectDouble visibleScreenRect() const =0
static OdGeMatrix3d EyeToPaperSpace(OdDbObjectId idViewport)
virtual OdDbStub * viewportObjectId() const =0
virtual const QPainterPath & GetViewportExternalRegion() const =0
virtual const OdGePoint3dArray & GetViewportInternalRegionWCS() const =0
virtual bool IsFieldAspectMaintained() const =0
ODRX_DECLARE_MEMBERS(CFxView)
virtual bool GetGeomExtents(OdGeBoundBlock3d &bounds, volatile bool *abortFlag=0) const =0
virtual bool ViewExtentsWCS(OdGeBoundBlock3d &extents) const =0
const OdGePoint3d & GetPosition() const
static bool IsViewSettingsValid(const OdDbViewport *pViewport)
const OdGePoint3d & GetTarget() const
double GetPixelHeight() const
const OdGeVector3d & GetEyeVector() const
bool InitializeFromViewInfo(const CFxViewDrawInfo *pViewInfo)
double GetFieldWidth() const
const OdGsDCRectDouble & GetVisibleRect() const
double GetFieldHeight() const
const OdGeVector3d & GetUpVector() const
static bool IsViewExtentsValid(const OdGeExtents3d &extents)
double GetFocalLength() const
static bool IsViewSettingsValid(const OdGsView *pView)
OdGePoint2d GetNumPixelsInUnitSquare(double iWidthInPixels, double iHeighInPixels, const OdGePoint3d &point, bool bUsePerspective) const
double GetPixelWidth() const
void ApplyToView(CFxView *pView)
const OdGeMatrix3d & GetWorldToEyeMatrix() const
bool InitializeFromView(const CFxView *pView)