CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
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;
160 #endif // ODTRRNDLOCALVIEWER
virtual void setActiveViewportIndex(int nViewport)=0
TPtr & operator=(TObj *pObj)
virtual OdGsView::RenderMode renderMode(OdTrVisViewportId vpId) const =0
OdTrGL2LocalViewerPtr(const OdTrVisRendition *pRendition)
GLuint GLsizei GLsizei GLint GLenum * type
OdTrGL2LocalViewerPtr(const OdTrGL2LocalViewer *pObj, bool bAttach=false)
virtual void getLayersList(LayersList &layers) const =0
virtual OdUInt32 activeViewportIndex() const =0
virtual void zoom(int nX, int nY, float fDelta)=0
virtual void removeSectionPlane(OdTrVisViewportId vpId)=0
virtual void setBackgroundColor(ODCOLORREF rgba)=0
virtual OdTrVisSectionPlane * getSectionPlane(OdTrVisViewportId vpId, OdUInt32 nPlane=0) const =0
static void addRef(OdTrGL2LocalRenderer *pObj)
virtual void enableLayer(OdTrVisLayerId layerId, bool bByViewport=false)=0
virtual bool recomputeSceneDepth(OdTrVisViewportId vpId)=0
virtual void update(OdTrVisRenderClient *pDevice)=0
virtual const OdTrVisLayerDef * getLayerDef(OdTrVisLayerId layerId) const =0
virtual void rotate(double xAngle, double yAngle, double zAngle, bool bLocalCS=true)=0
virtual OdTrVisViewportId activeViewportId() const =0
virtual void resize(const OdGsDCRect &dcRect)=0
static void addRef(OdTrGL2LocalViewer *pObj)
virtual void highlightByOwnerId(const OdDbStub *pOwner, bool bHighlight, bool bByViewport=true)=0
OdVector< OdTrVisLayerId, OdMemoryAllocator< OdTrVisLayerId > > LayersList
virtual void addSectionPlane(OdTrVisViewportId vpId, const OdTrVisSectionPlane &plane)=0
virtual void markViewportModified(OdTrVisViewportId id, OdUInt32 kindOfMod)=0
OdTrGL2LocalViewerPtr(const OdTrGL2LocalViewerPtr &ref)
static void release(OdTrGL2LocalRenderer *pObj)
virtual void pan(int nX, int nY)=0
virtual OdTrGL2LocalRenderer * renderer()=0
virtual bool isActiveViewport(OdTrVisViewportId vpId) const =0
virtual void toggleLayer(OdTrVisLayerId layerId, bool bByViewport=false)=0
OdTrGL2LocalViewerPtr(const OdTrGL2LocalRenderer *pRenderer)
virtual void setActiveViewport(OdTrVisViewportId vpId)=0
virtual ODCOLORREF backgroundColor() const =0
virtual void zoomExtents(float coef=1.03f)=0
OdTrGL2LocalViewerPtr & operator=(OdTrGL2LocalViewer *pObj)
virtual void transformSectionPlanes(OdTrVisViewportId vpId, const OdGeMatrix3d &xForm)=0
virtual void orbit(int nX, int nY, OrbitType type=kOrbitPerp, float angle=0.0f)=0
virtual void zoom(float fDelta)=0
virtual void translate(const OdGeVector3d &offset)=0
static void release(OdTrGL2LocalViewer *pObj)
virtual void disableLayer(OdTrVisLayerId layerId, bool bByViewport=false)=0
virtual OdTrVisViewportId pickViewport(int nX, int nY)=0
virtual OdUInt32 sectionPlanesNumber(OdTrVisViewportId vpId) const =0
virtual void setRenderMode(OdTrVisViewportId vpId, OdGsView::RenderMode rm)=0
OdTrGL2LocalViewerPtr & create(OdTrGL2LocalRenditionClient *pClient)
virtual void highlightAll(bool bHighlight, bool bByViewport=true)=0
virtual const OdTrGL2LocalRenderer * renderer() const =0