CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
143 return m_fieldHeight;
154 return m_dPixelWidth;
165 return m_dPixelHeight;
176 return m_focalLength;
192 return m_VisibleRect;
234 double iWidthInPixels,
235 double iHeighInPixels,
237 bool bUsePerspective)
const;
245 double m_fieldHeight;
246 double m_focalLength;
248 double m_dPixelWidth;
249 double m_dPixelHeight;
254 static bool m_bEvent;
virtual const OdGePoint3dArray & GetViewportExternalRegionWCS() const =0
const OdGePoint3d & GetPosition() const
virtual void SetElevation(double dElev)=0
virtual void SetPanMode(bool bVal)=0
virtual bool IsDragging() const =0
virtual void PointToSCS(const OdGePoint3d &pointWCS, CFxPointF &pointSCS) const =0
virtual double screenWidth() const =0
const OdGePoint3d & GetTarget() const
virtual OdGsDCRectDouble visibleScreenRectInViewCoordinates() const =0
virtual double focalLength() const =0
const OdGeVector3d & GetUpVector() const
std::vector< CFxViewportSnapShot > VIEWPORTDATA_VECTOR
DDKERNEL_API void GetPaperProperties(OdDbPlotSettings *pLayout, OdGePoint3dArray &points, OdGePoint3dArray &margins)
virtual bool IsOverall() const =0
virtual void PointToSCS(const OdGePoint3d &pointWCS, OdGsDCPoint &pointSCS) const =0
virtual bool IsPanMode() const =0
bool InitializeFromViewInfo(const CFxViewDrawInfo *pViewInfo)
virtual void EndTransaction()=0
virtual size_t numDrawables() const =0
const OdGeVector3d & GetEyeVector() const
virtual const QPainterPath & GetViewportExternalRegion() const =0
virtual bool ViewExtentsWCS(OdGeBoundBlock3d &extents) const =0
virtual double Elevation() const =0
DDKERNEL_API CFxView * GetActiveFxView(OdEdCommandContext *pCmdCtx)
virtual OdGeVector3d viewDir() const =0
virtual const CFxVectorizeDevice * GetFxVectorizeDevice() const =0
virtual OdGeMatrix3d getEyeToWorldTransform() const =0
virtual bool IsOrbitMode() const =0
const OdGsDCRectDouble & GetVisibleRect() const
virtual OdGeMatrix3d getWorldToEyeTransform() const =0
virtual bool IsFieldAspectMaintained() const =0
virtual void SetZoomMode(bool bVal)=0
virtual const QPainterPath & GetViewportInternalRegion() const =0
static OdGeMatrix3d EyeToPaperSpace(OdDbObjectId idViewport)
OdGePoint2d GetNumPixelsInUnitSquare(double iWidthInPixels, double iHeighInPixels, const OdGePoint3d &point, bool bUsePerspective) const
virtual bool IsPaperSpaceOverall() const =0
virtual int PointToWCSOnUCS(const OdGePoint2d &pointSCS, OdGePoint3d &pointWCS) const =0
virtual OdGiDrawablePtr drawableAt(size_t iIndex) const =0
double GetFieldHeight() const
virtual bool IsRectangular() const =0
virtual OdGeExtents3d GetRealExtents(volatile bool *abortFlag=0) const =0
virtual bool SetPreviousData()=0
virtual OdGeMatrix3d PaperSpaceToEye() const =0
virtual void PointToSCS(const OdGePoint3d &pointWCS, CFxPoint &pointSCS) const =0
virtual bool IsActive() const =0
virtual OdGsDCRectDouble visibleScreenRect() const =0
static OdGeMatrix3d PaperSpaceToEye(OdDbObjectId idViewport)
virtual bool GetGeomExtents(OdGeBoundBlock3d &bounds, volatile bool *abortFlag=0) const =0
virtual int PointToView(const OdGsDCPoint &pointSCS, OdGePoint2d &viewPt) const =0
virtual OdDbStub * viewportObjectId() const =0
ODRX_DECLARE_MEMBERS(CFxView)
virtual double GetDeviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
double GetPixelWidth() const
virtual bool InsideTransaction() const =0
virtual void screenRect(OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const =0
virtual void screenRect(OdGsDCPoint &lowerLeft, OdGsDCPoint &upperRight) const =0
virtual CFxVectorizeDevice * GetFxVectorizeDevice()=0
virtual int PointToWCS(const OdGsDCPoint &pointSCS, const OdGePlane &plane, OdGePoint3d &pointWCS) const =0
virtual void AddViewReactor(CFxViewReactor *pReactor)=0
virtual bool IsZoomMode() const =0
virtual OdInt16 GetCadWindowId() const =0
double GetPixelHeight() const
virtual const CFxViewportSnapShot * GetPreviousViewSettings() const =0
virtual int PointToWCS(const CFxPointF &pointSCS, const OdGePlane &plane, OdGePoint3d &pointWCS) const =0
virtual OdGeMatrix3d GetCorrectionScreenMatrix() const =0
static OdGeMatrix3d WorldToView(OdDbObjectId id)
static bool IsViewSettingsValid(const OdDbViewport *pViewport)
virtual void SetOrbitMode(bool bVal)=0
const OdGeMatrix3d & GetWorldToEyeMatrix() const
virtual bool ZoomExtentsWCS(const OdGeBoundBlock3d *pExtents)=0
static bool IsViewSettingsValid(const OdGsView *pView)
virtual bool IsPreviousVectorizationAborted() const =0
virtual OdGeMatrix3d getEyeToScreenMatrix() const =0
virtual int PointToView(const OdGePoint2d &pointSCS, OdGePoint2d &viewPt) const =0
virtual OdGeMatrix3d EyeToPaperSpace() const =0
virtual double visibleHeight() const =0
virtual void LeaveDragMode()=0
virtual CFxPicture & GetFxPicture()=0
double GetFocalLength() const
bool InitializeFromView(const CFxView *pView)
virtual double visibleWidth() const =0
virtual void StartTransaction()=0
virtual void SetFieldAspectMaintained(bool)=0
virtual const CFxPicture & GetFxPicture() const =0
static bool IsViewExtentsValid(const OdGeExtents3d &extents)
virtual void EnterDragMode()=0
virtual double screenHeight() const =0
double GetFieldWidth() const
void ApplyToView(CFxView *pView)
virtual void RemoveViewReactor(CFxViewReactor *pReactor)=0
virtual int PointToWCSOnUCS(const OdGePoint3d &pointSCS, OdGePoint3d &pointWCS) const =0
virtual int PointToWCSOnUCS(const OdGsDCPoint &pointSCS, OdGePoint3d &pointWCS) const =0
virtual const OdGePoint3dArray & GetViewportInternalRegionWCS() const =0