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

#include <FxVectorizeDevice.h>

Inheritance diagram for CFxVectorizeDevice:
OdGsDevice OdRxObject CFxDisplayDevice

Public Member Functions

 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
 

Static Public Member Functions

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

virtual void destroyView (OdGsView *pView)=0
 
virtual void BeginDeviceUpdate ()
 
virtual void EndDeviceUpdate ()
 

Friends

class CFxViewImpl
 
class CFxViewDrawInfo
 

Detailed Description

Description: Represents a device vectorization. Library: DDKERNEL

Definition at line 41 of file FxVectorizeDevice.h.

Constructor & Destructor Documentation

◆ CFxVectorizeDevice()

CFxVectorizeDevice::CFxVectorizeDevice ( )

Constructor.

◆ ~CFxVectorizeDevice()

CFxVectorizeDevice::~CFxVectorizeDevice ( )
override

Destructor.

Member Function Documentation

◆ AddDeviceReactor()

virtual void CFxVectorizeDevice::AddDeviceReactor ( CFxDeviceReactor pReactor)
pure virtual

Description:

Return Value:

◆ AdjustBeforeUpdate()

virtual void CFxVectorizeDevice::AdjustBeforeUpdate ( CFxViewDrawContext ctx,
CFxViewDrawInfo rDrawInfo,
CFxView view 
)
pure virtual

Description: Perform adjustments prior to rendering the view to accomodate rounding or clipping errors

◆ BeginDeviceUpdate()

virtual void CFxVectorizeDevice::BeginDeviceUpdate ( )
inlineprotectedvirtual

Definition at line 233 of file FxVectorizeDevice.h.

◆ CreateDrawContext()

virtual CFxViewDrawContext * CFxVectorizeDevice::CreateDrawContext ( int  iRenderEngine,
void pParam,
int  iRenderMode 
) const
pure virtual

Description:

Return Value:

◆ DestroyDrawContext()

virtual void CFxVectorizeDevice::DestroyDrawContext ( CFxViewDrawContext )
virtual

Description:

Return Value:

◆ DestroyLayout()

virtual void CFxVectorizeDevice::DestroyLayout ( )
pure virtual

Description:: Destroys layout.

Return Value:

◆ destroyView()

virtual void CFxVectorizeDevice::destroyView ( OdGsView pView)
protectedpure virtual

◆ EndDeviceUpdate()

virtual void CFxVectorizeDevice::EndDeviceUpdate ( )
inlineprotectedvirtual

Definition at line 234 of file FxVectorizeDevice.h.

◆ GetActiveFxView() [1/2]

virtual const CFxView * CFxVectorizeDevice::GetActiveFxView ( ) const
pure virtual

Description: Returns active viewport

◆ GetActiveFxView() [2/2]

virtual CFxView * CFxVectorizeDevice::GetActiveFxView ( )
pure virtual

Description: Returns active viewport

◆ GetBackground()

virtual ODCOLORREF CFxVectorizeDevice::GetBackground ( ) const
pure virtual

Description: Returns background color

◆ GetCurrentRenderEngine()

virtual int CFxVectorizeDevice::GetCurrentRenderEngine ( ) const
pure virtual

Description:

Return Value:

◆ GetDeviceHeight()

virtual double CFxVectorizeDevice::GetDeviceHeight ( ) const
pure virtual

Description: Returns height of device.

◆ GetDeviceWidth()

virtual double CFxVectorizeDevice::GetDeviceWidth ( ) const
pure virtual

Description: Returns width of device.

◆ GetForeground()

virtual ODCOLORREF CFxVectorizeDevice::GetForeground ( ) const
pure virtual

Description: Returns foreground color

◆ GetFxDatabase() [1/2]

virtual const CFxDatabase * CFxVectorizeDevice::GetFxDatabase ( ) const
pure virtual

Description:

Return Value:

◆ GetFxDatabase() [2/2]

virtual CFxDatabase * CFxVectorizeDevice::GetFxDatabase ( )
pure virtual

Description:

Return Value:

◆ GetFxViewByCadWindowId()

virtual CFxView * CFxVectorizeDevice::GetFxViewByCadWindowId ( OdInt16  number)
pure virtual

Description: Returns view with id matches Window Id, that corresponds to CVPORT value.

◆ GetLayoutId()

virtual OdDbObjectId CFxVectorizeDevice::GetLayoutId ( ) const
pure virtual

Description:

Return Value:

◆ GetModelLineWeights()

static void CFxVectorizeDevice::GetModelLineWeights ( OdUInt8Array lweights,
double  scale 
)
static

Description: Returns standard lineweight values.

◆ GetPalette()

virtual const ODCOLORREF * CFxVectorizeDevice::GetPalette ( ) const
pure virtual

Description: Returns palette

◆ GetPaperSpaceOverallView()

virtual CFxView * CFxVectorizeDevice::GetPaperSpaceOverallView ( )
pure virtual

Description: Returns paper space overall view

Return Value:

◆ GetPixelPerMM()

virtual double CFxVectorizeDevice::GetPixelPerMM ( ) const
pure virtual

Description:

◆ GetPlotArea()

virtual bool CFxVectorizeDevice::GetPlotArea ( OdGsDCRectDouble out = 0)
pure virtual

Description: Gets plottable (clipping) area.

◆ HitTest()

virtual CFxView * CFxVectorizeDevice::HitTest ( const OdGsDCPoint ptInput)
pure virtual

Description: Returns view by screen point.

◆ InitializeLayout()

virtual bool CFxVectorizeDevice::InitializeLayout ( const OdDbObjectId idLayout)
pure virtual

Description:: Initializes layout by idLayout.

Return Value:

◆ InvalidateGeometry()

virtual void CFxVectorizeDevice::InvalidateGeometry ( )
pure virtual

Description:

◆ IsInitialUpdate()

virtual bool CFxVectorizeDevice::IsInitialUpdate ( ) const
pure virtual

◆ IsRegeneration()

virtual bool CFxVectorizeDevice::IsRegeneration ( ) const
pure virtual

Description:

◆ ODRX_DECLARE_MEMBERS()

CFxVectorizeDevice::ODRX_DECLARE_MEMBERS ( CFxVectorizeDevice  )

◆ RemoveDeviceReactor()

virtual void CFxVectorizeDevice::RemoveDeviceReactor ( CFxDeviceReactor pReactor)
pure virtual

Description:

Return Value:

◆ SetBackground() [1/2]

virtual void CFxVectorizeDevice::SetBackground ( ODCOLORREF  color)
pure virtual

Description: Sets background color

◆ SetBackground() [2/2]

virtual void CFxVectorizeDevice::SetBackground ( ODCOLORREF  color,
bool  usePlotPalette 
)
pure virtual

Description: Sets background color

◆ SetPalette()

virtual void CFxVectorizeDevice::SetPalette ( const ODCOLORREF pPalette)
pure virtual

Description: Sets palette

◆ SetPlotArea()

virtual void CFxVectorizeDevice::SetPlotArea ( const OdGsDCRectDouble area)
pure virtual

Description: Adjusts plottable (clipping) area.

◆ SetRegeneration()

virtual void CFxVectorizeDevice::SetRegeneration ( bool  bRegen)
pure virtual

Description:

◆ SetUsePlotTransparency()

virtual void CFxVectorizeDevice::SetUsePlotTransparency ( bool  value)
pure virtual

Description:

◆ Update()

virtual void CFxVectorizeDevice::Update ( double  width,
double  height,
bool  bAttachDatabase 
)
pure virtual

Description: Updates screen

Return Value:

◆ UsePlotTransparency()

virtual bool CFxVectorizeDevice::UsePlotTransparency ( ) const
pure virtual

Friends And Related Function Documentation

◆ CFxViewDrawInfo

friend class CFxViewDrawInfo
friend

Definition at line 236 of file FxVectorizeDevice.h.

◆ CFxViewImpl

friend class CFxViewImpl
friend

Definition at line 43 of file FxVectorizeDevice.h.


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