CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef ODGSBASEVECTORIZEDEVICE_INC
25 #define ODGSBASEVECTORIZEDEVICE_INC
94 kInvalid = kFirstFlag << 0,
95 kSortRenderTypes = kFirstFlag << 1,
96 kSpatialIndexDisabled = kFirstFlag << 2,
97 kDynamicHighlight = kFirstFlag << 3,
98 kDynamicSubhighlight = kFirstFlag << 4,
99 kSupportBlocks = kFirstFlag << 5,
100 kSupportOverlays = kFirstFlag << 6,
101 kSupportComposition = kFirstFlag << 7,
102 kEnableComposition = kFirstFlag << 8,
103 kMtDisplay = kFirstFlag << 9,
104 kUseSectionGeometryMap = kFirstFlag << 10,
105 kUseVpLtypeScaleMult = kFirstFlag << 11,
106 kUseVpFilterFunction = kFirstFlag << 12,
107 kCullingVolumeEnabled = kFirstFlag << 13,
108 kDisplayOffLayers = kFirstFlag << 14,
109 kSupportInteractiveView= kFirstFlag << 15,
111 kLastFlag = kSupportInteractiveView
214 bool enableLayerVisibilityPerView =
false);
264 const ODCOLORREF* getLogicalPalette(
int &numColors)
const;
272 bool sortRenderTypes()
const;
273 void setSortRenderTypes(
bool flag);
278 bool supportOverlays()
const;
279 void setSupportOverlays(
bool bFlag);
284 bool isSpatialIndexDisabled()
const;
285 void disableSpatialIndex(
bool bSet);
287 bool isCullingVolumeEnabled()
const;
288 void enableCullingVolume(
bool bSet);
290 bool supportDynamicHighlight()
const;
291 bool supportDynamicSubhighlight()
const;
293 bool supportBlocks()
const;
295 bool supportComposition()
const;
297 bool compositionEnabled()
const;
298 void enableComposition(
bool bSet);
300 bool isDisplayOffLayersEnabled()
const;
301 void enableDisplayOffLayers(
bool bSet);
305 return m_slotManager.
contains(acgiId);
340 friend class DisplayScheduler;
489 #endif // ODGSBASEVECTORIZEDEVICE_INC
#define GETBIT(flags, bit)
OdGsUpdateManager * updateManager()
OdRxObjectPtr m_sectionGeometryMap
OdGsModel::RenderType m_transientRenderType
const OdGsView * rootView() const
OdArray< ODCOLORREF, OdMemoryAllocator< ODCOLORREF > > ODGSPALETTE
bool loadDeviceState(OdGsFiler *pFiler)
OdGsModelPtr createModel()
virtual OdUInt32 renderTypeWeight(OdGsModel::RenderType renderType) const
bool isModelCompatible(OdGsModel *pModel) const
bool containsInvalidRects(const OdGsViewImpl &view, bool bIfHas=false, OdUInt32 nOverlays=kGsAllOverlays) const
OdGsOverlayId gsModelOverlay(const OdGsModel *pModel) const
bool isDisplayOffLayersEnabled() const
bool isValidViewportId(const OdUInt32 acgiId) const
OdGsModel::RenderType transientRenderType() const
OdSmartPtr< OdGiTransientManager > OdGiTransientManagerPtr
OdRxObjectPtr m_sectionManager
void setInvalid(bool bSet)
const ODCOLORREF * getLogicalPalette(int &numColors) const
void setSupportOverlays(bool bFlag)
virtual OdGsOverlayId renderTypeOverlay(OdGsModel::RenderType renderType) const
void clearSectionGeometryMap()
OdGiContext * userGiContext() const
void enableCullingVolume(bool bSet)
ODRX_DECLARE_MEMBERS(OdGsBaseVectorizeDevice)
#define SETBIT(flags, bit, value)
void invalidate(const OdGsModel *pModel, const OdGsDCRect &screenRect)
void setUserGiContext(OdGiContext *pUserGiContext)
virtual bool saveLinkedDeviceState(OdGsFiler *pFiler) const
OdGsView * viewAt(int viewIndex)
void addView(OdGsView *pView)
bool useVpFilterFunction() const
bool contains(OdSlotId slotId) const
void setLogicalPalette(const ODCOLORREF *logicalPalette, int numColors)
virtual bool loadLinkedDeviceState(OdGsFiler *pFiler)
void invalidateRegion(const OdGiPathNode &path)
ODCOLORREF getBackgroundColor()
const OdGsView * viewAt(int viewIndex) const
OdGsViewImpl * viewImplAt(int viewIndex)
bool supportInteractiveViewMode() const
OdGsDCRectArray m_invalidRects
bool isCullingVolumeEnabled() const
void unregisterOverlay(OdGsViewImpl *pView, const OdGsModel *pModel)
int isOverlayRequireUpdate(OdGsOverlayId overlayId) const
virtual bool supportParallelDisplay() const
OdRxDictionaryPtr properties()
virtual void invalidate(OdUInt32 nOverlays)
void onViewAdded(OdGsView *pView)
virtual void updateGeometry()
virtual void updateScreen()
const ODCOLORREF * getPalette() const
OdRxObjectPtr deviceSelfReference()
virtual bool saveClientDeviceState(OdGsFiler *pFiler) const
const OdGsViewImpl * viewImplAt(int viewIndex) const
bool eraseView(int viewIndex)
OdGiSectionGeometryManager * getSectionGeometryManager()
void onRealizeForegroundPalette()
bool supportComposition() const
void getSize(OdGsDCRect &outputRect) const
void setUpdateManager(OdGsUpdateManagerPtr pManager)
OdGsBaseVectorizeDevice()
GsVectPerformanceData m_vectPerfData
ODCOLORREF getColor(OdUInt16 colorIndex) const
const OdGsDCRectArray & invalidRects() const
virtual void update(OdGsDCRect *pUpdatedRect)
bool supportOverlays() const
virtual bool isSupportDeviceStateSaving() const
~OdGsBaseVectorizeDevice()
void setSortRenderTypes(bool flag)
bool compositionEnabled() const
virtual bool loadClientDeviceState(OdGsFiler *pFiler)
bool supportDynamicSubhighlight() const
void invalidate(const OdGsViewImpl *pView, const OdGsDCRect &screenRect)
virtual void invalidate(OdUInt32 nOverlays, const OdGsDCRect &screenRect)
void onDisplayChange(int bitsPerPixel, int xPixels, int yPixels)
bool useVpLtypeScaleMult() const
virtual void onOverlayActivated(OdGsOverlayId nOverlay)
void getSnapShot(OdGiRasterImagePtr &pImage, const OdGsDCRect ®ion)
void onRealizeBackgroundPalette()
OdRxObject * mtServices()
OdGiTransientManagerPtr m_transientManager
bool setBackgroundColor(ODCOLORREF backgroundColor)
OdRxObjectPtr m_pDeviceRef
bool supportBlocks() const
void enableDisplayOffLayers(bool bSet)
OdArray< OdGsViewPtr > m_views
virtual bool supportPartialUpdate() const
void viewUpdateScreen(OdGsBaseVectorizeView *pView, bool bUpdate)
#define GS_TOOLKIT_EXPORT
void setSupportInteractiveViewMode(bool bSet)
virtual void onOverlayDeactivated(OdGsOverlayId nOverlay)
const OdGsDCRect & outputRect() const
OdGsUpdateManagerPtr getUpdateManager(bool createIfNotExist=false)
OdGsUpdateManagerPtr m_pUpdateManager
void clearInvalidRects(OdUInt32 nOverlays=kGsAllOverlays)
void enableComposition(bool bSet)
OdGiTransientManager * transientManager()
void setValid(bool bFlag)
bool saveDeviceState(OdGsFiler *pFiler) const
OverlayDataType * getOverlayData(OdGsOverlayId id, bool bActivate=false)
OdGsViewPtr createView(const OdGsClientViewInfo *pViewInfo=0, bool enableLayerVisibilityPerView=false)
GsDeviceOverlayDataContainer m_overlayData
void disableSpatialIndex(bool bSet)
void setTransientManager(OdGiTransientManager *pManager)
void registerOverlay(OdGsViewImpl *pView, const OdGsModel *pModel)
OdRxObjectPtr getSectionGeometryMap()
OdSmartPtr< OdGiContext > m_pUserContext
bool supportDynamicHighlight() const
bool isSpatialIndexDisabled() const
void onSize(const OdGsDCRect &outputRect)
void insertView(int viewIndex, OdGsView *pView)
void invalidate(const OdGsDCRect &screenRect)
bool hasInvalidRects(OdUInt32 nOverlays=kGsAllOverlays) const
bool sortRenderTypes() const
bool mergeInvalidRects(OdGsDCRect *pRect, OdUInt32 nOverlays=kGsAllOverlays) const
bool eraseView(OdGsView *pView)
void setTransientRenderType(OdGsModel::RenderType renderType)
ODCOLORREF getPaletteBackground() const