25 #ifndef ODTRVISRENDITION
26 #define ODTRVISRENDITION
395 bool bChildsModified,
bool bMarkersModified) = 0;
984 bool bChildsModified,
bool bMarkersModified)
1192 bool bChildsModified,
bool bMarkersModified);
1385 bool bChildsModified,
bool bMarkersModified);
#define SETBIT(flags, bit, value)
#define GETBIT(flags, bit)
const OdTrVisId kTrVisNegativeId
OdSmartPtr< OdTrVisRendition > OdTrVisRenditionPtr
OdSmartPtr< OdTrVisSharingProviderClient > OdTrVisSharingProviderClientPtr
virtual void onViewportDeleted(OdTrVisViewportId)
virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId, bool)
virtual void onVisualStyleModified(OdTrVisVisualStyleId, const OdTrVisVisualStyle &)
virtual void onTextureAdded(OdTrVisTextureId, const OdTrVisTextureDef &)
virtual void onBackgroundChanged(OdTrVisViewportId, OdTrVisFlatMetafileContainerPtr, OdTrVisProgramId=kTrVisNegativeId)
virtual MtHandlerType mtDataTypeProcessing(DataType &) const
virtual void onMetafileOrderChanged(OdTrVisViewportId, OdTrVisOverlayId, const OdTrVisDisplayId *, OdUInt32)
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &)
virtual void onMaterialDeleted(OdTrVisMaterialId)
virtual void onMetafileHlBranchAttached(OdTrVisMetafileId, OdTrVisHlBranchId)
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId)
virtual void onDeviceUpdateEnd(OdTrVisRenderClient *)
virtual OdTrVisProgramId queryProgramId(OdGsView::RenderMode, OdTrVisVisualStyleId=kTrVisNegativeId, OdTrVisGeomType=OdTrVisGeomType_Default, OdUInt32=0) const
virtual void onDeviceUpdateBegin(OdTrVisRenderClient *)
virtual void onLayerDeleted(OdTrVisLayerId)
virtual void onOverlayViewParamsOverride(OdTrVisViewportId, OdTrVisOverlayId, bool, const OdTrVisViewParamsDef &=OdTrVisViewParamsDef())
virtual void onViewportModified(OdTrVisViewportId, const OdTrVisViewportDef &, OdUInt32=kViewportModAll)
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId, bool)
virtual void onExtentsChanged(OdTrVisViewportId, OdTrVisOverlayId, const OdTrVisExtentsDef &)
virtual void onOverlayDeleted(OdTrVisOverlayId)
virtual void onOverlayAdded(OdTrVisOverlayId, const OdTrVisOverlayDef &)
virtual void onVisualStyleAdded(OdTrVisVisualStyleId, const OdTrVisVisualStyle &)
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId, bool)
virtual void querySnapshot(OdUInt8 *, long, long, long, long)
virtual void onPartialUpdateList(OdTrVisViewportId, OdTrVisOverlayId, const OdTrVisDisplayId *, OdUInt32)
virtual void obtainClientSettings(ClientSettings &)
virtual IdRegistrator * idRegistrator() const
virtual bool queryMetafileStream(OdTrVisDisplayId, const OdTrVisFlatMetafileContainer **) const
virtual void onHlBranchDeleted(OdTrVisHlBranchId)
virtual void onMetafileOrderChanged(OdTrVisViewportId, OdTrVisOverlayId, OdUInt32, OdUInt32, const OdTrVisDisplayId *, OdUInt32)
virtual void onViewportAdded(OdTrVisViewportId)
virtual void onLayerAdded(OdTrVisLayerId, const OdTrVisLayerDef &)
virtual void onMetafileFadingChanged(OdTrVisMetafileId, bool)
virtual void onHlBranchAdded(OdTrVisHlBranchId, const OdTrVisHlBranchDef &)
virtual void onTextureDeleted(OdTrVisTextureId)
virtual OdUInt32 queryRenditionCaps(OdUInt32=0xFFFFFFFF) const
virtual void onHlBranchModified(OdTrVisHlBranchId, const OdTrVisHlBranchDef &, bool, bool)
virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId, const OdGsDCRectArray &, bool=false)
virtual bool loadRenditionState(OdGsFiler *, OdTrVisIdMap *)
virtual void onViewportInserted(OdTrVisViewportId, int)
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &)
virtual void onMetafileDeleted(OdTrVisMetafileId)
virtual void onLayerModified(OdTrVisLayerId, const OdTrVisLayerDef &)
virtual bool saveRenditionState(OdGsFiler *) const
virtual void onMetafileHlBranchDetached(OdTrVisMetafileId)
virtual void onLightsListChanged(OdTrVisViewportId, float[4], bool, const OdTrVisLightDef *, OdUInt32)
virtual void onMaterialAdded(OdTrVisMaterialId, const OdTrVisMaterialDef &)
virtual OdTrVisSharingProviderClientPtr createSharingProvider()
OdTrVisRenditionDef::IdRegistratorStub m_IdRegistratorStub
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId, OdInt16)
virtual void onViewportAdded(OdTrVisViewportId viewportId)=0
virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef)=0
virtual void onLayerDeleted(OdTrVisLayerId layerId)=0
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight)=0
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId)=0
virtual void onDeviceUpdateBegin(OdTrVisRenderClient *pDevice)=0
virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn, const OdTrVisLightDef *pList, OdUInt32 nEntries)=0
ODRX_USING_HEAP_OPERATORS(OdRxObject)
virtual void querySnapshot(OdUInt8 *pScanlines, long minX, long minY, long nWidth, long nHeight)=0
virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef)=0
virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId)=0
virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef)=0
virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)=0
virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef)=0
virtual void onMetafileHlBranchDetached(OdTrVisMetafileId metafileId)=0
virtual void onMaterialDeleted(OdTrVisMaterialId materialId)=0
@ kSupportCompositeMetafiles
@ kSupportSnapshotQueries
@ kUpdateClientSectionOnly
@ kUpdateShareableSectionOnly
virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)=0
virtual bool loadRenditionState(OdGsFiler *pFiler, OdTrVisIdMap *pIdMap)=0
virtual void onPartialUpdateList(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)=0
virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride, const OdTrVisViewParamsDef &pDef=OdTrVisViewParamsDef())=0
virtual OdUInt32 queryRenditionCaps(OdUInt32 requestFor=0xFFFFFFFF) const =0
virtual void onMetafileDeleted(OdTrVisMetafileId metafileId)=0
virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())=0
bool isSupportSnapshotQueries() const
bool updateClientDependentSectionOnly() const
virtual void onMetafileHlBranchAttached(OdTrVisMetafileId metafileId, OdTrVisHlBranchId hlBranchId)=0
virtual OdTrVisProgramId queryProgramId(OdGsView::RenderMode mode, OdTrVisVisualStyleId vsId=kTrVisNegativeId, OdTrVisGeomType geomType=OdTrVisGeomType_Default, OdUInt32 shadingFlags=0) const =0
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility)=0
virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex)=0
virtual void onTextureDeleted(OdTrVisTextureId textureId)=0
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)=0
virtual void obtainClientSettings(ClientSettings &clientSets)=0
bool isSupportOverlayBuffers() const
virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef, bool bChildsModified, bool bMarkersModified)=0
bool isSupportCompositeMetafiles() const
virtual MtHandlerType mtDataTypeProcessing(DataType &type) const =0
virtual OdTrVisSharingProviderClientPtr createSharingProvider()=0
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)=0
KindOfViewportModification
@ kViewportModLineweights
@ kViewportModOrientation
virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)=0
bool isSupportGsStateSaving() const
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef)=0
virtual bool saveRenditionState(OdGsFiler *pFiler) const =0
virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)=0
virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod=kViewportModAll)=0
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility)=0
bool updateShareableSectionOnly() const
virtual void onViewportDeleted(OdTrVisViewportId viewportId)=0
virtual void onDeviceUpdateEnd(OdTrVisRenderClient *pDevice)=0
virtual void onOverlayDeleted(OdTrVisOverlayId overlayId)=0
virtual void onBackgroundChanged(OdTrVisViewportId viewportId, OdTrVisFlatMetafileContainerPtr pStream, OdTrVisProgramId baseProgramId=kTrVisNegativeId)=0
virtual bool queryMetafileStream(OdTrVisDisplayId displayId, const OdTrVisFlatMetafileContainer **pStream) const =0
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder)=0
virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId overlayId, const OdGsDCRectArray &invalidRects, bool bOverlayInvalid=false)=0
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef)=0
@ kDisplayCodeUnhighlight
virtual IdRegistrator * idRegistrator() const =0
virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade)=0
virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef)=0
bool isSupportVisualStyles() const
bool isSupportPartialUpdate() const
virtual void onDeviceUpdateBegin(OdTrVisRenderClient *pDevice)
OdMutexPtr m_pGlobalMutex
virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())
virtual void onBackgroundChanged(OdTrVisViewportId viewportId, OdTrVisFlatMetafileContainerPtr pStream, OdTrVisProgramId baseProgramId=kTrVisNegativeId)
virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId)
virtual void onDeviceUpdateEnd(OdTrVisRenderClient *pDevice)
virtual void obtainClientSettings(ClientSettings &clientSets)
virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride, const OdTrVisViewParamsDef &pDef=OdTrVisViewParamsDef())
virtual void onOverlayDeleted(OdTrVisOverlayId overlayId)
virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef)
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility)
virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef)
virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade)
virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef)
virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder)
virtual void onMetafileDeleted(OdTrVisMetafileId metafileId)
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef)
virtual void onMaterialDeleted(OdTrVisMaterialId materialId)
virtual void onTextureDeleted(OdTrVisTextureId textureId)
virtual void onLayerDeleted(OdTrVisLayerId layerId)
struct OdTrVisRenditionMt::DataTypeEntry m_dataTypes[kNDataTypes]
OdStaticRxObject< OdTrVisRenditionRecorder > m_recordRenditionHandler
virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef, bool bChildsModified, bool bMarkersModified)
OdStaticRxObject< OdTrVisRenditionDef > m_skipRenditionHandler
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight)
virtual void onViewportAdded(OdTrVisViewportId viewportId)
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef)
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId)
OdMutexPtr m_pRecordMutex
virtual void onMetafileHlBranchDetached(OdTrVisMetafileId metafileId)
virtual bool queryMetafileStream(OdTrVisDisplayId displayId, const OdTrVisFlatMetafileContainer **pStream) const
virtual void onMetafileHlBranchAttached(OdTrVisMetafileId metafileId, OdTrVisHlBranchId hlBranchId)
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility)
OdTrVisRenditionMt::IdRegistratorMt m_mtRegistrator
virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef)
virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
virtual IdRegistrator * idRegistrator() const
virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef)
virtual OdTrVisProgramId queryProgramId(OdGsView::RenderMode mode, OdTrVisVisualStyleId vsId=kTrVisNegativeId, OdTrVisGeomType geomType=OdTrVisGeomType_Default, OdUInt32 shadingFlags=0) const
virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn, const OdTrVisLightDef *pList, OdUInt32 nEntries)
virtual void onViewportDeleted(OdTrVisViewportId viewportId)
void init(OdTrVisRendition *pRendition)
virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex)
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)
virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod=kViewportModAll)
virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
virtual OdTrVisUniqueID * get(DataType type, OdTrVisId id, bool bKill=false) const
virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex)
virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef)
void playRecords(OdTrVisRendition *pRendition, bool bClear=false)
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight)
virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId)
virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef, bool bChildsModified, bool bMarkersModified)
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef)
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility)
virtual void kill(DataType type, OdTrVisId id)
virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId)
virtual void onLayerDeleted(OdTrVisLayerId layerId)
virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId)
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef)
virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef)
virtual void onViewportDeleted(OdTrVisViewportId viewportId)
virtual void onOverlayDeleted(OdTrVisOverlayId overlayId)
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder)
virtual MtHandlerType mtDataTypeProcessing(DataType &) const
CallRecord * m_pLastRecord
virtual void onBackgroundChanged(OdTrVisViewportId viewportId, OdTrVisFlatMetafileContainerPtr pStream, OdTrVisProgramId baseProgramId=kTrVisNegativeId)
CallRecord * m_pFirstRecord
virtual void onMaterialDeleted(OdTrVisMaterialId materialId)
virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef)
virtual OdTrVisRendition::IdRegistrator * idRegistrator() const
virtual void onViewportAdded(OdTrVisViewportId viewportId)
virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId)
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef)
virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride, const OdTrVisViewParamsDef &pDef=OdTrVisViewParamsDef())
virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn, const OdTrVisLightDef *pList, OdUInt32 nEntries)
virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod=kViewportModAll)
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility)
virtual void onTextureDeleted(OdTrVisTextureId textureId)
virtual void onMetafileHlBranchAttached(OdTrVisMetafileId metafileId, OdTrVisHlBranchId hlBranchId)
virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId)
virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade)
void appendRecord(CallRecord *pRecord)
~OdTrVisRenditionRecorder()
OdTrVisRenditionRecorder()
virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())
virtual void onMetafileDeleted(OdTrVisMetafileId metafileId)
virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef)
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)
virtual void onMetafileHlBranchDetached(OdTrVisMetafileId metafileId)
virtual OdTrVisSharingProviderClientPtr createSharingProvider()
virtual void onMetafileDeleted(OdTrVisMetafileId metafileId)
const OdTrVisRendition * getRedirection() const
virtual void onLayerModified(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
OdTrVisRendition * getInformationalRedirection()
virtual bool loadRenditionState(OdGsFiler *pFiler, OdTrVisIdMap *pIdMap)
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)
bool hasRedirection() const
virtual void onExtentsChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef)
virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex)
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight)
virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef)
virtual OdTrVisProgramId queryProgramId(OdGsView::RenderMode mode, OdTrVisVisualStyleId vsId=kTrVisNegativeId, OdTrVisGeomType geomType=OdTrVisGeomType_Default, OdUInt32 shadingFlags=0) const
virtual void onViewportAdded(OdTrVisViewportId viewportId)
void setRedirection(OdTrVisRendition *pRedir)
virtual void onLightsListChanged(OdTrVisViewportId viewportId, float ambientLight[4], bool bDefaultLightsOn, const OdTrVisLightDef *pList, OdUInt32 nEntries)
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId)
virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef)
virtual void onLayerViewportPropsOverride(OdTrVisViewportId viewportId, OdTrVisLayerId layerId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())
virtual void onBackgroundChanged(OdTrVisViewportId viewportId, OdTrVisFlatMetafileContainerPtr pStream, OdTrVisProgramId baseProgramId=kTrVisNegativeId)
virtual void onDeviceUpdateEnd(OdTrVisRenderClient *pDevice)
virtual bool queryMetafileStream(OdTrVisDisplayId displayId, const OdTrVisFlatMetafileContainer **pStream) const
virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride, const OdTrVisViewParamsDef &pDef=OdTrVisViewParamsDef())
virtual void onTextureDeleted(OdTrVisTextureId textureId)
virtual void onViewportDeleted(OdTrVisViewportId viewportId)
void setRedirections(OdTrVisRendition *pRedir)
virtual void onLayerDeleted(OdTrVisLayerId layerId)
bool hasInformationalRedirection() const
OdTrVisRendition * m_pInformationalRedir
virtual void onDeviceUpdateBegin(OdTrVisRenderClient *pDevice)
virtual IdRegistrator * idRegistrator() const
virtual void onPartialUpdateList(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef)
virtual void onHlBranchAdded(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef)
virtual bool saveRenditionState(OdGsFiler *pFiler) const
virtual void onMetafileHlBranchDetached(OdTrVisMetafileId metafileId)
void setInformationalRedirection(OdTrVisRendition *pRedir)
virtual void onHlBranchModified(OdTrVisHlBranchId hlBranchId, const OdTrVisHlBranchDef &pDef, bool bChildsModified, bool bMarkersModified)
virtual void onViewportModified(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef, OdUInt32 kindOfMod=kViewportModAll)
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder)
virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)
virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade)
virtual void querySnapshot(OdUInt8 *pScanlines, long minX, long minY, long nWidth, long nHeight)
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef)
OdTrVisRendition * m_pRedir
virtual void onMetafileHlBranchAttached(OdTrVisMetafileId metafileId, OdTrVisHlBranchId hlBranchId)
virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
virtual OdUInt32 queryRenditionCaps(OdUInt32 requestFor=0xFFFFFFFF) const
virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
OdTrVisRendition * getRedirection()
virtual void onMaterialDeleted(OdTrVisMaterialId materialId)
bool hasRedirections() const
virtual void obtainClientSettings(ClientSettings &clientSets)
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
virtual void onHlBranchDeleted(OdTrVisHlBranchId hlBranchId)
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef)
virtual MtHandlerType mtDataTypeProcessing(DataType &type) const
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility)
virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId overlayId, const OdGsDCRectArray &invalidRects, bool bOverlayInvalid=false)
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility)
virtual void onOverlayDeleted(OdTrVisOverlayId overlayId)
const OdTrVisRendition * getInformationalRedirection() const
GLuint GLsizei GLsizei GLint GLenum * type
OdTrVisInfoString m_glRenderer
OdTrVisInfoString m_glSLVersion
OdTrVisInfoString m_glVersion
OdTrVisInfoString m_glVendor
OdTrVisInfoString m_glExtensions
bool isSupportBGRA() const
void setSupportNonPow2TexturesWrapping(bool bSet)
void setSupportBGRA(bool bSet)
void setShadeByVertex(bool bSet)
bool isLutPalette() const
bool isShadeByVertex() const
void setLutPalette(bool bSet)
bool isLutOverride() const
bool isSupportNonPow2Textures() const
OdUInt32 m_nMaxFragShadUniformVecs
OdUInt32 m_nTextureAlignment
bool isLutMonochrome() const
bool isSupportBGR() const
void setSupportBGR(bool bSet)
bool isRequireBGR() const
bool overridenLutPaletteState(bool bDeviceSetting) const
void setLutOverride(bool bSet)
OdUInt32 m_nMaxTextureSize
void setRequireBGR(bool bSet)
void setLutMonochrome(bool bSet)
void setSupportNonPow2Textures(bool bSet)
bool overridenLutMonochromeState(bool bDeviceSetting) const
bool isSupportNonPow2TexturesWrapping() const
virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId)=0
virtual OdTrVisUniqueID * get(DataType type, OdTrVisId id, bool bKill=false) const =0
virtual void kill(DataType type, OdTrVisId id)=0
void reg(DataType type, OdTrVisId id, OdDbStub *pPersId, const void *pTransId)
virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId)=0
virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId)=0
virtual void reg(DataType, OdTrVisId, OdDbStub *)
virtual void kill(DataType, OdTrVisId)
virtual void reg(DataType, OdTrVisId, const OdGiDrawable *)
virtual void reg(DataType, OdTrVisId, const OdTrVisUniqueID &)
virtual OdTrVisUniqueID * get(DataType, OdTrVisId, bool=false) const
OdTrVisRendition * m_pRendition
IdRegistrator * m_pBaseRegistrator
void getset(IdRegistrator *pBaseRegistrator)
virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId)
virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId)
OdMutexPtr m_pMutex[kNDataTypes]
virtual void kill(DataType type, OdTrVisId id)
virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId)
virtual OdTrVisUniqueID * get(DataType type, OdTrVisId id, bool bKill=false) const
CallRecord * m_pNextRecord
virtual void reDrop(OdTrVisRendition *pRendition)=0
IdRegistrator * getIdRegRedirection()
const IdRegistrator * getIdRegRedirection() const
void setIdRegRedirection(IdRegistrator *pRedir)
virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId)
virtual OdTrVisUniqueID * get(DataType type, OdTrVisId id, bool bKill=false) const
virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId)
virtual void kill(DataType type, OdTrVisId id)
IdRegistrator * m_pIdRegRedir
bool hasIdRegRedirection() const
virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId)
@ kViewportModOrientation
@ kViewportModLineweights