25 #ifndef ODTRRNDLOCALVIEWER
26 #define ODTRRNDLOCALVIEWER
64 virtual void pan(
int nX,
int nY) = 0;
66 virtual void zoom(
float fDelta) = 0;
68 virtual void zoom(
int nX,
int nY,
float fDelta) = 0;
83 virtual void rotate(
double xAngle,
double yAngle,
double zAngle,
bool bLocalCS =
true) = 0;
99 virtual void highlightAll(
bool bHighlight,
bool bByViewport =
true) = 0;
100 virtual void highlightByOwnerId(
const OdDbStub *pOwner,
bool bHighlight,
bool bByViewport =
true) = 0;
static void addRef(OdTrGL2LocalRenderer *pObj)
static void release(OdTrGL2LocalRenderer *pObj)
virtual OdTrVisViewportId activeViewportId() const =0
virtual void markViewportModified(OdTrVisViewportId id, OdUInt32 kindOfMod)=0
virtual void transformSectionPlanes(OdTrVisViewportId vpId, const OdGeMatrix3d &xForm)=0
virtual void zoom(float fDelta)=0
virtual OdTrGL2LocalRenderer * renderer()=0
virtual void zoomExtents(float coef=1.03f)=0
virtual void pan(int nX, int nY)=0
OdVector< OdTrVisLayerId, OdMemoryAllocator< OdTrVisLayerId > > LayersList
virtual ODCOLORREF backgroundColor() const =0
virtual void highlightAll(bool bHighlight, bool bByViewport=true)=0
virtual void update(OdTrVisRenderClient *pDevice)=0
virtual void rotate(double xAngle, double yAngle, double zAngle, bool bLocalCS=true)=0
virtual OdUInt32 sectionPlanesNumber(OdTrVisViewportId vpId) const =0
virtual bool isActiveViewport(OdTrVisViewportId vpId) const =0
virtual void getLayersList(LayersList &layers) const =0
virtual void setActiveViewport(OdTrVisViewportId vpId)=0
virtual OdTrVisSectionPlane * getSectionPlane(OdTrVisViewportId vpId, OdUInt32 nPlane=0) const =0
virtual void removeSectionPlane(OdTrVisViewportId vpId)=0
virtual void addSectionPlane(OdTrVisViewportId vpId, const OdTrVisSectionPlane &plane)=0
virtual bool recomputeSceneDepth(OdTrVisViewportId vpId)=0
virtual void disableLayer(OdTrVisLayerId layerId, bool bByViewport=false)=0
virtual void setActiveViewportIndex(int nViewport)=0
virtual void toggleLayer(OdTrVisLayerId layerId, bool bByViewport=false)=0
virtual void enableLayer(OdTrVisLayerId layerId, bool bByViewport=false)=0
virtual void setRenderMode(OdTrVisViewportId vpId, OdGsView::RenderMode rm)=0
virtual void zoom(int nX, int nY, float fDelta)=0
virtual const OdTrVisLayerDef * getLayerDef(OdTrVisLayerId layerId) const =0
virtual OdTrVisViewportId pickViewport(int nX, int nY)=0
virtual OdUInt32 activeViewportIndex() const =0
virtual void translate(const OdGeVector3d &offset)=0
virtual void resize(const OdGsDCRect &dcRect)=0
virtual const OdTrGL2LocalRenderer * renderer() const =0
virtual void setBackgroundColor(ODCOLORREF rgba)=0
virtual void orbit(int nX, int nY, OrbitType type=kOrbitPerp, float angle=0.0f)=0
virtual OdGsView::RenderMode renderMode(OdTrVisViewportId vpId) const =0
virtual void highlightByOwnerId(const OdDbStub *pOwner, bool bHighlight, bool bByViewport=true)=0
OdTrGL2LocalViewerPtr(const OdTrVisRendition *pRendition)
OdTrGL2LocalViewerPtr(const OdTrGL2LocalViewer *pObj, bool bAttach=false)
OdTrGL2LocalViewerPtr & operator=(OdTrGL2LocalViewer *pObj)
OdTrGL2LocalViewerPtr(const OdTrGL2LocalRenderer *pRenderer)
OdTrGL2LocalViewerPtr(const OdTrGL2LocalViewerPtr &ref)
OdTrGL2LocalViewerPtr & create(OdTrGL2LocalRenditionClient *pClient)
static void release(OdTrGL2LocalViewer *pObj)
static void addRef(OdTrGL2LocalViewer *pObj)
TPtr & operator=(TObj *pObj)
GLuint GLsizei GLsizei GLint GLenum * type