CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
CFxRVTVectorizeDevice Class Reference

#include <FxBIMRevitVectorizer.h>

Inheritance diagram for CFxRVTVectorizeDevice:
OdGsBaseVectorizeDevice OdGsDevice OdRxObject

Public Member Functions

void SetConvertContext (convert_context ctx, OdDbDatabase *pDwgDb)
 
- Public Member Functions inherited from OdGsBaseVectorizeDevice
bool invalid () const
 
void setInvalid (bool bSet)
 
void setValid (bool bFlag)
 
virtual bool supportPartialUpdate () const
 
virtual bool supportPartialScreenUpdate () 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
 
int hOffset () const
 
int vOffset () 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 supportHighlightTwoPass () const
 
void setSupportHighlightTwoPass (bool bOn)
 
bool isMtDisplay () const
 
bool supportDynamicHighlight () const
 
bool supportDynamicSubhighlight () const
 
bool supportSelectionStyles () 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
 
virtual 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 ()
 
bool isSuppressHide () const
 
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
 

Protected Member Functions

OdGsViewPtr createView (const OdGsClientViewInfo *pViewInfo=0, bool enableLayerVisibilityPerView=false) override
 
- Protected Member Functions inherited from OdGsBaseVectorizeDevice
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)
 
void collectInvalidRectsFromVports (OdGsOverlayId nOverlay, GsDeviceOverlayData &d) const
 
void getInvalidRectsFromVports (OdUInt32 nOverlays=kGsAllOverlays)
 

Protected Attributes

convert_context m_ctx
 
OdDbDatabasem_pDwgDatabase = nullptr
 
- Protected Attributes inherited from OdGsBaseVectorizeDevice
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
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 
- Public Attributes inherited from OdGsBaseVectorizeDevice
GsVectPerformanceData m_vectPerfData
 
- Protected Types inherited from OdGsBaseVectorizeDevice
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 , kHighlightTwoPass = kFirstFlag << 16 , kSupportSelectionStyles = kFirstFlag << 17 , kSuppressHide = kFirstFlag << 18 ,
  kLastFlag = kSuppressHide
}
 

Detailed Description

Definition at line 144 of file FxBIMRevitVectorizer.h.

Member Function Documentation

◆ createView()

OdGsViewPtr CFxRVTVectorizeDevice::createView ( const OdGsClientViewInfo * pViewInfo = 0,
bool enableLayerVisibilityPerView = false )
overrideprotectedvirtual

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.

◆ SetConvertContext()

void CFxRVTVectorizeDevice::SetConvertContext ( convert_context ctx,
OdDbDatabase * pDwgDb )

Member Data Documentation

◆ m_ctx

convert_context CFxRVTVectorizeDevice::m_ctx
protected

Definition at line 155 of file FxBIMRevitVectorizer.h.

◆ m_pDwgDatabase

OdDbDatabase* CFxRVTVectorizeDevice::m_pDwgDatabase = nullptr
protected

Definition at line 156 of file FxBIMRevitVectorizer.h.


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