CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
23 #ifndef __OD_GS_VIEW_LOCAL_ID__
24 #define __OD_GS_VIEW_LOCAL_ID__
88 : m_pLocalIdModel(
NULL)
107 if (m_pLocalIdModel == pModel)
109 m_pLocalIdModel = pModel;
110 return m_localId = getLocalViewportId(pModel);
118 m_pLocalIdModel =
NULL;
124 return m_localIdRefs;
128 #define ODGS_LOCAL_IDS
132 #endif // __OD_GS_VIEW_LOCAL_ID__
virtual OdUInt32 getViewId(OdGsViewImpl *pView)=0
OdSmartPtr< OdGsBaseModelLocalIds > OdGsBaseModelLocalIdsPtr
const OdGsBaseModel * m_pLocalIdModel
virtual void onViewDelete(OdGsViewImpl *pView)=0
OdArray< OdGsBaseModelLocalIdsPtr > m_localIdRefs
void setView(OdGsViewImpl *pView)
OdUInt32 localViewportId(const OdGsBaseModel *pModel) const
OdUInt32 getLocalViewportId(const OdGsBaseModel *pModel) const
OdGsViewLocalId(OdGsViewImpl *pView=NULL)
virtual OdUInt32 registerView(OdGsViewImpl *pView)=0
static OdSmartPtr< OdGsBaseModelLocalIds > createObject()
virtual OdUInt32 getMaxId() const =0
OdGsViewImpl * view() const
#define GS_TOOLKIT_EXPORT
virtual void resetViewId(OdGsViewImpl *pView, OdUInt32 nId)=0
OdArray< OdGsBaseModelLocalIdsPtr > & refs()