25#ifndef ODTRVISRENDITION
26#define ODTRVISRENDITION
426 bool bNrcClipModified =
true,
bool bBorderModified =
true) = 0;
506 bool bChildsModified,
bool bMarkersModified) = 0;
783 bool =
true,
bool =
true) { }
1365 bool bNrcClipModified =
true,
bool bBorderModified =
true)
1547 bool bChildsModified,
bool bMarkersModified)
1921 bool bReentrant =
true,
bool bRender =
true)
1926 throw OdError(eAlreadyActive);
#define SETBIT(flags, bit, value)
#define GETBIT(flags, bit)
const OdTrVisId kTrVisNegativeId
OdSmartPtr< OdTrVisExtensionObject > OdTrVisExtensionObjectPtr
OdSmartPtr< OdTrVisRendition > OdTrVisRenditionPtr
OdSmartPtr< OdTrVisSharingProviderClient > OdTrVisSharingProviderClientPtr
virtual void onStateBranchModified(OdTrVisStateBranchId, const OdTrVisStateBranchDef &, bool, bool)
virtual void onTexturePropertyDetached(OdTrVisTextureId, OdTrVisPropertyDef::PropertyType)
virtual void onVisualStylePropertyAttached(OdTrVisVisualStyleId, const OdTrVisPropertyDef &)
virtual void onPartialUpdateDirectInvocation(const OdTrVisDirectRenderPartialUpdateInvocation *, OdTrVisRenderDataDirectAccessor *)
virtual void onExtensionObjectVisibilityChanged(OdTrVisExtensionId, bool)
virtual void onLightPropertyDetached(OdTrVisLightId, OdTrVisPropertyDef::PropertyType)
virtual void onViewportLightDetached(OdTrVisViewportId, OdTrVisLightId)
virtual void onViewportDeleted(OdTrVisViewportId)
virtual void onMetafilePropertyDetached(OdTrVisMetafileId, OdTrVisPropertyDef::PropertyType)
virtual void onBlockPropertyAttached(OdTrVisBlockId, const OdTrVisPropertyDef &)
virtual void onViewportClipModified(OdTrVisViewportId, const OdTrVisViewportClipDef &, bool=true, bool=true)
virtual void onOverlayExtentsOverride(OdTrVisViewportId, OdTrVisOverlayId, const OdTrVisExtentsDef &)
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId, bool)
virtual void onVisualStyleModified(OdTrVisVisualStyleId, const OdTrVisVisualStyle &)
virtual void onViewportAdded(OdTrVisViewportId, const OdTrVisViewportDef &)
virtual void onTextureAdded(OdTrVisTextureId, const OdTrVisTextureDef &)
virtual void onBlockPropertyDetached(OdTrVisBlockId, OdTrVisPropertyDef::PropertyType)
virtual bool unlockMetafileStream(const OdTrVisMetafileContainer *)
virtual void onViewportLightAttached(OdTrVisViewportId, OdTrVisLightId, OdUInt32=0, const OdTrVisLightDef &=OdTrVisLightDef())
virtual void onLightPropertyAttached(OdTrVisLightId, const OdTrVisPropertyDef &)
virtual void onViewportLineStylesModified(OdTrVisViewportId, const OdTrVisViewportLineStyleDef &)
virtual MtHandlerType mtDataTypeProcessing(DataType &) const
virtual bool queryPartialUpdateDirectInvocation(OdTrVisViewportId, OdTrVisOverlayId, OdTrVisDirectRenderPartialUpdateInvocationPtr &)
virtual void onMetafileOrderChanged(OdTrVisViewportId, OdTrVisOverlayId, const OdTrVisDisplayId *, OdUInt32)
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &)
virtual void onExtensionObjectDeleted(OdTrVisExtensionId)
virtual void onExtensionObjectSpecificData(OdTrVisExtensionId, OdUInt32, const OdTrVisPropertyDef &)
virtual void onMaterialDeleted(OdTrVisMaterialId)
virtual void onGroupMetafilesHighlightingChanged(OdTrVisGroupId, bool)
virtual void onLayerVisibilityChanged(OdTrVisLayerId, bool)
virtual void onOverlayPropertyDetached(OdTrVisOverlayId, OdTrVisPropertyDef::PropertyType)
virtual void onViewportViewParamsModified(OdTrVisViewportId, const OdTrVisViewParamsDef &)
virtual void onStateBranchPropertyAttached(OdTrVisStateBranchId, const OdTrVisPropertyDef &)
virtual void onGroupMetafilesFadingChanged(OdTrVisGroupId, bool)
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId)
virtual void onLightAdded(OdTrVisLightId, const OdTrVisLightDef &)
virtual void onLayerPropertyAttached(OdTrVisLayerId, const OdTrVisPropertyDef &)
virtual void onViewportBackgroundChanged(OdTrVisViewportId, OdTrVisFlatMetafileContainerPtr, OdTrVisProgramId=kTrVisNegativeId)
virtual void onDeviceUpdateBegin(OdTrVisRenderClient *)
void onViewportSSAOChanged(OdTrVisViewportId viewportId, bool bEnabled) ODRX_OVERRIDE
virtual void onFrameSwitchInfo(OdUInt32)
virtual void onLayerDeleted(OdTrVisLayerId)
virtual void onOverlayViewParamsOverride(OdTrVisViewportId, OdTrVisOverlayId, bool, const OdTrVisViewParamsDef &=OdTrVisViewParamsDef())
virtual const OdTrVisDisplayId * queryBlockMetafilesList(OdTrVisBlockId, OdUInt32 &)
virtual void onViewportAmbientLightChanged(OdTrVisViewportId, const OdTrVisMaterialColor &)
virtual void onMaterialPropertyAttached(OdTrVisMaterialId, const OdTrVisPropertyDef &)
virtual void onLightModified(OdTrVisLightId, OdUInt32, const OdTrVisLightDef &)
virtual void onOverlayPropertyAttached(OdTrVisOverlayId, const OdTrVisPropertyDef &)
virtual void onGroupPropertyDetached(OdTrVisGroupId, OdTrVisPropertyDef::PropertyType)
virtual void onDeviceUpdateEnd(OdTrVisRenderClient *, bool=true)
virtual void onBlockModified(OdTrVisBlockId, OdUInt32, OdUInt32, const OdTrVisDisplayId *, OdUInt32)
virtual void onViewportSectioningChanged(OdTrVisViewportId, const OdTrVisSectionDef &=OdTrVisSectionDef())
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId, bool)
virtual void onViewportAntiAliasingChanged(OdTrVisViewportId, OdUInt32)
virtual IdRegistrator * idRegistrator() const
virtual void onGroupDeleted(OdTrVisGroupId)
virtual OdTrVisProgramId queryProgramId(OdGsView::RenderMode, OdTrVisVisualStyleId=kTrVisNegativeId, OdTrVisGeomType=OdTrVisGeomType_Default, OdUInt16=0, OdUInt16=0) const
virtual void onSurfaceInvalidated()
virtual void onOverlayDeleted(OdTrVisOverlayId)
virtual void onGroupPropertyAttached(OdTrVisGroupId, const OdTrVisPropertyDef &)
virtual void onOverlayAdded(OdTrVisOverlayId, const OdTrVisOverlayDef &)
virtual void getSelectedObject(OdTrVisViewportId, OdUInt32, OdUInt32, OdArray< OdTrVisId > &, OdTrVisGsMarker *=NULL)
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 OdTrVisExtensionObjectPtr queryExtensionObject(OdTrVisExtensionId)
virtual void onStateBranchDeleted(OdTrVisStateBranchId)
virtual void onLayerPropertyDetached(OdTrVisLayerId, OdTrVisPropertyDef::PropertyType)
virtual void obtainClientSettings(ClientSettings &)
virtual void onGroupMetafilesDetached(OdTrVisGroupId, const OdTrVisMetafileId *, OdUInt32)
virtual void onBlockDeleted(OdTrVisBlockId)
virtual void onGroupMetafilesAttached(OdTrVisGroupId, const OdTrVisMetafileId *, OdUInt32)
virtual void onExtensionObjectPropertyAttached(OdTrVisExtensionId, const OdTrVisPropertyDef &)
virtual void onBlockAdded(OdTrVisBlockId, const OdTrVisDisplayId *, OdUInt32)
virtual void onStateBranchPropertyDetached(OdTrVisStateBranchId, OdTrVisPropertyDef::PropertyType)
virtual void onMetafileOrderChanged(OdTrVisViewportId, OdTrVisOverlayId, OdUInt32, OdUInt32, const OdTrVisDisplayId *, OdUInt32)
virtual void onMetafilePropertyAttached(OdTrVisMetafileId, const OdTrVisPropertyDef &)
virtual void onGroupAdded(OdTrVisGroupId)
virtual void onGroupMetafilesVisibilityChanged(OdTrVisGroupId, bool)
virtual void onLayerAdded(OdTrVisLayerId, const OdTrVisLayerDef &)
virtual void onStateBranchAdded(OdTrVisStateBranchId, const OdTrVisStateBranchDef &)
virtual void onMetafileFadingChanged(OdTrVisMetafileId, bool)
virtual void onTexturePropertyAttached(OdTrVisTextureId, const OdTrVisPropertyDef &)
virtual void onViewportFogChanged(OdTrVisViewportId, const OdTrVisFogDef &=OdTrVisFogDef())
virtual void onViewportPropertyAttached(OdTrVisViewportId, const OdTrVisPropertyDef &)
virtual void onTextureDeleted(OdTrVisTextureId)
virtual bool onPartialUpdateCheckLimit(OdTrVisViewportId, OdTrVisOverlayId)
virtual void onViewportDefaultLightsChanged(OdTrVisViewportId, bool, const OdTrVisLightDef *=NULL, OdUInt32=0)
virtual void onLayerFadingChanged(OdTrVisLayerId, bool)
virtual OdUInt32 queryRenditionCaps(OdUInt32=0xFFFFFFFF) const
virtual void onMaterialPropertyDetached(OdTrVisMaterialId, OdTrVisPropertyDef::PropertyType)
virtual void onViewportVisibilityChanged(OdTrVisViewportId, bool)
virtual void onViewportShadingModified(OdTrVisViewportId, const OdTrVisViewportShadingDef &)
virtual void onViewportPropertyDetached(OdTrVisViewportId, OdTrVisPropertyDef::PropertyType)
virtual void onViewportLineweightsModified(OdTrVisViewportId, const OdTrVisViewportLineweightsDef &)
virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId, const OdGsDCRectArray &, bool=false)
virtual bool loadRenditionState(OdGsFiler *, OdTrVisIdMap *)
virtual void onLightDeleted(OdTrVisLightId)
virtual void onExtensionObjectPropertyDetached(OdTrVisExtensionId, OdTrVisPropertyDef::PropertyType)
virtual void onLayerVpDepPropsOverride(OdTrVisLayerId, OdTrVisViewportId, bool, const OdTrVisLayerProps &=OdTrVisLayerProps())
virtual void onExtensionObjectAdded(OdTrVisExtensionId, const OdTrVisExtensionObject *)
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &)
virtual void onViewportInserted(OdTrVisViewportId, int, const OdTrVisViewportDef &)
virtual void onMetafileDeleted(OdTrVisMetafileId)
virtual bool saveRenditionState(OdGsFiler *) const
virtual bool isWithinDeviceUpdate() const
virtual void onMaterialAdded(OdTrVisMaterialId, const OdTrVisMaterialDef &)
virtual bool queryMetafileStream(OdTrVisViewportId, OdTrVisOverlayId, const OdTrVisDisplayId *, OdUInt32, const OdTrVisMetafileContainer **)
virtual OdTrVisSharingProviderClientPtr createSharingProvider()
OdTrVisRenditionDef::IdRegistratorStub m_IdRegistratorStub
virtual void onViewportFadingModified(OdTrVisViewportId, const OdTrVisViewportFadingDef &)
virtual void onVisualStylePropertyDetached(OdTrVisVisualStyleId, OdTrVisPropertyDef::PropertyType)
virtual void onMetafileOrderInheritance(OdTrVisViewportId, OdTrVisOverlayId, OdTrVisViewportId)
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId, OdInt16)
OdTrVisRenditionDeviceUpdateScopes(OdTrVisRendition *pRendition, OdTrVisRenderClient *pDevice, bool bReentrant=true, bool bRender=true)
OdTrVisRendition * m_pRendition
~OdTrVisRenditionDeviceUpdateScopes()
OdTrVisRenderClient * m_pRenderClient
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 onGroupMetafilesAttached(OdTrVisGroupId groupId, const OdTrVisMetafileId *pMetafilesList, OdUInt32 nMetafiles)=0
virtual void onViewportVisibilityChanged(OdTrVisViewportId viewportId, bool bVisibility)=0
virtual void onDeviceUpdateBegin(OdTrVisRenderClient *pDevice)=0
virtual void onExtensionObjectVisibilityChanged(OdTrVisExtensionId extId, bool bVisibility)=0
virtual void onOverlayExtentsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef)=0
virtual void onVisualStylePropertyAttached(OdTrVisVisualStyleId visualStyleId, const OdTrVisPropertyDef &propDef)=0
virtual void onDeviceUpdateEnd(OdTrVisRenderClient *pDevice, bool bRender=true)=0
virtual void onExtensionObjectDeleted(OdTrVisExtensionId extId)=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 onViewportLightAttached(OdTrVisViewportId viewportId, OdTrVisLightId lightId, OdUInt32 nOverrides=0, const OdTrVisLightDef &pOverrides=OdTrVisLightDef())=0
virtual void getSelectedObject(OdTrVisViewportId id, OdUInt32 x, OdUInt32 y, OdArray< OdTrVisId > &outIDs, OdTrVisGsMarker *outMarker=NULL)=0
static const double kDisplayMultiDrawOrderMarker
virtual void onLayerAdded(OdTrVisLayerId layerId, const OdTrVisLayerDef &pDef)=0
virtual void onViewportSectioningChanged(OdTrVisViewportId viewportId, const OdTrVisSectionDef &pDef=OdTrVisSectionDef())=0
virtual void onLayerVisibilityChanged(OdTrVisLayerId layerId, bool bVisibility)=0
virtual void onStateBranchPropertyDetached(OdTrVisStateBranchId stateBranchId, OdTrVisPropertyDef::PropertyType propType)=0
virtual void onMaterialDeleted(OdTrVisMaterialId materialId)=0
virtual void onExtensionObjectSpecificData(OdTrVisExtensionId extId, OdUInt32 nDataId, const OdTrVisPropertyDef &propDef)=0
virtual IdRegistrator * idRegistrator() const =0
@ kSupportCompositeMetafiles
@ kSupportSnapshotQueries
@ kUpdateClientSectionOnly
@ kUpdateShareableSectionOnly
virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)=0
virtual void onLightDeleted(OdTrVisLightId lightId)=0
virtual bool loadRenditionState(OdGsFiler *pFiler, OdTrVisIdMap *pIdMap)=0
virtual void onStateBranchDeleted(OdTrVisStateBranchId stateBranchId)=0
virtual bool onPartialUpdateCheckLimit(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId)=0
virtual void onLayerPropertyDetached(OdTrVisLayerId layerId, OdTrVisPropertyDef::PropertyType propType)=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 void onLayerVpDepPropsOverride(OdTrVisLayerId layerId, OdTrVisViewportId viewportId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())=0
virtual OdUInt32 queryRenditionCaps(OdUInt32 requestFor=0xFFFFFFFF) const =0
virtual void onBlockPropertyDetached(OdTrVisBlockId blockId, OdTrVisPropertyDef::PropertyType propType)=0
virtual void onLightPropertyAttached(OdTrVisLightId lightId, const OdTrVisPropertyDef &propDef)=0
virtual void onStateBranchAdded(OdTrVisStateBranchId stateBranchId, const OdTrVisStateBranchDef &pDef)=0
virtual void onMetafileDeleted(OdTrVisMetafileId metafileId)=0
virtual void onViewportFogChanged(OdTrVisViewportId viewportId, const OdTrVisFogDef &pDef=OdTrVisFogDef())=0
virtual void onExtensionObjectPropertyDetached(OdTrVisExtensionId extId, OdTrVisPropertyDef::PropertyType propType)=0
virtual void onLightModified(OdTrVisLightId lightId, OdUInt32 nKindOfMod, const OdTrVisLightDef &pDef)=0
virtual void onViewportSSAOChanged(OdTrVisViewportId viewportId, bool bEnabled)=0
virtual bool queryPartialUpdateDirectInvocation(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdTrVisDirectRenderPartialUpdateInvocationPtr &pInvocationPtr)=0
virtual void onViewportViewParamsModified(OdTrVisViewportId viewportId, const OdTrVisViewParamsDef &pDef)=0
virtual void onExtensionObjectAdded(OdTrVisExtensionId extId, const OdTrVisExtensionObject *pObj)=0
virtual void onMetafileOrderInheritance(OdTrVisViewportId viewportId1, OdTrVisOverlayId overlayId1, OdTrVisViewportId viewportId2)=0
bool isSupportSnapshotQueries() const
virtual void onLightPropertyDetached(OdTrVisLightId lightId, OdTrVisPropertyDef::PropertyType propType)=0
virtual void onViewportLightDetached(OdTrVisViewportId viewportId, OdTrVisLightId lightId)=0
virtual void onViewportDefaultLightsChanged(OdTrVisViewportId viewportId, bool bDefaultLightsOn, const OdTrVisLightDef *pLightsList=NULL, OdUInt32 nLightsListEntries=0)=0
bool updateClientDependentSectionOnly() const
virtual void onViewportLineStylesModified(OdTrVisViewportId viewportId, const OdTrVisViewportLineStyleDef &pDef)=0
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility)=0
bool isSupportGPUSelection() const
virtual void onViewportPropertyAttached(OdTrVisViewportId viewportId, const OdTrVisPropertyDef &propDef)=0
virtual void onViewportBackgroundChanged(OdTrVisViewportId viewportId, OdTrVisFlatMetafileContainerPtr pStream, OdTrVisProgramId baseProgramId=kTrVisNegativeId)=0
virtual void onTextureDeleted(OdTrVisTextureId textureId)=0
virtual void onGroupMetafilesDetached(OdTrVisGroupId groupId, const OdTrVisMetafileId *pMetafilesList, OdUInt32 nMetafiles)=0
virtual void onOverlayPropertyAttached(OdTrVisOverlayId overlayId, const OdTrVisPropertyDef &propDef)=0
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)=0
virtual void onOverlayPropertyDetached(OdTrVisOverlayId overlayId, OdTrVisPropertyDef::PropertyType propType)=0
virtual void obtainClientSettings(ClientSettings &clientSets)=0
bool isSupportOverlayBuffers() const
virtual void onBlockDeleted(OdTrVisBlockId blockId)=0
virtual void onBlockPropertyAttached(OdTrVisBlockId blockId, const OdTrVisPropertyDef &propDef)=0
virtual void onViewportAntiAliasingChanged(OdTrVisViewportId viewportId, OdUInt32 nAntiAliasing)=0
virtual void onGroupDeleted(OdTrVisGroupId groupId)=0
bool isSupportCompositeMetafiles() const
virtual void onGroupMetafilesFadingChanged(OdTrVisGroupId groupId, bool bFade)=0
virtual MtHandlerType mtDataTypeProcessing(DataType &type) const =0
virtual OdTrVisSharingProviderClientPtr createSharingProvider()=0
virtual void onStateBranchModified(OdTrVisStateBranchId stateBranchId, const OdTrVisStateBranchDef &pDef, bool bChildsModified, bool bMarkersModified)=0
virtual void onMaterialPropertyAttached(OdTrVisMaterialId materialId, const OdTrVisPropertyDef &propDef)=0
virtual void onExtensionObjectPropertyAttached(OdTrVisExtensionId extId, const OdTrVisPropertyDef &propDef)=0
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)=0
virtual void onTexturePropertyAttached(OdTrVisTextureId textureId, const OdTrVisPropertyDef &propDef)=0
virtual void onLayerPropertyAttached(OdTrVisLayerId layerId, const OdTrVisPropertyDef &propDef)=0
virtual void onVisualStylePropertyDetached(OdTrVisVisualStyleId visualStyleId, OdTrVisPropertyDef::PropertyType propType)=0
virtual bool isWithinDeviceUpdate() const =0
virtual void onViewportClipModified(OdTrVisViewportId viewportId, const OdTrVisViewportClipDef &pDef, bool bNrcClipModified=true, bool bBorderModified=true)=0
virtual bool unlockMetafileStream(const OdTrVisMetafileContainer *pStream)=0
virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)=0
virtual void onViewportShadingModified(OdTrVisViewportId viewportId, const OdTrVisViewportShadingDef &pDef)=0
virtual void onPartialUpdateDirectInvocation(const OdTrVisDirectRenderPartialUpdateInvocation *pInvocation, OdTrVisRenderDataDirectAccessor *pAccessor)=0
bool isSupportGsStateSaving() const
virtual OdTrVisProgramId queryProgramId(OdGsView::RenderMode mode, OdTrVisVisualStyleId vsId=kTrVisNegativeId, OdTrVisGeomType geomType=OdTrVisGeomType_Default, OdUInt16 attrFlags=0, OdUInt16 shadingFlags=0) const =0
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef)=0
virtual void onViewportLineweightsModified(OdTrVisViewportId viewportId, const OdTrVisViewportLineweightsDef &pDef)=0
virtual bool saveRenditionState(OdGsFiler *pFiler) const =0
virtual OdTrVisExtensionObjectPtr queryExtensionObject(OdTrVisExtensionId extId)=0
virtual void onFrameSwitchInfo(OdUInt32 nInterval)=0
virtual void onGroupPropertyAttached(OdTrVisGroupId groupId, const OdTrVisPropertyDef &propDef)=0
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility)=0
virtual void onBlockAdded(OdTrVisBlockId blockId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)=0
bool updateShareableSectionOnly() const
virtual void onMetafilePropertyDetached(OdTrVisMetafileId metafileId, OdTrVisPropertyDef::PropertyType propType)=0
virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex, const OdTrVisViewportDef &pDef)=0
virtual void onLightAdded(OdTrVisLightId lightId, const OdTrVisLightDef &pDef)=0
virtual void onViewportFadingModified(OdTrVisViewportId viewportId, const OdTrVisViewportFadingDef &pDef)=0
virtual void onMaterialPropertyDetached(OdTrVisMaterialId materialId, OdTrVisPropertyDef::PropertyType propType)=0
virtual void onViewportDeleted(OdTrVisViewportId viewportId)=0
virtual void onSurfaceInvalidated()=0
virtual void onOverlayDeleted(OdTrVisOverlayId overlayId)=0
virtual void onOverlayRenderOrderChanged(OdTrVisOverlayId overlayId, OdInt16 nRenderOrder)=0
virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId overlayId, const OdGsDCRectArray &invalidRects, bool bOverlayInvalid=false)=0
virtual void onGroupMetafilesHighlightingChanged(OdTrVisGroupId groupId, bool bHighlight)=0
virtual void onSurfaceChanged(const OdTrVisSurfaceDef &pDef)=0
virtual void onGroupAdded(OdTrVisGroupId groupId)=0
@ kDisplayCodeNonExploded
@ kDisplayCodeUnhighlight
@ kDisplayCodeSelectionID
virtual void onMetafileFadingChanged(OdTrVisMetafileId metafileId, bool bFade)=0
virtual bool queryMetafileStream(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pDisplayId, OdUInt32 nPathLength, const OdTrVisMetafileContainer **pStream)=0
virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef)=0
virtual void onTexturePropertyDetached(OdTrVisTextureId textureId, OdTrVisPropertyDef::PropertyType propType)=0
virtual void onMetafilePropertyAttached(OdTrVisMetafileId metafileId, const OdTrVisPropertyDef &propDef)=0
virtual void onGroupPropertyDetached(OdTrVisGroupId groupId, OdTrVisPropertyDef::PropertyType propType)=0
virtual void onViewportAmbientLightChanged(OdTrVisViewportId viewportId, const OdTrVisMaterialColor &ambientLight)=0
bool isSupportVisualStyles() const
virtual void onViewportPropertyDetached(OdTrVisViewportId viewportId, OdTrVisPropertyDef::PropertyType propType)=0
virtual void onBlockModified(OdTrVisBlockId blockId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)=0
virtual const OdTrVisDisplayId * queryBlockMetafilesList(OdTrVisBlockId blockId, OdUInt32 &numEntries)=0
virtual void onLayerFadingChanged(OdTrVisLayerId layerId, bool bFade)=0
virtual void onGroupMetafilesVisibilityChanged(OdTrVisGroupId groupId, bool bVisibility)=0
virtual void onStateBranchPropertyAttached(OdTrVisStateBranchId stateBranchId, const OdTrVisPropertyDef &propDef)=0
virtual void onViewportAdded(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef)=0
bool isSupportPartialUpdate() const
virtual OdTrVisSharingProviderClientPtr createSharingProvider()
virtual void onViewportInserted(OdTrVisViewportId viewportId, int nIndex, const OdTrVisViewportDef &pDef)
virtual void onGroupPropertyAttached(OdTrVisGroupId groupId, const OdTrVisPropertyDef &propDef)
virtual void onStateBranchAdded(OdTrVisStateBranchId stateBranchId, const OdTrVisStateBranchDef &pDef)
virtual void onMetafileDeleted(OdTrVisMetafileId metafileId)
virtual void onSurfaceInvalidated()
const OdTrVisRendition * getRedirection() const
virtual void onLayerPropertyAttached(OdTrVisLayerId layerId, const OdTrVisPropertyDef &propDef)
OdTrVisRendition * getRedirection()
OdTrVisRendition * getInformationalRedirection()
virtual void onExtensionObjectPropertyDetached(OdTrVisExtensionId extId, OdTrVisPropertyDef::PropertyType propType)
virtual bool loadRenditionState(OdGsFiler *pFiler, OdTrVisIdMap *pIdMap)
virtual void onBlockAdded(OdTrVisBlockId blockId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
virtual void getSelectedObject(OdTrVisViewportId id, OdUInt32 x, OdUInt32 y, OdArray< OdTrVisId > &outIDs, OdTrVisGsMarker *outMarker=NULL)
virtual void onLayerFadingChanged(OdTrVisLayerId layerId, bool bFade)
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)
virtual void onViewportLineweightsModified(OdTrVisViewportId viewportId, const OdTrVisViewportLineweightsDef &pDef)
virtual void onTexturePropertyAttached(OdTrVisTextureId textureId, const OdTrVisPropertyDef &propDef)
virtual void onViewportVisibilityChanged(OdTrVisViewportId viewportId, bool bVisibility)
bool hasRedirection() const
virtual void onViewportLineStylesModified(OdTrVisViewportId viewportId, const OdTrVisViewportLineStyleDef &pDef)
virtual void onMetafileHighlightingChanged(OdTrVisMetafileId metafileId, bool bHighlight)
virtual void onGroupMetafilesHighlightingChanged(OdTrVisGroupId groupId, bool bHighlight)
virtual bool queryMetafileStream(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pDisplayId, OdUInt32 nPathLength, const OdTrVisMetafileContainer **pStream)
virtual void onViewportViewParamsModified(OdTrVisViewportId viewportId, const OdTrVisViewParamsDef &pDef)
virtual void onViewportShadingModified(OdTrVisViewportId viewportId, const OdTrVisViewportShadingDef &pDef)
virtual void onViewportFogChanged(OdTrVisViewportId viewportId, const OdTrVisFogDef &pDef=OdTrVisFogDef())
virtual void onTextureAdded(OdTrVisTextureId textureId, const OdTrVisTextureDef &pDef)
virtual void onStateBranchPropertyDetached(OdTrVisStateBranchId stateBranchId, OdTrVisPropertyDef::PropertyType propType)
virtual void onViewportSectioningChanged(OdTrVisViewportId viewportId, const OdTrVisSectionDef &pDef=OdTrVisSectionDef())
virtual bool unlockMetafileStream(const OdTrVisMetafileContainer *pStream)
virtual void onBlockPropertyDetached(OdTrVisBlockId blockId, OdTrVisPropertyDef::PropertyType propType)
void setRedirection(OdTrVisRendition *pRedir)
virtual void onGroupMetafilesDetached(OdTrVisGroupId groupId, const OdTrVisMetafileId *pMetafilesList, OdUInt32 nMetafiles)
virtual void onVisualStyleDeleted(OdTrVisVisualStyleId visualStyleId)
virtual void onMaterialAdded(OdTrVisMaterialId materialId, const OdTrVisMaterialDef &pDef)
virtual void onViewportClipModified(OdTrVisViewportId viewportId, const OdTrVisViewportClipDef &pDef, bool bNrcClipModified=true, bool bBorderModified=true)
virtual void onViewportFadingModified(OdTrVisViewportId viewportId, const OdTrVisViewportFadingDef &pDef)
virtual bool queryPartialUpdateDirectInvocation(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdTrVisDirectRenderPartialUpdateInvocationPtr &pInvocationPtr)
virtual void onOverlayViewParamsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, bool bOverride, const OdTrVisViewParamsDef &pDef=OdTrVisViewParamsDef())
virtual void onTextureDeleted(OdTrVisTextureId textureId)
virtual void onGroupAdded(OdTrVisGroupId groupId)
virtual void onExtensionObjectAdded(OdTrVisExtensionId extId, const OdTrVisExtensionObject *pObj)
virtual void onExtensionObjectDeleted(OdTrVisExtensionId extId)
virtual void onLightAdded(OdTrVisLightId lightId, const OdTrVisLightDef &pDef)
virtual void onGroupMetafilesAttached(OdTrVisGroupId groupId, const OdTrVisMetafileId *pMetafilesList, OdUInt32 nMetafiles)
virtual void onViewportDeleted(OdTrVisViewportId viewportId)
virtual bool onPartialUpdateCheckLimit(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId)
virtual void onStateBranchPropertyAttached(OdTrVisStateBranchId stateBranchId, const OdTrVisPropertyDef &propDef)
virtual IdRegistrator * idRegistrator() const
virtual void onOverlayPropertyAttached(OdTrVisOverlayId overlayId, const OdTrVisPropertyDef &propDef)
virtual void onViewportLightDetached(OdTrVisViewportId viewportId, OdTrVisLightId lightId)
virtual void onOverlayPropertyDetached(OdTrVisOverlayId overlayId, OdTrVisPropertyDef::PropertyType propType)
virtual void onViewportPropertyDetached(OdTrVisViewportId viewportId, OdTrVisPropertyDef::PropertyType propType)
virtual void onOverlayExtentsOverride(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisExtentsDef &pDef)
void setRedirections(OdTrVisRendition *pRedir)
virtual void onLayerPropertyDetached(OdTrVisLayerId layerId, OdTrVisPropertyDef::PropertyType propType)
virtual void onViewportAntiAliasingChanged(OdTrVisViewportId viewportId, OdUInt32 nAntiAliasing)
virtual void onLightPropertyAttached(OdTrVisLightId lightId, const OdTrVisPropertyDef &propDef)
virtual void onMetafileOrderInheritance(OdTrVisViewportId viewportId1, OdTrVisOverlayId overlayId1, OdTrVisViewportId viewportId2)
virtual void onLayerDeleted(OdTrVisLayerId layerId)
virtual void onBlockPropertyAttached(OdTrVisBlockId blockId, const OdTrVisPropertyDef &propDef)
virtual void onMaterialPropertyDetached(OdTrVisMaterialId materialId, OdTrVisPropertyDef::PropertyType propType)
bool hasInformationalRedirection() const
virtual void onLightModified(OdTrVisLightId lightId, OdUInt32 nKindOfMod, const OdTrVisLightDef &pDef)
OdTrVisRendition * m_pInformationalRedir
virtual void onDeviceUpdateBegin(OdTrVisRenderClient *pDevice)
virtual void onPartialUpdateList(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
virtual void onViewportBackgroundChanged(OdTrVisViewportId viewportId, OdTrVisFlatMetafileContainerPtr pStream, OdTrVisProgramId baseProgramId=kTrVisNegativeId)
virtual void onOverlayAdded(OdTrVisOverlayId overlayId, const OdTrVisOverlayDef &pDef)
virtual void onViewportPropertyAttached(OdTrVisViewportId viewportId, const OdTrVisPropertyDef &propDef)
virtual void onStateBranchDeleted(OdTrVisStateBranchId stateBranchId)
virtual OdTrVisProgramId queryProgramId(OdGsView::RenderMode mode, OdTrVisVisualStyleId vsId=kTrVisNegativeId, OdTrVisGeomType geomType=OdTrVisGeomType_Default, OdUInt16 attrFlags=0, OdUInt16 shadingFlags=0) const
virtual void onPartialUpdateDirectInvocation(const OdTrVisDirectRenderPartialUpdateInvocation *pInvocation, OdTrVisRenderDataDirectAccessor *pAccessor)
virtual void onViewportAmbientLightChanged(OdTrVisViewportId viewportId, const OdTrVisMaterialColor &ambientLight)
virtual void onBlockDeleted(OdTrVisBlockId blockId)
virtual void onGroupMetafilesVisibilityChanged(OdTrVisGroupId groupId, bool bVisibility)
virtual bool saveRenditionState(OdGsFiler *pFiler) const
void setInformationalRedirection(OdTrVisRendition *pRedir)
virtual void onTexturePropertyDetached(OdTrVisTextureId textureId, OdTrVisPropertyDef::PropertyType propType)
virtual void onVisualStylePropertyDetached(OdTrVisVisualStyleId visualStyleId, OdTrVisPropertyDef::PropertyType propType)
virtual void onViewportLightAttached(OdTrVisViewportId viewportId, OdTrVisLightId lightId, OdUInt32 nOverrides=0, const OdTrVisLightDef &pOverrides=OdTrVisLightDef())
virtual void onMaterialPropertyAttached(OdTrVisMaterialId materialId, const OdTrVisPropertyDef &propDef)
virtual void onMetafilePropertyAttached(OdTrVisMetafileId metafileId, const OdTrVisPropertyDef &propDef)
virtual void onFrameSwitchInfo(OdUInt32 nInterval)
virtual void onLightDeleted(OdTrVisLightId lightId)
virtual void onLayerVisibilityChanged(OdTrVisLayerId layerId, bool bVisibility)
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)
virtual const OdTrVisDisplayId * queryBlockMetafilesList(OdTrVisBlockId blockId, OdUInt32 &numEntries)
virtual void onViewportDefaultLightsChanged(OdTrVisViewportId viewportId, bool bDefaultLightsOn, const OdTrVisLightDef *pLightsList=NULL, OdUInt32 nLightsListEntries=0)
OdTrVisRendition * m_pRedir
virtual void onStateBranchModified(OdTrVisStateBranchId stateBranchId, const OdTrVisStateBranchDef &pDef, bool bChildsModified, bool bMarkersModified)
virtual void onLightPropertyDetached(OdTrVisLightId lightId, OdTrVisPropertyDef::PropertyType propType)
virtual void onExtensionObjectPropertyAttached(OdTrVisExtensionId extId, const OdTrVisPropertyDef &propDef)
virtual void onVisualStyleAdded(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
virtual void onExtensionObjectVisibilityChanged(OdTrVisExtensionId extId, bool bVisibility)
void onViewportSSAOChanged(OdTrVisViewportId viewportId, bool bEnabled) ODRX_OVERRIDE
virtual void onLayerVpDepPropsOverride(OdTrVisLayerId layerId, OdTrVisViewportId viewportId, bool bOverride, const OdTrVisLayerProps &pProps=OdTrVisLayerProps())
virtual OdUInt32 queryRenditionCaps(OdUInt32 requestFor=0xFFFFFFFF) const
virtual void onVisualStyleModified(OdTrVisVisualStyleId visualStyleId, const OdTrVisVisualStyle &pDef)
virtual void onGroupMetafilesFadingChanged(OdTrVisGroupId groupId, bool bFade)
virtual void onMaterialDeleted(OdTrVisMaterialId materialId)
virtual void onDeviceUpdateEnd(OdTrVisRenderClient *pDevice, bool bRender=true)
bool hasRedirections() const
virtual void obtainClientSettings(ClientSettings &clientSets)
virtual void onMetafileOrderChanged(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdTrVisDisplayId *pList, OdUInt32 nEntries)
virtual void onBlockModified(OdTrVisBlockId blockId, OdUInt32 nInvalidFrom, OdUInt32 nInvalidLen, const OdTrVisDisplayId *pValidFrom, OdUInt32 nValidLen)
virtual void onGroupPropertyDetached(OdTrVisGroupId groupId, OdTrVisPropertyDef::PropertyType propType)
virtual void onExtensionObjectSpecificData(OdTrVisExtensionId extId, OdUInt32 nDataId, const OdTrVisPropertyDef &propDef)
virtual OdTrVisDisplayId onMetafileAdded(OdTrVisMetafileId metafileId, const OdTrVisMetafileDef &pDef)
virtual void onMetafilePropertyDetached(OdTrVisMetafileId metafileId, OdTrVisPropertyDef::PropertyType propType)
virtual OdTrVisExtensionObjectPtr queryExtensionObject(OdTrVisExtensionId extId)
virtual MtHandlerType mtDataTypeProcessing(DataType &type) const
virtual void onGroupDeleted(OdTrVisGroupId groupId)
virtual void onVisualStylePropertyAttached(OdTrVisVisualStyleId visualStyleId, const OdTrVisPropertyDef &propDef)
virtual void onMetafileVisibilityChanged(OdTrVisMetafileId metafileId, bool bVisibility)
const OdTrVisRendition * getInformationalRedirection() const
virtual void onViewportAdded(OdTrVisViewportId viewportId, const OdTrVisViewportDef &pDef)
virtual bool isWithinDeviceUpdate() const
virtual void onPartialUpdateInvalidRects(OdTrVisOverlayId overlayId, const OdGsDCRectArray &invalidRects, bool bOverlayInvalid=false)
virtual void onOverlayVisibilityChanged(OdTrVisOverlayId overlayId, bool bVisibility)
virtual void onOverlayDeleted(OdTrVisOverlayId overlayId)
GLuint GLsizei GLsizei GLint GLenum * type
OdTrVisInfoString m_glRenderer
OdTrVisInfoString m_glSLVersion
OdTrVisInfoString m_glVersion
OdTrVisInfoString m_glVendor
OdTrVisInfoString m_glExtensions
bool isSupportCubeMaps() const
bool isSupportBGRA() const
bool isSupportUIntColors() const
void setSupportNonPow2TexturesWrapping(bool bSet)
void setSupportBGRA(bool bSet)
void setShadeByVertex(bool bSet)
bool isLutPalette() const
bool isShadeByVertex() const
bool isSupport32BitIndex() const
void setLutPalette(bool bSet)
bool isLutOverride() const
bool isSupportNonPow2Textures() const
OdUInt32 m_nTextureAlignment
bool isSupportHalfNormals() const
void setSupport32BitIndex(bool bSet)
bool isSupport8BitIndex() const
bool isLutMonochrome() const
bool isSupportBGR() const
void setSupportBGR(bool bSet)
bool isRequireBGR() const
void setSupport8BitIndex(bool bSet)
bool overridenLutPaletteState(bool bDeviceSetting) const
void setLutOverride(bool bSet)
OdUInt32 m_nMaxTextureSize
void setSupportDoubleCoords(bool bSet)
void setSupportCubeMaps(bool bSet)
void setSupportHalfNormals(bool bSet)
bool isSupportDoubleCoords() const
void setSupportUIntColors(bool bSet)
void setRequireBGR(bool bSet)
void setLutMonochrome(bool bSet)
void setSupportNonPow2Textures(bool bSet)
bool overridenLutMonochromeState(bool bDeviceSetting) const
bool isSupportNonPow2TexturesWrapping() const
virtual OdTrVisUniqueID * get(DataType type, OdTrVisId id, bool bKill=false) const =0
virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId)=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
static DataType decode(MtHandlerType handler, OdUInt32 nElem)
static DataType fromGenericDataType(OdUInt32 nDt)
static MtHandlerType decode(MtHandlerType handler)
static MtHandlerType encode(DataType mutex1, DataType mutex2=(DataType) 0, DataType mutex3=(DataType) 0, DataType mutex4=(DataType) 0)
static OdUInt32 toGenericDataType(DataType dt)
virtual void reg(DataType, OdTrVisId, OdDbStub *)
virtual void kill(DataType, OdTrVisId)
virtual OdTrVisUniqueID * get(DataType, OdTrVisId, bool=false) const
virtual void reg(DataType, OdTrVisId, const OdGiDrawable *)
virtual void reg(DataType, OdTrVisId, const OdTrVisUniqueID &)
IdRegistrator * getIdRegRedirection()
void setIdRegRedirection(IdRegistrator *pRedir)
virtual void reg(DataType type, OdTrVisId id, const OdTrVisUniqueID &uId)
virtual void reg(DataType type, OdTrVisId id, OdDbStub *pPersId)
virtual void kill(DataType type, OdTrVisId id)
IdRegistrator * m_pIdRegRedir
virtual OdTrVisUniqueID * get(DataType type, OdTrVisId id, bool bKill=false) const
bool hasIdRegRedirection() const
const IdRegistrator * getIdRegRedirection() const
virtual void reg(DataType type, OdTrVisId id, const OdGiDrawable *pTransId)