CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CFxDisplayDevice Class Referenceabstract

#include <FxDisplayDevice.h>

Inheritance diagram for CFxDisplayDevice:
CFxVectorizeDevice OdGsDevice OdRxObject

Public Member Functions

 CFxDisplayDevice (void)
 
 ~CFxDisplayDevice (void) override
 
virtual const CFxDocumentGetFxDocument () const =0
 
virtual void AddDrawHook (DRAWHOOKPROC)=0
 
virtual void RemoveDrawHook (DRAWHOOKPROC)=0
 
virtual void Regen (CFxView *pView)=0
 
virtual void Redraw ()=0
 
virtual void GetScreenPicture (CFxImage &) const =0
 
virtual void InvalidateAllViewports ()=0
 
virtual CFxViewGetMaximizedView ()=0
 
virtual void SetMaximizedView (CFxView *pView)=0
 
virtual OdGiRasterImagePtr GetSlideImage (CFxView *&pView) const =0
 
virtual void SetSlideImage (OdGiRasterImagePtr slide, CFxView *pView)=0
 
virtual ODCOLORREF GetEffectiveBackgroundColor () const =0
 
virtual bool IsSceneUpdatingActive () const =0
 
virtual void SetSceneUpdatingActive (bool bVal)=0
 
virtual void ShrinkMemory ()=0
 
virtual CFxDisplayContext * GetDisplayContext () const =0
 
- Public Member Functions inherited from CFxVectorizeDevice
 ODRX_DECLARE_MEMBERS (CFxVectorizeDevice)
 
 CFxVectorizeDevice ()
 
 ~CFxVectorizeDevice () override
 
virtual CFxViewDrawContextCreateDrawContext (int iRenderEngine, void *pParam, int iRenderMode) const =0
 
virtual void DestroyDrawContext (CFxViewDrawContext *)
 
virtual double GetDeviceWidth () const =0
 
virtual double GetDeviceHeight () const =0
 
virtual bool InitializeLayout (const OdDbObjectId &idLayout)=0
 
virtual void DestroyLayout ()=0
 
virtual void Update (double width, double height, bool bAttachDatabase)=0
 
virtual CFxDatabaseGetFxDatabase ()=0
 
virtual const CFxDatabaseGetFxDatabase () const =0
 
virtual void AddDeviceReactor (CFxDeviceReactor *pReactor)=0
 
virtual void RemoveDeviceReactor (CFxDeviceReactor *pReactor)=0
 
virtual int GetCurrentRenderEngine () const =0
 
virtual OdDbObjectId GetLayoutId () const =0
 
virtual void SetPalette (const ODCOLORREF *pPalette)=0
 
virtual const ODCOLORREFGetPalette () const =0
 
virtual void SetBackground (ODCOLORREF color)=0
 
virtual void SetBackground (ODCOLORREF color, bool usePlotPalette)=0
 
virtual ODCOLORREF GetBackground () const =0
 
virtual ODCOLORREF GetForeground () const =0
 
virtual CFxViewGetActiveFxView ()=0
 
virtual const CFxViewGetActiveFxView () const =0
 
virtual CFxViewGetFxViewByCadWindowId (OdInt16 number)=0
 
virtual CFxViewGetPaperSpaceOverallView ()=0
 
virtual CFxViewHitTest (const OdGsDCPoint &ptInput)=0
 
virtual bool IsRegeneration () const =0
 
virtual void SetRegeneration (bool bRegen)=0
 
virtual void InvalidateGeometry ()=0
 
virtual double GetPixelPerMM () const =0
 
virtual void AdjustBeforeUpdate (CFxViewDrawContext &ctx, CFxViewDrawInfo &rDrawInfo, CFxView &view)=0
 
virtual bool GetPlotArea (OdGsDCRectDouble *out=0)=0
 
virtual void SetPlotArea (const OdGsDCRectDouble &area)=0
 
virtual void SetUsePlotTransparency (bool value)=0
 
virtual bool UsePlotTransparency () const =0
 
virtual bool IsInitialUpdate () const =0
 
- Public Member Functions inherited from OdGsDevice
 ODRX_DECLARE_MEMBERS (OdGsDevice)
 
virtual OdRxDictionaryPtr properties ()=0
 
virtual OdGiContextuserGiContext () const =0
 
virtual void setUserGiContext (OdGiContext *pUserGiContext)=0
 
virtual void invalidate ()=0
 
virtual void invalidate (const OdGsDCRect &screenRect)=0
 
virtual bool isValid () const =0
 
virtual void update (OdGsDCRect *pUpdatedRect=0)=0
 
virtual void onSize (const OdGsDCRect &outputRect)=0
 
virtual void onSize (const OdGsDCRectDouble &outputRect)
 
virtual void getSize (OdGsDCRect &outputRect) const =0
 
virtual void getSize (OdGsDCRectDouble &outputRect) const
 
virtual void onRealizeForegroundPalette ()=0
 
virtual void onRealizeBackgroundPalette ()=0
 
virtual void onDisplayChange (int bitsPerPixel, int xPixels, int yPixels)=0
 
virtual OdGsViewPtr createView (const OdGsClientViewInfo *pViewInfo=0, bool enableLayerVisibilityPerView=false)=0
 
virtual void addView (OdGsView *pView)=0
 
virtual OdGsModelPtr createModel ()=0
 
virtual bool isModelCompatible (OdGsModel *pModel) const
 
virtual bool saveDeviceState (OdGsFiler *pFiler) const
 
virtual bool loadDeviceState (OdGsFiler *pFiler)
 
virtual void insertView (int viewIndex, OdGsView *pView)=0
 
virtual bool eraseView (OdGsView *pView)=0
 
virtual bool eraseView (int viewIndex)=0
 
virtual void eraseAllViews ()=0
 
virtual int numViews () const =0
 
virtual OdGsViewviewAt (int viewIndex)=0
 
virtual bool setBackgroundColor (ODCOLORREF backgroundColor)=0
 
virtual ODCOLORREF getBackgroundColor ()=0
 
virtual void setLogicalPalette (const ODCOLORREF *logicalPalette, int numColors)=0
 
virtual const ODCOLORREFgetLogicalPalette (int &numColors) const =0
 
virtual void getSnapShot (OdGiRasterImagePtr &pImage, const OdGsDCRect &region)=0
 
virtual OdGsUpdateManagerPtr getUpdateManager (bool createIfNotExist=false)
 
virtual void setUpdateManager (OdGsUpdateManagerPtr pManager)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from CFxVectorizeDevice
static void GetModelLineWeights (OdUInt8Array &lweights, double scale)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from CFxVectorizeDevice
virtual void destroyView (OdGsView *pView)=0
 
virtual void BeginDeviceUpdate ()
 
virtual void EndDeviceUpdate ()
 

Detailed Description

Definition at line 43 of file FxDisplayDevice.h.

Constructor & Destructor Documentation

◆ CFxDisplayDevice()

CFxDisplayDevice::CFxDisplayDevice ( void  )

◆ ~CFxDisplayDevice()

CFxDisplayDevice::~CFxDisplayDevice ( void  )
override

Member Function Documentation

◆ AddDrawHook()

virtual void CFxDisplayDevice::AddDrawHook ( DRAWHOOKPROC  )
pure virtual

◆ GetDisplayContext()

virtual CFxDisplayContext * CFxDisplayDevice::GetDisplayContext ( ) const
pure virtual

Description:

◆ GetEffectiveBackgroundColor()

virtual ODCOLORREF CFxDisplayDevice::GetEffectiveBackgroundColor ( ) const
pure virtual

Description: Redraws this object.

◆ GetFxDocument()

virtual const CFxDocument * CFxDisplayDevice::GetFxDocument ( ) const
pure virtual

Description: Returns document.

◆ GetMaximizedView()

virtual CFxView * CFxDisplayDevice::GetMaximizedView ( )
pure virtual

Description: Gets the maximized view.

Return Value: null if it fails, else the maximized view.

◆ GetScreenPicture()

virtual void CFxDisplayDevice::GetScreenPicture ( CFxImage ) const
pure virtual

Description:

Return Value:

◆ GetSlideImage()

virtual OdGiRasterImagePtr CFxDisplayDevice::GetSlideImage ( CFxView *&  pView) const
pure virtual

Gets a slide image. Arguments:

Parameters
[in,out]pView[in,out] If non-null, the view.

Return Value: The slide image.

◆ InvalidateAllViewports()

virtual void CFxDisplayDevice::InvalidateAllViewports ( )
pure virtual

Description: Redraws this object.

◆ IsSceneUpdatingActive()

virtual bool CFxDisplayDevice::IsSceneUpdatingActive ( ) const
pure virtual

Description:

◆ Redraw()

virtual void CFxDisplayDevice::Redraw ( )
pure virtual

Description: Redraws this object.

◆ Regen()

virtual void CFxDisplayDevice::Regen ( CFxView pView)
pure virtual

Description: Regens. Arguments:

Parameters
[in,out]pViewIf non-null, the view.

◆ RemoveDrawHook()

virtual void CFxDisplayDevice::RemoveDrawHook ( DRAWHOOKPROC  )
pure virtual

◆ SetMaximizedView()

virtual void CFxDisplayDevice::SetMaximizedView ( CFxView pView)
pure virtual

Description: Sets a maximized view. Arguments:

Parameters
[in,out]pViewIf non-null, the view.

◆ SetSceneUpdatingActive()

virtual void CFxDisplayDevice::SetSceneUpdatingActive ( bool  bVal)
pure virtual

Description:

◆ SetSlideImage()

virtual void CFxDisplayDevice::SetSlideImage ( OdGiRasterImagePtr  slide,
CFxView pView 
)
pure virtual

Description: Sets a slide image. Arguments:

Parameters
slideThe slide.
[in,out]pViewIf non-null, the view.

◆ ShrinkMemory()

virtual void CFxDisplayDevice::ShrinkMemory ( )
pure virtual

Description:


The documentation for this class was generated from the following file: