CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
OdTrRndLocalViewer Class Referenceabstract

#include <TrRndLocalViewer.h>

Public Types

enum  OrbitType { kOrbitPerp = 0 , kOrbitHorizontal , kOrbitVertical , kOrbitEye }
 
typedef OdVector< OdTrVisLayerId, OdMemoryAllocator< OdTrVisLayerId > > LayersList
 

Public Member Functions

virtual OdTrRndLocalRendererrenderer ()=0
 
virtual const OdTrRndLocalRendererrenderer () const =0
 
virtual ODCOLORREF backgroundColor () const =0
 
virtual void setBackgroundColor (ODCOLORREF rgba)=0
 
virtual void resize (const OdGsDCRect &dcRect)=0
 
virtual void update (OdTrVisRenderClient *pDevice)=0
 
virtual OdUInt32 activeViewportIndex () const =0
 
virtual OdTrVisViewportId activeViewportId () const =0
 
virtual bool isActiveViewport (OdTrVisViewportId vpId) const =0
 
virtual void setActiveViewport (OdTrVisViewportId vpId)=0
 
virtual void setActiveViewportIndex (int nViewport)=0
 
virtual OdTrVisViewportId activeSelectionViewportId () const =0
 
virtual void pan (int nX, int nY)=0
 
virtual void zoom (float fDelta)=0
 
virtual void zoom (int nX, int nY, float fDelta)=0
 
virtual void orbit (int nX, int nY, OrbitType type=kOrbitPerp, float angle=0.0f)=0
 
virtual void zoomExtents (float coef=1.03f)=0
 
virtual void translate (const OdGeVector3d &offset)=0
 
virtual void rotate (double xAngle, double yAngle, double zAngle, bool bLocalCS=true)=0
 
virtual void getLayersList (LayersList &layers) const =0
 
virtual const OdTrVisLayerDefgetLayerDef (OdTrVisLayerId layerId) const =0
 
virtual const OdStringgetLayerName (OdTrVisLayerId layerId) const =0
 
virtual void enableLayer (OdTrVisLayerId layerId, bool bByViewport=false)=0
 
virtual void disableLayer (OdTrVisLayerId layerId, bool bByViewport=false)=0
 
virtual void toggleLayer (OdTrVisLayerId layerId, bool bByViewport=false)=0
 
virtual void highlightAll (bool bHighlight, bool bByViewport=true)=0
 
virtual void highlightByOwnerId (OdTrVisOwning ownerId, bool bHighlight, bool bByViewport=true)=0
 
virtual OdTrVisViewportId pickViewport (int nX, int nY)=0
 
virtual OdGsView::RenderMode renderMode (OdTrVisViewportId vpId) const =0
 
virtual void setRenderMode (OdTrVisViewportId vpId, OdGsView::RenderMode rm)=0
 
virtual void addSectionPlane (OdTrVisViewportId vpId, const OdTrVisSectionPlane &plane)=0
 
virtual void removeSectionPlane (OdTrVisViewportId vpId)=0
 
virtual OdUInt32 sectionPlanesNumber (OdTrVisViewportId vpId) const =0
 
virtual const OdTrVisSectionPlanegetSectionPlane (OdTrVisViewportId vpId, OdUInt32 nPlane=0) const =0
 
virtual void transformSectionPlanes (OdTrVisViewportId vpId, const OdGeMatrix3d &xForm)=0
 
virtual void markViewportModified (OdTrVisViewportId id, bool bViewProps=true, bool bRenderMode=false)=0
 
virtual bool recomputeSceneDepth (OdTrVisViewportId vpId)=0
 

Detailed Description

<group ExRender_Windows_Classes>

Definition at line 36 of file TrRndLocalViewer.h.

Member Typedef Documentation

◆ LayersList

Definition at line 89 of file TrRndLocalViewer.h.

Member Enumeration Documentation

◆ OrbitType

Enumerator
kOrbitPerp 
kOrbitHorizontal 
kOrbitVertical 
kOrbitEye 

Definition at line 73 of file TrRndLocalViewer.h.

Member Function Documentation

◆ activeSelectionViewportId()

virtual OdTrVisViewportId OdTrRndLocalViewer::activeSelectionViewportId ( ) const
pure virtual

◆ activeViewportId()

virtual OdTrVisViewportId OdTrRndLocalViewer::activeViewportId ( ) const
pure virtual

◆ activeViewportIndex()

virtual OdUInt32 OdTrRndLocalViewer::activeViewportIndex ( ) const
pure virtual

◆ addSectionPlane()

virtual void OdTrRndLocalViewer::addSectionPlane ( OdTrVisViewportId  vpId,
const OdTrVisSectionPlane plane 
)
pure virtual

◆ backgroundColor()

virtual ODCOLORREF OdTrRndLocalViewer::backgroundColor ( ) const
pure virtual

◆ disableLayer()

virtual void OdTrRndLocalViewer::disableLayer ( OdTrVisLayerId  layerId,
bool  bByViewport = false 
)
pure virtual

◆ enableLayer()

virtual void OdTrRndLocalViewer::enableLayer ( OdTrVisLayerId  layerId,
bool  bByViewport = false 
)
pure virtual

◆ getLayerDef()

virtual const OdTrVisLayerDef * OdTrRndLocalViewer::getLayerDef ( OdTrVisLayerId  layerId) const
pure virtual

◆ getLayerName()

virtual const OdString & OdTrRndLocalViewer::getLayerName ( OdTrVisLayerId  layerId) const
pure virtual

◆ getLayersList()

virtual void OdTrRndLocalViewer::getLayersList ( LayersList layers) const
pure virtual

◆ getSectionPlane()

virtual const OdTrVisSectionPlane * OdTrRndLocalViewer::getSectionPlane ( OdTrVisViewportId  vpId,
OdUInt32  nPlane = 0 
) const
pure virtual

◆ highlightAll()

virtual void OdTrRndLocalViewer::highlightAll ( bool  bHighlight,
bool  bByViewport = true 
)
pure virtual

◆ highlightByOwnerId()

virtual void OdTrRndLocalViewer::highlightByOwnerId ( OdTrVisOwning  ownerId,
bool  bHighlight,
bool  bByViewport = true 
)
pure virtual

◆ isActiveViewport()

virtual bool OdTrRndLocalViewer::isActiveViewport ( OdTrVisViewportId  vpId) const
pure virtual

◆ markViewportModified()

virtual void OdTrRndLocalViewer::markViewportModified ( OdTrVisViewportId  id,
bool  bViewProps = true,
bool  bRenderMode = false 
)
pure virtual

◆ orbit()

virtual void OdTrRndLocalViewer::orbit ( int  nX,
int  nY,
OrbitType  type = kOrbitPerp,
float  angle = 0.0f 
)
pure virtual

◆ pan()

virtual void OdTrRndLocalViewer::pan ( int  nX,
int  nY 
)
pure virtual

◆ pickViewport()

virtual OdTrVisViewportId OdTrRndLocalViewer::pickViewport ( int  nX,
int  nY 
)
pure virtual

◆ recomputeSceneDepth()

virtual bool OdTrRndLocalViewer::recomputeSceneDepth ( OdTrVisViewportId  vpId)
pure virtual

◆ removeSectionPlane()

virtual void OdTrRndLocalViewer::removeSectionPlane ( OdTrVisViewportId  vpId)
pure virtual

◆ renderer() [1/2]

virtual const OdTrRndLocalRenderer * OdTrRndLocalViewer::renderer ( ) const
pure virtual

◆ renderer() [2/2]

virtual OdTrRndLocalRenderer * OdTrRndLocalViewer::renderer ( )
pure virtual

◆ renderMode()

virtual OdGsView::RenderMode OdTrRndLocalViewer::renderMode ( OdTrVisViewportId  vpId) const
pure virtual

◆ resize()

virtual void OdTrRndLocalViewer::resize ( const OdGsDCRect dcRect)
pure virtual

◆ rotate()

virtual void OdTrRndLocalViewer::rotate ( double  xAngle,
double  yAngle,
double  zAngle,
bool  bLocalCS = true 
)
pure virtual

◆ sectionPlanesNumber()

virtual OdUInt32 OdTrRndLocalViewer::sectionPlanesNumber ( OdTrVisViewportId  vpId) const
pure virtual

◆ setActiveViewport()

virtual void OdTrRndLocalViewer::setActiveViewport ( OdTrVisViewportId  vpId)
pure virtual

◆ setActiveViewportIndex()

virtual void OdTrRndLocalViewer::setActiveViewportIndex ( int  nViewport)
pure virtual

◆ setBackgroundColor()

virtual void OdTrRndLocalViewer::setBackgroundColor ( ODCOLORREF  rgba)
pure virtual

◆ setRenderMode()

virtual void OdTrRndLocalViewer::setRenderMode ( OdTrVisViewportId  vpId,
OdGsView::RenderMode  rm 
)
pure virtual

◆ toggleLayer()

virtual void OdTrRndLocalViewer::toggleLayer ( OdTrVisLayerId  layerId,
bool  bByViewport = false 
)
pure virtual

◆ transformSectionPlanes()

virtual void OdTrRndLocalViewer::transformSectionPlanes ( OdTrVisViewportId  vpId,
const OdGeMatrix3d xForm 
)
pure virtual

◆ translate()

virtual void OdTrRndLocalViewer::translate ( const OdGeVector3d offset)
pure virtual

◆ update()

virtual void OdTrRndLocalViewer::update ( OdTrVisRenderClient pDevice)
pure virtual

◆ zoom() [1/2]

virtual void OdTrRndLocalViewer::zoom ( float  fDelta)
pure virtual

◆ zoom() [2/2]

virtual void OdTrRndLocalViewer::zoom ( int  nX,
int  nY,
float  fDelta 
)
pure virtual

◆ zoomExtents()

virtual void OdTrRndLocalViewer::zoomExtents ( float  coef = 1.03f)
pure virtual

The documentation for this class was generated from the following file: