CFx SDK Documentation  2020SP3
Classes | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
OdGsBaseVectorizeDevice Class Reference

#include <GsBaseVectorizeDevice.h>

Inheritance diagram for OdGsBaseVectorizeDevice:
OdGsDevice OdRxObject

Classes

struct  GsDeviceOverlayData
 
class  GsDeviceOverlayDataContainer
 

Public Member Functions

bool invalid () const
 
void setInvalid (bool bSet)
 
void setValid (bool bFlag)
 
virtual bool supportPartialUpdate () const
 
void onViewAdded (OdGsView *pView)
 
 ODRX_DECLARE_MEMBERS (OdGsBaseVectorizeDevice)
 
 ~OdGsBaseVectorizeDevice ()
 
OdGiContextuserGiContext () const
 
void setUserGiContext (OdGiContext *pUserGiContext)
 
OdRxDictionaryPtr properties ()
 
 OdGsBaseVectorizeDevice ()
 
int height () const
 
int width () const
 
void invalidate ()
 
void invalidate (const OdGsDCRect &screenRect)
 
virtual void invalidate (OdUInt32 nOverlays)
 
virtual void invalidate (OdUInt32 nOverlays, const OdGsDCRect &screenRect)
 
void invalidate (const OdGsViewImpl *pView, const OdGsDCRect &screenRect)
 
void invalidate (const OdGsModel *pModel, const OdGsDCRect &screenRect)
 
void invalidateRegion (const OdGiPathNode &path)
 
const OdGsDCRectArrayinvalidRects () const
 
const OdGsDCRectArrayinvalidRects (OdGsOverlayId overlayId) const
 
bool isValid () const
 
virtual void update (OdGsDCRect *pUpdatedRect)
 
virtual void updateGeometry ()
 
virtual void updateScreen ()
 
void onSize (const OdGsDCRect &outputRect)
 
const OdGsDCRectoutputRect () const
 
void getSize (OdGsDCRect &outputRect) const
 
void onRealizeForegroundPalette ()
 
void onRealizeBackgroundPalette ()
 
void onDisplayChange (int bitsPerPixel, int xPixels, int yPixels)
 
OdGsViewPtr createView (const OdGsClientViewInfo *pViewInfo=0, bool enableLayerVisibilityPerView=false)
 
void addView (OdGsView *pView)
 
void insertView (int viewIndex, OdGsView *pView)
 
bool eraseView (OdGsView *pView)
 
int numViews () const
 
OdGsViewviewAt (int viewIndex)
 
const OdGsViewviewAt (int viewIndex) const
 
OdGsViewImplviewImplAt (int viewIndex)
 
const OdGsViewImplviewImplAt (int viewIndex) const
 
bool eraseView (int viewIndex)
 
void eraseAllViews ()
 
bool setBackgroundColor (ODCOLORREF backgroundColor)
 
ODCOLORREF getBackgroundColor ()
 
void setLogicalPalette (const ODCOLORREF *logicalPalette, int numColors)
 
void getSnapShot (OdGiRasterImagePtr &pImage, const OdGsDCRect &region)
 
ODCOLORREF getColor (OdUInt16 colorIndex) const
 
ODCOLORREF getPaletteBackground () const
 
const ODCOLORREFgetPalette () const
 
const ODCOLORREFgetLogicalPalette (int &numColors) const
 
OdGsModelPtr createModel ()
 
bool isModelCompatible (OdGsModel *pModel) const
 
const OdGsViewrootView () const
 
bool sortRenderTypes () const
 
void setSortRenderTypes (bool flag)
 
virtual OdUInt32 renderTypeWeight (OdGsModel::RenderType renderType) const
 
OdGsModel::RenderType transientRenderType () const
 
void setTransientRenderType (OdGsModel::RenderType renderType)
 
bool supportOverlays () const
 
void setSupportOverlays (bool bFlag)
 
virtual OdGsOverlayId renderTypeOverlay (OdGsModel::RenderType renderType) const
 
OdGsOverlayId gsModelOverlay (const OdGsModel *pModel) const
 
int isOverlayRequireUpdate (OdGsOverlayId overlayId) const
 
bool isSpatialIndexDisabled () const
 
void disableSpatialIndex (bool bSet)
 
bool isCullingVolumeEnabled () const
 
void enableCullingVolume (bool bSet)
 
bool supportDynamicHighlight () const
 
bool supportDynamicSubhighlight () const
 
bool supportBlocks () const
 
bool supportComposition () const
 
bool compositionEnabled () const
 
void enableComposition (bool bSet)
 
bool isDisplayOffLayersEnabled () const
 
void enableDisplayOffLayers (bool bSet)
 
bool isValidViewportId (const OdUInt32 acgiId) const
 
bool useVpLtypeScaleMult () const
 
bool useVpFilterFunction () const
 
OdGiSectionGeometryManagergetSectionGeometryManager ()
 
OdRxObjectPtr getSectionGeometryMap ()
 
void clearSectionGeometryMap ()
 
OdRxObjectmtServices ()
 
OdGiTransientManagertransientManager ()
 
void setTransientManager (OdGiTransientManager *pManager)
 
virtual bool isSupportDeviceStateSaving () const
 
bool saveDeviceState (OdGsFiler *pFiler) const
 
bool loadDeviceState (OdGsFiler *pFiler)
 
virtual bool saveClientDeviceState (OdGsFiler *pFiler) const
 
virtual bool loadClientDeviceState (OdGsFiler *pFiler)
 
virtual bool saveLinkedDeviceState (OdGsFiler *pFiler) const
 
virtual bool loadLinkedDeviceState (OdGsFiler *pFiler)
 
bool supportInteractiveViewMode () const
 
void setSupportInteractiveViewMode (bool bSet)
 
OdGsUpdateManagerPtr getUpdateManager (bool createIfNotExist=false)
 
void setUpdateManager (OdGsUpdateManagerPtr pManager)
 
OdGsUpdateManagerupdateManager ()
 
OdRxObjectPtr deviceSelfReference ()
 
- Public Member Functions inherited from OdGsDevice
 ODRX_DECLARE_MEMBERS (OdGsDevice)
 
virtual void onSize (const OdGsDCRectDouble &outputRect)
 
virtual void getSize (OdGsDCRectDouble &outputRect) const
 
- 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
 

Public Attributes

GsVectPerformanceData m_vectPerfData
 

Protected Types

enum  {
  kFirstFlag = 1, kInvalid = kFirstFlag << 0, kSortRenderTypes = kFirstFlag << 1, kSpatialIndexDisabled = kFirstFlag << 2,
  kDynamicHighlight = kFirstFlag << 3, kDynamicSubhighlight = kFirstFlag << 4, kSupportBlocks = kFirstFlag << 5, kSupportOverlays = kFirstFlag << 6,
  kSupportComposition = kFirstFlag << 7, kEnableComposition = kFirstFlag << 8, kMtDisplay = kFirstFlag << 9, kUseSectionGeometryMap = kFirstFlag << 10,
  kUseVpLtypeScaleMult = kFirstFlag << 11, kUseVpFilterFunction = kFirstFlag << 12, kCullingVolumeEnabled = kFirstFlag << 13, kDisplayOffLayers = kFirstFlag << 14,
  kSupportInteractiveView = kFirstFlag << 15, kLastFlag = kSupportInteractiveView
}
 

Protected Member Functions

void registerOverlay (OdGsViewImpl *pView, const OdGsModel *pModel)
 
void unregisterOverlay (OdGsViewImpl *pView, const OdGsModel *pModel)
 
virtual void onOverlayActivated (OdGsOverlayId nOverlay)
 
virtual void onOverlayDeactivated (OdGsOverlayId nOverlay)
 
virtual bool supportParallelDisplay () const
 
void initMtServices ()
 
void viewUpdateScreen (OdGsBaseVectorizeView *pView, bool bUpdate)
 

Protected Attributes

OdArray< OdGsViewPtrm_views
 
ODGSPALETTE m_logPalette
 
ODCOLORREF m_Background
 
OdGsDCRect m_outputRect
 
OdSmartPtr< OdGiContextm_pUserContext
 
OdRxObjectPtr m_sectionGeometryMap
 
OdRxObjectPtr m_sectionManager
 
OdGiTransientManagerPtr m_transientManager
 
OdGsModel::RenderType m_transientRenderType
 
OdGsUpdateManagerPtr m_pUpdateManager
 
OdUInt32 m_flags
 
GsDeviceOverlayDataContainer m_overlayData
 
OdRxObjectPtr m_pDeviceRef
 

Friends

class OdGsViewImpl
 
class OdGsBaseVectorizeView
 
class OdGsBaseModule
 
class DisplayScheduler
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class implements bitmapped GUI display windows.

Remarks
OdGsBaseVectorizeDevice objects own, update, and refresh one or more OdGsView objects.

In addition, they responds to operating system notifications, such as window resize, forwarded by the graphics system client.

Corresponding C++ library: Gs

<group OdGs_Classes>

Definition at line 68 of file GsBaseVectorizeDevice.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
kFirstFlag 
kInvalid 
kSortRenderTypes 
kSpatialIndexDisabled 
kDynamicHighlight 
kDynamicSubhighlight 
kSupportBlocks 
kSupportOverlays 
kSupportComposition 
kEnableComposition 
kMtDisplay 
kUseSectionGeometryMap 
kUseVpLtypeScaleMult 
kUseVpFilterFunction 
kCullingVolumeEnabled 
kDisplayOffLayers 
kSupportInteractiveView 
kLastFlag 

Definition at line 90 of file GsBaseVectorizeDevice.h.

Constructor & Destructor Documentation

◆ ~OdGsBaseVectorizeDevice()

OdGsBaseVectorizeDevice::~OdGsBaseVectorizeDevice ( )

◆ OdGsBaseVectorizeDevice()

OdGsBaseVectorizeDevice::OdGsBaseVectorizeDevice ( )

Member Function Documentation

◆ addView()

void OdGsBaseVectorizeDevice::addView ( OdGsView pView)
virtual

Associates the specified Viewport object with this Device object.

Parameters
pView[in] Pointer to the OdGsView object.

Implements OdGsDevice.

◆ clearSectionGeometryMap()

void OdGsBaseVectorizeDevice::clearSectionGeometryMap ( )

◆ compositionEnabled()

bool OdGsBaseVectorizeDevice::compositionEnabled ( ) const
inline

Definition at line 414 of file GsBaseVectorizeDevice.h.

◆ createModel()

OdGsModelPtr OdGsBaseVectorizeDevice::createModel ( )
virtual

Creates a new OdGsModel object, and associates it with this Device object.

Returns
Returns a SmartPointer to the newly created object.

Implements OdGsDevice.

◆ createView()

OdGsViewPtr OdGsBaseVectorizeDevice::createView ( const OdGsClientViewInfo pViewInfo = 0,
bool  enableLayerVisibilityPerView = false 
)
virtual

Creates a new OdGsView object, and associates it with this Device object.

Parameters
pViewInfo[in] Pointer to the Client View Information for this Device object.
enableLayerVisibilityPerView[in] Layer visibility per viewport is supported, if and only if true.
Returns
Returns a SmartPointer to the newly created object.

pViewInfo contains information returned by OdGiViewport::acadWindowId() and OdGiViewportDraw::viewportObjectId()

Implements OdGsDevice.

◆ deviceSelfReference()

OdRxObjectPtr OdGsBaseVectorizeDevice::deviceSelfReference ( )
inline

Definition at line 337 of file GsBaseVectorizeDevice.h.

◆ disableSpatialIndex()

void OdGsBaseVectorizeDevice::disableSpatialIndex ( bool  bSet)
inline

Definition at line 379 of file GsBaseVectorizeDevice.h.

◆ enableComposition()

void OdGsBaseVectorizeDevice::enableComposition ( bool  bSet)
inline

Definition at line 419 of file GsBaseVectorizeDevice.h.

◆ enableCullingVolume()

void OdGsBaseVectorizeDevice::enableCullingVolume ( bool  bSet)
inline

Definition at line 389 of file GsBaseVectorizeDevice.h.

◆ enableDisplayOffLayers()

void OdGsBaseVectorizeDevice::enableDisplayOffLayers ( bool  bSet)
inline

Definition at line 429 of file GsBaseVectorizeDevice.h.

◆ eraseAllViews()

void OdGsBaseVectorizeDevice::eraseAllViews ( )
virtual

Erases all views associated with this Device object.

Implements OdGsDevice.

◆ eraseView() [1/2]

bool OdGsBaseVectorizeDevice::eraseView ( int  viewIndex)
virtual

Erases the specified View object.

Parameters
viewIndex[in] View index.
Returns
Returns true if and only if successful.

Implements OdGsDevice.

◆ eraseView() [2/2]

bool OdGsBaseVectorizeDevice::eraseView ( OdGsView pView)
virtual

Erases the specified View object.

Parameters
pView[in] Pointer to the OdGsView object.
Returns
Returns true if and only if successful.

Implements OdGsDevice.

◆ getBackgroundColor()

ODCOLORREF OdGsBaseVectorizeDevice::getBackgroundColor ( )
virtual

Returns the Background Color of the GUI window of this Device object.

Implements OdGsDevice.

◆ getColor()

ODCOLORREF OdGsBaseVectorizeDevice::getColor ( OdUInt16  colorIndex) const
inline

Returns the specified color in the logical palette of this Device object.

Parameters
colorIndex[in] Color index.

Definition at line 457 of file GsBaseVectorizeDevice.h.

◆ getLogicalPalette()

const ODCOLORREF * OdGsBaseVectorizeDevice::getLogicalPalette ( int &  numColors) const
inlinevirtual

Returns the logical palette of this Device object.

Parameters
numColors[out] Returns number of colors inside logical palette.

Implements OdGsDevice.

Definition at line 469 of file GsBaseVectorizeDevice.h.

◆ getPalette()

const ODCOLORREF * OdGsBaseVectorizeDevice::getPalette ( ) const
inline

Returns the logical palette of this Device object.

Definition at line 463 of file GsBaseVectorizeDevice.h.

◆ getPaletteBackground()

ODCOLORREF OdGsBaseVectorizeDevice::getPaletteBackground ( ) const

Returns background color in the logical palette of this Device object.

◆ getSectionGeometryManager()

OdGiSectionGeometryManager* OdGsBaseVectorizeDevice::getSectionGeometryManager ( )

◆ getSectionGeometryMap()

OdRxObjectPtr OdGsBaseVectorizeDevice::getSectionGeometryMap ( )

◆ getSize()

void OdGsBaseVectorizeDevice::getSize ( OdGsDCRect outputRect) const
inlinevirtual

Returns device surface output rectangle.

Parameters
outputRect[out] Obtains size of the output rectangle in device coordinates (pixels).

Implements OdGsDevice.

Definition at line 451 of file GsBaseVectorizeDevice.h.

◆ getSnapShot()

void OdGsBaseVectorizeDevice::getSnapShot ( OdGiRasterImagePtr pImage,
const OdGsDCRect region 
)
virtual

Currently not implemented.

Implements OdGsDevice.

◆ getUpdateManager()

OdGsUpdateManagerPtr OdGsBaseVectorizeDevice::getUpdateManager ( bool  createIfNotExist = false)
virtual

Returns OdGsUpdateManager associated with current device

Parameters
createIfNotExist[in] Creates instance of OdGsUpdateManager if no one associated with device

Reimplemented from OdGsDevice.

◆ gsModelOverlay()

OdGsOverlayId OdGsBaseVectorizeDevice::gsModelOverlay ( const OdGsModel pModel) const

◆ height()

int OdGsBaseVectorizeDevice::height ( ) const

Returns the height of this Device object in pixels.

◆ initMtServices()

void OdGsBaseVectorizeDevice::initMtServices ( )
protected

◆ insertView()

void OdGsBaseVectorizeDevice::insertView ( int  viewIndex,
OdGsView pView 
)
virtual

Inserts the specified Viewport object to the specified position in this Device object.

Parameters
viewIndex[in] View index.
pView[in] Pointer to the OdGsView object.

Implements OdGsDevice.

◆ invalid()

bool OdGsBaseVectorizeDevice::invalid ( ) const
inline

Returns true in case if device in completely invalid state.

Definition at line 138 of file GsBaseVectorizeDevice.h.

◆ invalidate() [1/6]

void OdGsBaseVectorizeDevice::invalidate ( )
virtual

Marks for refresh the specified region of the GUI window of this Device object.

Parameters
screenRect[in] Rectangular area.
Remarks
If screenRect is not specified, the entire GUI window is marked for refresh.

Implements OdGsDevice.

◆ invalidate() [2/6]

void OdGsBaseVectorizeDevice::invalidate ( const OdGsDCRect screenRect)
virtual

Implements OdGsDevice.

◆ invalidate() [3/6]

void OdGsBaseVectorizeDevice::invalidate ( const OdGsModel pModel,
const OdGsDCRect screenRect 
)

◆ invalidate() [4/6]

void OdGsBaseVectorizeDevice::invalidate ( const OdGsViewImpl pView,
const OdGsDCRect screenRect 
)

◆ invalidate() [5/6]

virtual void OdGsBaseVectorizeDevice::invalidate ( OdUInt32  nOverlays)
virtual

◆ invalidate() [6/6]

virtual void OdGsBaseVectorizeDevice::invalidate ( OdUInt32  nOverlays,
const OdGsDCRect screenRect 
)
virtual

◆ invalidateRegion()

void OdGsBaseVectorizeDevice::invalidateRegion ( const OdGiPathNode path)

◆ invalidRects() [1/2]

const OdGsDCRectArray & OdGsBaseVectorizeDevice::invalidRects ( ) const
inline

Definition at line 476 of file GsBaseVectorizeDevice.h.

◆ invalidRects() [2/2]

const OdGsDCRectArray * OdGsBaseVectorizeDevice::invalidRects ( OdGsOverlayId  overlayId) const
inline

Definition at line 482 of file GsBaseVectorizeDevice.h.

◆ isCullingVolumeEnabled()

bool OdGsBaseVectorizeDevice::isCullingVolumeEnabled ( ) const
inline

Definition at line 384 of file GsBaseVectorizeDevice.h.

◆ isDisplayOffLayersEnabled()

bool OdGsBaseVectorizeDevice::isDisplayOffLayersEnabled ( ) const
inline

Definition at line 424 of file GsBaseVectorizeDevice.h.

◆ isModelCompatible()

bool OdGsBaseVectorizeDevice::isModelCompatible ( OdGsModel pModel) const
virtual

Checks compatibility between specified OdGsModel and this Device object.

Parameters
pModel[in] Model object pointer to check compatibility.
Remarks
Use this method to check compatibility of exist Model object and newly created device to be sure the exist Model object could be used with this Device object.

By default this always returns false. It is must be implemented in inherited classes to enable Model object reuse support. If Device object use overriden Model object it should return false if input Model object doesn't overriden.

Typical way to check compatibility is using of RTTI.

If your metafiles cache doesn't support per-device sharing override and return false.

Reimplemented from OdGsDevice.

◆ isOverlayRequireUpdate()

int OdGsBaseVectorizeDevice::isOverlayRequireUpdate ( OdGsOverlayId  overlayId) const

◆ isSpatialIndexDisabled()

bool OdGsBaseVectorizeDevice::isSpatialIndexDisabled ( ) const
inline

Definition at line 374 of file GsBaseVectorizeDevice.h.

◆ isSupportDeviceStateSaving()

virtual bool OdGsBaseVectorizeDevice::isSupportDeviceStateSaving ( ) const
virtual

◆ isValid()

bool OdGsBaseVectorizeDevice::isValid ( ) const
virtual

Returns true if and only if the GUI window for this Device object is showing the correct image.

Remarks
This implies the follow: No part of GUI area is flagged for refresh. All rasterizations are complete The rendering pipeline has been flushed.

Implements OdGsDevice.

◆ isValidViewportId()

bool OdGsBaseVectorizeDevice::isValidViewportId ( const OdUInt32  acgiId) const
inline

Definition at line 303 of file GsBaseVectorizeDevice.h.

◆ loadClientDeviceState()

virtual bool OdGsBaseVectorizeDevice::loadClientDeviceState ( OdGsFiler pFiler)
virtual

◆ loadDeviceState()

bool OdGsBaseVectorizeDevice::loadDeviceState ( OdGsFiler pFiler)
virtual

Restores device state from filer object.

Parameters
pFiler[in] Filer object.

Reimplemented from OdGsDevice.

◆ loadLinkedDeviceState()

virtual bool OdGsBaseVectorizeDevice::loadLinkedDeviceState ( OdGsFiler pFiler)
virtual

◆ mtServices()

OdRxObject* OdGsBaseVectorizeDevice::mtServices ( )
inline

Definition at line 314 of file GsBaseVectorizeDevice.h.

◆ numViews()

int OdGsBaseVectorizeDevice::numViews ( ) const
virtual

Returns the number of views associated with this Device object.

Implements OdGsDevice.

◆ ODRX_DECLARE_MEMBERS()

OdGsBaseVectorizeDevice::ODRX_DECLARE_MEMBERS ( OdGsBaseVectorizeDevice  )

◆ onDisplayChange()

void OdGsBaseVectorizeDevice::onDisplayChange ( int  bitsPerPixel,
int  xPixels,
int  yPixels 
)
virtual

Notification function called whenever the OS screen resolution and/or color depth have changed.

Parameters
bitsPerPixel[in] Color depth.
xPixels[in] X pixels.
yPixels[in] Y pixels.
Remarks
This function is called after the operation.

Implements OdGsDevice.

◆ onOverlayActivated()

virtual void OdGsBaseVectorizeDevice::onOverlayActivated ( OdGsOverlayId  nOverlay)
protectedvirtual

◆ onOverlayDeactivated()

virtual void OdGsBaseVectorizeDevice::onOverlayDeactivated ( OdGsOverlayId  nOverlay)
protectedvirtual

◆ onRealizeBackgroundPalette()

void OdGsBaseVectorizeDevice::onRealizeBackgroundPalette ( )
virtual

Notification function typically called whenever the GUI window for this Device object loses focus.

Remarks
Causes this Device object to realize its background pallette.

Implements OdGsDevice.

◆ onRealizeForegroundPalette()

void OdGsBaseVectorizeDevice::onRealizeForegroundPalette ( )
virtual
Remarks
Causes this Device object to realize its foreground pallette.

Implements OdGsDevice.

◆ onSize()

void OdGsBaseVectorizeDevice::onSize ( const OdGsDCRect outputRect)
virtual

Notification function called whenever the size of the GUI window for this Device object has changed.

Parameters
outputRect[in] New size of the output rectangle in device coordinates (pixels).
Remarks
This function should not be called if this Device object has a width and/or height of 0, .

Implements OdGsDevice.

◆ onViewAdded()

void OdGsBaseVectorizeDevice::onViewAdded ( OdGsView pView)

◆ outputRect()

const OdGsDCRect & OdGsBaseVectorizeDevice::outputRect ( ) const
inline

Definition at line 445 of file GsBaseVectorizeDevice.h.

◆ properties()

OdRxDictionaryPtr OdGsBaseVectorizeDevice::properties ( )
virtual

Returns a SmartPointer to the dictionary containing the properties for this Device object.

Implements OdGsDevice.

◆ registerOverlay()

void OdGsBaseVectorizeDevice::registerOverlay ( OdGsViewImpl pView,
const OdGsModel pModel 
)
protected

◆ renderTypeOverlay()

virtual OdGsOverlayId OdGsBaseVectorizeDevice::renderTypeOverlay ( OdGsModel::RenderType  renderType) const
virtual

◆ renderTypeWeight()

virtual OdUInt32 OdGsBaseVectorizeDevice::renderTypeWeight ( OdGsModel::RenderType  renderType) const
virtual

◆ rootView()

const OdGsView* OdGsBaseVectorizeDevice::rootView ( ) const

◆ saveClientDeviceState()

virtual bool OdGsBaseVectorizeDevice::saveClientDeviceState ( OdGsFiler pFiler) const
virtual

◆ saveDeviceState()

bool OdGsBaseVectorizeDevice::saveDeviceState ( OdGsFiler pFiler) const
virtual

Stores current device state into filer object.

Parameters
pFiler[in] Filer object.

Reimplemented from OdGsDevice.

◆ saveLinkedDeviceState()

virtual bool OdGsBaseVectorizeDevice::saveLinkedDeviceState ( OdGsFiler pFiler) const
virtual

◆ setBackgroundColor()

bool OdGsBaseVectorizeDevice::setBackgroundColor ( ODCOLORREF  backgroundColor)
virtual

Sets the Background Color of the GUI window of this Device object.

Parameters
backgroundColor[in] Background color.

Implements OdGsDevice.

◆ setInvalid()

void OdGsBaseVectorizeDevice::setInvalid ( bool  bSet)
inline

Reset device completely invalid state flag.

Parameters
bSet[in] New device invalid state.

Definition at line 143 of file GsBaseVectorizeDevice.h.

◆ setLogicalPalette()

void OdGsBaseVectorizeDevice::setLogicalPalette ( const ODCOLORREF logicalPalette,
int  numColors 
)
virtual

Sets the logical pallete to be used by this Device object.

Parameters
logicalPalette[in] Logical palette.
numColors[in] Number of colors in palette.
Remarks
The logical pallete is used with calls to OdGiSubEntityTraits::setColor().

Implements OdGsDevice.

◆ setSortRenderTypes()

void OdGsBaseVectorizeDevice::setSortRenderTypes ( bool  flag)
inline

Definition at line 359 of file GsBaseVectorizeDevice.h.

◆ setSupportInteractiveViewMode()

void OdGsBaseVectorizeDevice::setSupportInteractiveViewMode ( bool  bSet)
inline

Definition at line 328 of file GsBaseVectorizeDevice.h.

◆ setSupportOverlays()

void OdGsBaseVectorizeDevice::setSupportOverlays ( bool  bFlag)
inline

Definition at line 369 of file GsBaseVectorizeDevice.h.

◆ setTransientManager()

void OdGsBaseVectorizeDevice::setTransientManager ( OdGiTransientManager pManager)

◆ setTransientRenderType()

void OdGsBaseVectorizeDevice::setTransientRenderType ( OdGsModel::RenderType  renderType)
inline

Definition at line 439 of file GsBaseVectorizeDevice.h.

◆ setUpdateManager()

void OdGsBaseVectorizeDevice::setUpdateManager ( OdGsUpdateManagerPtr  pManager)
virtual

Associates OdGsUpdateManager with device

Parameters
pManager[in] Pointer to the OdGsUpdateManager

Reimplemented from OdGsDevice.

◆ setUserGiContext()

void OdGsBaseVectorizeDevice::setUserGiContext ( OdGiContext pUserGiContext)
virtual

Sets the User Context object associated with this Device object.

Parameters
pUserGiContext[in] Pointer to the User Context.

Implements OdGsDevice.

◆ setValid()

void OdGsBaseVectorizeDevice::setValid ( bool  bFlag)

Reset all invalidation device state parameters.

Parameters
bFlag[in] New device validity state.

◆ sortRenderTypes()

bool OdGsBaseVectorizeDevice::sortRenderTypes ( ) const
inline

Definition at line 354 of file GsBaseVectorizeDevice.h.

◆ supportBlocks()

bool OdGsBaseVectorizeDevice::supportBlocks ( ) const
inline

Definition at line 404 of file GsBaseVectorizeDevice.h.

◆ supportComposition()

bool OdGsBaseVectorizeDevice::supportComposition ( ) const
inline

Definition at line 409 of file GsBaseVectorizeDevice.h.

◆ supportDynamicHighlight()

bool OdGsBaseVectorizeDevice::supportDynamicHighlight ( ) const
inline

Definition at line 394 of file GsBaseVectorizeDevice.h.

◆ supportDynamicSubhighlight()

bool OdGsBaseVectorizeDevice::supportDynamicSubhighlight ( ) const
inline

Definition at line 399 of file GsBaseVectorizeDevice.h.

◆ supportInteractiveViewMode()

bool OdGsBaseVectorizeDevice::supportInteractiveViewMode ( ) const
inline

Definition at line 327 of file GsBaseVectorizeDevice.h.

◆ supportOverlays()

bool OdGsBaseVectorizeDevice::supportOverlays ( ) const
inline

Definition at line 364 of file GsBaseVectorizeDevice.h.

◆ supportParallelDisplay()

virtual bool OdGsBaseVectorizeDevice::supportParallelDisplay ( ) const
inlineprotectedvirtual

Definition at line 341 of file GsBaseVectorizeDevice.h.

◆ supportPartialUpdate()

virtual bool OdGsBaseVectorizeDevice::supportPartialUpdate ( ) const
virtual

Must be overridden to return true in child class to inform base implementation that child class supports partial update.

◆ transientManager()

OdGiTransientManager* OdGsBaseVectorizeDevice::transientManager ( )

◆ transientRenderType()

OdGsModel::RenderType OdGsBaseVectorizeDevice::transientRenderType ( ) const
inline

Definition at line 434 of file GsBaseVectorizeDevice.h.

◆ unregisterOverlay()

void OdGsBaseVectorizeDevice::unregisterOverlay ( OdGsViewImpl pView,
const OdGsModel pModel 
)
protected

◆ update()

virtual void OdGsBaseVectorizeDevice::update ( OdGsDCRect pUpdatedRect)
virtual

Updates the GUI window for this Device object.

Parameters
pUpdatedRect[out] Pointer to the a rectangle to receive the region updated by this function.
Remarks
This function call is propagated to all OdGsView objects owned by this Device object, thus displaying the correct image on the GUI window of this Device object.

Implements OdGsDevice.

◆ updateGeometry()

virtual void OdGsBaseVectorizeDevice::updateGeometry ( )
virtual

◆ updateManager()

OdGsUpdateManager* OdGsBaseVectorizeDevice::updateManager ( )
inline

Definition at line 332 of file GsBaseVectorizeDevice.h.

◆ updateScreen()

virtual void OdGsBaseVectorizeDevice::updateScreen ( )
virtual

◆ userGiContext()

OdGiContext* OdGsBaseVectorizeDevice::userGiContext ( ) const
virtual

Returns the User Context object associated with this Device object.

Implements OdGsDevice.

◆ useVpFilterFunction()

bool OdGsBaseVectorizeDevice::useVpFilterFunction ( ) const
inline

Definition at line 309 of file GsBaseVectorizeDevice.h.

◆ useVpLtypeScaleMult()

bool OdGsBaseVectorizeDevice::useVpLtypeScaleMult ( ) const
inline

Definition at line 308 of file GsBaseVectorizeDevice.h.

◆ viewAt() [1/2]

OdGsView* OdGsBaseVectorizeDevice::viewAt ( int  viewIndex)
virtual

Returns the specified OdGsView object associated with this Device object.

Parameters
viewIndex[in] View index.

Implements OdGsDevice.

◆ viewAt() [2/2]

const OdGsView* OdGsBaseVectorizeDevice::viewAt ( int  viewIndex) const

◆ viewImplAt() [1/2]

OdGsViewImpl* OdGsBaseVectorizeDevice::viewImplAt ( int  viewIndex)

◆ viewImplAt() [2/2]

const OdGsViewImpl* OdGsBaseVectorizeDevice::viewImplAt ( int  viewIndex) const

◆ viewUpdateScreen()

void OdGsBaseVectorizeDevice::viewUpdateScreen ( OdGsBaseVectorizeView pView,
bool  bUpdate 
)
protected

◆ width()

int OdGsBaseVectorizeDevice::width ( ) const

Returns the width of this Device object in pixels.

Friends And Related Function Documentation

◆ DisplayScheduler

friend class DisplayScheduler
friend

Definition at line 340 of file GsBaseVectorizeDevice.h.

◆ OdGsBaseModule

friend class OdGsBaseModule
friend

Definition at line 73 of file GsBaseVectorizeDevice.h.

◆ OdGsBaseVectorizeView

friend class OdGsBaseVectorizeView
friend

Definition at line 71 of file GsBaseVectorizeDevice.h.

◆ OdGsViewImpl

friend class OdGsViewImpl
friend

Definition at line 70 of file GsBaseVectorizeDevice.h.

Member Data Documentation

◆ m_Background

ODCOLORREF OdGsBaseVectorizeDevice::m_Background
protected

Definition at line 79 of file GsBaseVectorizeDevice.h.

◆ m_flags

OdUInt32 OdGsBaseVectorizeDevice::m_flags
protected

Definition at line 89 of file GsBaseVectorizeDevice.h.

◆ m_logPalette

ODGSPALETTE OdGsBaseVectorizeDevice::m_logPalette
protected

Definition at line 78 of file GsBaseVectorizeDevice.h.

◆ m_outputRect

OdGsDCRect OdGsBaseVectorizeDevice::m_outputRect
protected

Definition at line 80 of file GsBaseVectorizeDevice.h.

◆ m_overlayData

GsDeviceOverlayDataContainer OdGsBaseVectorizeDevice::m_overlayData
protected

Definition at line 127 of file GsBaseVectorizeDevice.h.

◆ m_pDeviceRef

OdRxObjectPtr OdGsBaseVectorizeDevice::m_pDeviceRef
protected

Definition at line 335 of file GsBaseVectorizeDevice.h.

◆ m_pUpdateManager

OdGsUpdateManagerPtr OdGsBaseVectorizeDevice::m_pUpdateManager
protected

Definition at line 87 of file GsBaseVectorizeDevice.h.

◆ m_pUserContext

OdSmartPtr<OdGiContext> OdGsBaseVectorizeDevice::m_pUserContext
protected

Definition at line 81 of file GsBaseVectorizeDevice.h.

◆ m_sectionGeometryMap

OdRxObjectPtr OdGsBaseVectorizeDevice::m_sectionGeometryMap
protected

Definition at line 82 of file GsBaseVectorizeDevice.h.

◆ m_sectionManager

OdRxObjectPtr OdGsBaseVectorizeDevice::m_sectionManager
protected

Definition at line 83 of file GsBaseVectorizeDevice.h.

◆ m_transientManager

OdGiTransientManagerPtr OdGsBaseVectorizeDevice::m_transientManager
protected

Definition at line 84 of file GsBaseVectorizeDevice.h.

◆ m_transientRenderType

OdGsModel::RenderType OdGsBaseVectorizeDevice::m_transientRenderType
protected

Definition at line 85 of file GsBaseVectorizeDevice.h.

◆ m_vectPerfData

GsVectPerformanceData OdGsBaseVectorizeDevice::m_vectPerfData

Definition at line 346 of file GsBaseVectorizeDevice.h.

◆ m_views

OdArray<OdGsViewPtr> OdGsBaseVectorizeDevice::m_views
protected

Definition at line 77 of file GsBaseVectorizeDevice.h.


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