25#ifndef ODTRRNDLOCALVIEWER
26#define ODTRRNDLOCALVIEWER
67 virtual void pan(
int nX,
int nY) = 0;
69 virtual void zoom(
float fDelta) = 0;
71 virtual void zoom(
int nX,
int nY,
float fDelta) = 0;
86 virtual void rotate(
double xAngle,
double yAngle,
double zAngle,
bool bLocalCS =
true) = 0;
104 virtual void highlightAll(
bool bHighlight,
bool bByViewport =
true) = 0;
virtual OdTrRndLocalViewer * viewer()=0
static void release(OdTrRndLocalRenderer *pObj)
static void addRef(OdTrRndLocalRenderer *pObj)
virtual const OdTrVisSectionPlane * getSectionPlane(OdTrVisViewportId vpId, OdUInt32 nPlane=0) const =0
virtual void resize(const OdGsDCRect &dcRect)=0
virtual const OdString & getLayerName(OdTrVisLayerId layerId) const =0
virtual void setRenderMode(OdTrVisViewportId vpId, OdGsView::RenderMode rm)=0
virtual void zoomExtents(float coef=1.03f)=0
virtual OdUInt32 sectionPlanesNumber(OdTrVisViewportId vpId) const =0
virtual void orbit(int nX, int nY, OrbitType type=kOrbitPerp, float angle=0.0f)=0
virtual void markViewportModified(OdTrVisViewportId id, bool bViewProps=true, bool bRenderMode=false)=0
virtual void translate(const OdGeVector3d &offset)=0
virtual OdGsView::RenderMode renderMode(OdTrVisViewportId vpId) const =0
virtual ODCOLORREF backgroundColor() const =0
virtual void setBackgroundColor(ODCOLORREF rgba)=0
virtual bool isActiveViewport(OdTrVisViewportId vpId) const =0
virtual void toggleLayer(OdTrVisLayerId layerId, bool bByViewport=false)=0
virtual void disableLayer(OdTrVisLayerId layerId, bool bByViewport=false)=0
virtual OdTrRndLocalRenderer * renderer()=0
virtual void zoom(int nX, int nY, float fDelta)=0
virtual void zoom(float fDelta)=0
OdVector< OdTrVisLayerId, OdMemoryAllocator< OdTrVisLayerId > > LayersList
virtual void setActiveViewportIndex(int nViewport)=0
virtual void removeSectionPlane(OdTrVisViewportId vpId)=0
virtual void addSectionPlane(OdTrVisViewportId vpId, const OdTrVisSectionPlane &plane)=0
virtual bool recomputeSceneDepth(OdTrVisViewportId vpId)=0
virtual void rotate(double xAngle, double yAngle, double zAngle, bool bLocalCS=true)=0
virtual const OdTrVisLayerDef * getLayerDef(OdTrVisLayerId layerId) const =0
virtual OdTrVisViewportId activeViewportId() const =0
virtual OdTrVisViewportId pickViewport(int nX, int nY)=0
virtual void pan(int nX, int nY)=0
virtual void enableLayer(OdTrVisLayerId layerId, bool bByViewport=false)=0
virtual OdTrVisViewportId activeSelectionViewportId() const =0
virtual void highlightAll(bool bHighlight, bool bByViewport=true)=0
virtual void update(OdTrVisRenderClient *pDevice)=0
virtual const OdTrRndLocalRenderer * renderer() const =0
virtual OdUInt32 activeViewportIndex() const =0
virtual void setActiveViewport(OdTrVisViewportId vpId)=0
virtual void getLayersList(LayersList &layers) const =0
virtual void transformSectionPlanes(OdTrVisViewportId vpId, const OdGeMatrix3d &xForm)=0
virtual void highlightByOwnerId(OdTrVisOwning ownerId, bool bHighlight, bool bByViewport=true)=0
OdTrRndLocalViewerPtr(const OdTrRndLocalViewerPtr &ref)
OdTrRndLocalViewerPtr & operator=(OdTrRndLocalViewer *pObj)
OdTrRndLocalViewerPtr(const OdTrRndLocalViewer *pObj, bool bAttach=false)
OdTrRndLocalViewerPtr(const OdTrRndLocalRenderer *pRenderer)
static void release(OdTrRndLocalViewer *pObj)
static void addRef(OdTrRndLocalViewer *pObj)
TPtr & operator=(TObj *pObj)
GLuint GLsizei GLsizei GLint GLenum * type