25 #ifndef ODTRGL2LOCALRENDERER
26 #define ODTRGL2LOCALRENDERER
73 #define ODTRRND_SI_DEF_FLAG(flagName, getterName, setterName) \
74 bool getterName() const { return GETBIT(m_flags, flagName); } \
75 void setterName(bool bSet) { SETBIT(m_flags, flagName, bSet); }
85 #undef ODTRRND_SI_DEF_FLAG
virtual OdTrVisRendition * rendition()=0
virtual OdTrVisHlBranchDef * getHlBranchDef(OdTrVisHlBranchId hlId) const =0
virtual OdUInt32 selectAll(OdTrVisViewportId vpId, OdTrVisOverlayId overlayId, SelectionReactor *pSelReactor=NULL, OdUInt32 nFlags=0)=0
virtual void setViewportBorderProps(ViewportBorderType nType, const ViewportBorderProps &props)=0
virtual bool isActiveViewport(OdTrVisViewportId vpId) const =0
virtual OdTrVisViewportDef * getViewportDef(OdTrVisViewportId vpId) const =0
virtual OdTrVisHlBranchId getNestedHlBranch(OdTrVisHlBranchId hlId, OdDbStub *pOwner) const =0
virtual OdUInt32 findViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId orId, OdTrVisMetafileId mfId) const =0
virtual OdTrVisMetafileId getViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId orId, OdUInt32 nElement) const =0
virtual void modifyViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId overlayId, OdTrVisMetafileId mfId)=0
virtual OdTrRndLocalTransientManager * transientManager(bool createIfMissing=true) const =0
virtual OdTrVisHlBranchId getMetafileHlBranch(OdTrVisMetafileId mfId) const =0
virtual void setTransientManager(OdTrRndLocalTransientManager *pTransientManager) const =0
virtual const OdTrVisRendition * rendition() const =0
virtual void appendViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId overlayId, OdTrVisMetafileId mfId)=0
virtual OdUInt32 getViewportMetafileOrderLength(OdTrVisViewportId vpId, OdTrVisOverlayId orId) const =0
virtual void prependViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId overlayId, OdTrVisMetafileId mfId)=0
virtual OdUInt32 select(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, const OdGsDCRect &selRect, const SelectionInfo &selInfo=SelectionInfo(), SelectionReactor *pSelReactor=NULL) const =0
virtual OdGeMatrix3d coordinateSpaceTransform(OdTrVisViewportId vpId, OdTrVisOverlayId orId, CoordinatesSystem inSpace, CoordinatesSystem toSpace, bool bLocalScreenSpace=false) const =0
virtual OdTrVisCamera * getCamera(OdTrVisViewportId vpId, OdTrVisOverlayId orId) const =0
virtual const OdGeExtents3d & getOverlayExtents(OdTrVisViewportId vpId, OdTrVisOverlayId orId) const =0
virtual const ViewportBorderProps & getViewportBorderProps(ViewportBorderType nType) const =0
virtual OdTrVisMetafileContainer * getMetafileData(OdTrVisMetafileId mfId) const =0
virtual void deleteViewportMetafileOrderElement(OdTrVisViewportId vpId, OdTrVisOverlayId overlayId, OdTrVisMetafileId mfId)=0
OdTrGL2LocalRendererPtr & create(OdTrGL2LocalRenditionClient *pClient)
OdTrGL2LocalRendererPtr(const OdTrGL2LocalRendererPtr &ref)
OdTrGL2LocalRendererPtr(const OdTrVisRendition *pRendition)
OdTrGL2LocalRendererPtr()
OdTrGL2LocalRendererPtr & operator=(OdTrGL2LocalRenderer *pObj)
OdTrGL2LocalRendererPtr(const OdTrGL2LocalRenderer *pObj, bool bAttach=false)
static void addRef(OdTrGL2LocalRenderer *pObj)
static void release(OdTrGL2LocalRenderer *pObj)
TPtr & operator=(TObj *pObj)
GLuint GLsizei GLsizei GLint GLenum * type
ODTRRND_SI_DEF_FLAG(kSelSkipHlt, isSelectSkipHighlighted, setSelectSkipHighlighted)
ODTRRND_SI_DEF_FLAG(kSelInserts, isSelectInsertsOnly, setSelectInsertsOnly)
ODTRRND_SI_DEF_FLAG(kSelEnableHlt, isSelectHighlightingEnabled, setSelectHighlightingEnabled)
ODTRRND_SI_DEF_FLAG(kSelInvertHlt, isSelectHighlightingInversionEnabled, setSelectHighlightingInversionEnabled)
ODTRRND_SI_DEF_FLAG(kSelLast, isSelectLast, setSelectLast)
ODTRRND_SI_DEF_FLAG(kSelOnce, isSelectOnce, setSelectOnce)
SelectionInfo(SelectionType type, OdUInt32 flags=0)
ODTRRND_SI_DEF_FLAG(kSelSubEnts, isSelectSubentities, setSelectSubentities)
ODTRRND_SI_DEF_FLAG(kSelTop, isSelectTop, setSelectTop)
ODTRRND_SI_DEF_FLAG(kSelSkipHltSet, selectSkipHighlightedSetting, setSelectSkipHighlightedSetting)
virtual OdTrGL2LocalRenderer::SelectionFeedback selected(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdTrVisMetafileId *mfId, OdUInt32 nInserts, OdTrVisGsMarker selMarker, const OdTrGL2LocalRenderer::SelectionInfo &selectionInfo, const OdTrGL2LocalRenderer &renderer) const =0
ViewportBorderState m_bEnable
ViewportBorderProps(ViewportBorderState bEnable=kVpBorderDefault, ODCOLORREF color=ODRGBA(255, 255, 255, 255), int nWidth=1)