25#ifndef ODTRRNDLOCALRENDERER
26#define ODTRRNDLOCALRENDERER
76#define ODTRRND_SI_DEF_FLAG(flagName, getterName, setterName) \
77 bool getterName() const { return GETBIT(m_flags, flagName); } \
78 void setterName(bool bSet) { SETBIT(m_flags, flagName, bSet); }
89#undef ODTRRND_SI_DEF_FLAG
const OdTrVisId kTrVisNullId
virtual void prependViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId overlayId, OdTrVisMetafileId mfId)=0
virtual OdTrVisOwning getStateBranchOwner(OdTrVisStateBranchId branchId) const =0
virtual void attachWindowContext(OdTrVisRenderClient *pRenderClient)=0
virtual OdTrVisCamera * getCamera(OdTrVisViewportId vpId, OdTrVisOverlayId orId) const =0
virtual const OdGeExtents3d & getOverlayExtents(OdTrVisViewportId vpId, OdTrVisOverlayId orId) const =0
virtual bool detachWindowContext()=0
virtual OdTrVisMetafileContainer * getMetafileData(OdTrVisMetafileId mfId) const =0
virtual OdTrVisOwning getGroupOwner(OdTrVisGroupId groupId) const =0
virtual void setViewportBorderProps(ViewportBorderType nType, const ViewportBorderProps &props)=0
virtual bool isActiveViewport(OdTrVisViewportId vpId) const =0
virtual OdGeMatrix3d coordinateSpaceTransform(OdTrVisViewportId vpId, OdTrVisOverlayId orId, CoordinatesSystem inSpace, CoordinatesSystem toSpace, bool bLocalScreenSpace=false) const =0
virtual OdTrVisOwning getMetafileOwner(OdTrVisMetafileId mfId) const =0
virtual OdTrVisStateBranchId getMetafileVsBranch(OdTrVisMetafileId mfId) const =0
virtual const ViewportBorderProps & getViewportBorderProps(ViewportBorderType nType) const =0
virtual OdUInt32 select(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdGsDCRect &selRect, const SelectionInfo &selInfo=SelectionInfo(), SelectionReactor *pSelReactor=NULL) const =0
virtual void setTransientManager(OdTrRndLocalTransientManager *pTransientManager) const =0
virtual OdUInt32 getViewportMetafileOrderLength(OdTrVisViewportId vpId, OdTrVisOverlayId orId) const =0
virtual OdTrVisStateBranchId getGroupHlBranch(OdTrVisGroupId groupId) const =0
virtual OdTrVisMetafileId getViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId orId, OdUInt32 nElement) const =0
virtual OdUInt32 findViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId orId, OdTrVisMetafileId mfId) const =0
virtual const OdTrRndLocalViewer * viewer() const =0
virtual OdTrVisViewportData * getViewportData(OdTrVisViewportId vpId) const =0
virtual void highlightMetafile(OdTrVisMetafileId mfId, const SelectionInfo &hltInfo)=0
virtual void appendViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId overlayId, OdTrVisMetafileId mfId)=0
virtual OdTrVisStateBranchId getMetafileHlBranch(OdTrVisMetafileId mfId) const =0
virtual OdTrVisStateBranchId getNestedStateBranch(OdTrVisStateBranchId branchId, OdTrVisOwning ownerId) const =0
virtual void modifyViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId overlayId, OdTrVisMetafileId mfId)=0
virtual OdTrVisStateBranchDef * getStateBranchDef(OdTrVisStateBranchId branchId) const =0
virtual OdTrRndLocalViewer * viewer()=0
virtual OdTrVisRendition * rendition()=0
virtual OdTrRndLocalTransientManager * transientManager(bool createIfMissing=true) const =0
virtual void deleteViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId overlayId, OdTrVisMetafileId mfId)=0
virtual const OdTrVisRendition * rendition() const =0
virtual OdTrVisStateBranchId getGroupVsBranch(OdTrVisGroupId groupId) const =0
virtual void highlightMetafilesGroup(OdTrVisGroupId grId, const SelectionInfo &hltInfo)=0
virtual OdUInt32 selectAll(OdTrVisViewportId vpId, OdTrVisOverlayId overlayId, SelectionReactor *pSelReactor=NULL, OdUInt32 nFlags=0)=0
OdTrRndLocalRendererPtr(const OdTrRndLocalRendererPtr &ref)
OdTrRndLocalRendererPtr(const OdTrRndLocalRenderer *pObj, bool bAttach=false)
OdTrRndLocalRendererPtr & operator=(OdTrRndLocalRenderer *pObj)
OdTrRndLocalRendererPtr()
static void release(OdTrRndLocalRenderer *pObj)
static void addRef(OdTrRndLocalRenderer *pObj)
TPtr & operator=(TObj *pObj)
GLuint GLsizei GLsizei GLint GLenum * type
ODTRRND_SI_DEF_FLAG(kSelInserts, isSelectInsertsOnly, setSelectInsertsOnly)
SelectionInfo(SelectionType type, OdUInt32 flags=0)
ODTRRND_SI_DEF_FLAG(kSelSubEnts, isSelectSubentities, setSelectSubentities)
ODTRRND_SI_DEF_FLAG(kSelExplGroups, isSelectGroupsExploded, setSelectGroupsExploded)
ODTRRND_SI_DEF_FLAG(kSelSkipHltSet, selectSkipHighlightedSetting, setSelectSkipHighlightedSetting)
ODTRRND_SI_DEF_FLAG(kSelTop, isSelectTop, setSelectTop)
ODTRRND_SI_DEF_FLAG(kSelOnce, isSelectOnce, setSelectOnce)
ODTRRND_SI_DEF_FLAG(kSelSkipHlt, isSelectSkipHighlighted, setSelectSkipHighlighted)
ODTRRND_SI_DEF_FLAG(kSelEnableHlt, isSelectHighlightingEnabled, setSelectHighlightingEnabled)
ODTRRND_SI_DEF_FLAG(kSelLast, isSelectLast, setSelectLast)
ODTRRND_SI_DEF_FLAG(kSelInvertHlt, isSelectHighlightingInversionEnabled, setSelectHighlightingInversionEnabled)
virtual OdTrRndLocalRenderer::SelectionFeedback selected(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const SelectionResult *pRes, OdUInt32 nInserts, OdTrVisGsMarker selMarker, const OdTrRndLocalRenderer::SelectionInfo &selectionInfo, const OdTrRndLocalRenderer &renderer) const =0
SelectionResult(OdTrVisMetafileId mfId=kTrVisNullId, OdTrVisGroupId grId=kTrVisNullId)
ViewportBorderState m_bEnable
ViewportBorderProps(ViewportBorderState bEnable=kVpBorderDefault, ODCOLORREF color=ODRGBA(255, 255, 255, 255), int nWidth=1)