CFx SDK Documentation  2020SP3
Classes | Public Member Functions | Protected Member Functions | List of all members
OdBrepRenderer Class Referenceabstract

#include <BrepRenderer.h>

Inheritance diagram for OdBrepRenderer:
OdBrepRendererImpl

Classes

struct  NumIsolines
 

Public Member Functions

virtual ~OdBrepRenderer ()
 
virtual void setBrep (const OdBrBrep &brep)=0
 
virtual void enableCaching ()=0
 
virtual void disableCaching (bool clearCache=true)=0
 
virtual bool isCachingEnabled () const =0
 
virtual void setTriangulationParams (const wrTriangulationParams *pTriangulationParams)=0
 
virtual const wrTriangulationParamsgetTriangulationParams () const =0
 
virtual bool draw (OdGiCommonDraw *pWd, OdUInt32 geomType, const NumIsolines *pNumIsolines=0)=0
 
virtual bool drawSilhouettes (OdGiViewportDraw *pVd)=0
 
virtual void transformBy (const OdGeMatrix3d &xfm)=0
 

Protected Member Functions

 OdBrepRenderer ()
 

Detailed Description

This class is the base class for classes that provide platform-dependent ACIS rendering for Teigha. Corresponding C++ library: TD_BrepRenderer

<group Other_Classes>

Definition at line 45 of file BrepRenderer.h.

Constructor & Destructor Documentation

◆ OdBrepRenderer()

OdBrepRenderer::OdBrepRenderer ( )
inlineprotected

Definition at line 48 of file BrepRenderer.h.

◆ ~OdBrepRenderer()

virtual OdBrepRenderer::~OdBrepRenderer ( )
inlinevirtual

Definition at line 52 of file BrepRenderer.h.

Member Function Documentation

◆ disableCaching()

virtual void OdBrepRenderer::disableCaching ( bool  clearCache = true)
pure virtual

Disables caching for this Renderer object.

Parameters
clearCache[in] Clears rendering cache if and only if true.

Implemented in OdBrepRendererImpl.

◆ draw()

virtual bool OdBrepRenderer::draw ( OdGiCommonDraw pWd,
OdUInt32  geomType,
const NumIsolines pNumIsolines = 0 
)
pure virtual

Creates a geometric representation of the BREP data of this Renderer object.

Returns
Returns true if and only if the geometric representation can be generated.
Parameters
pWd[in] Pointer to the OdGiCommonDraw interface.
geomType[in] Geometry type.
Remarks
geomType must be a combination of one or more of the following:

Value kNothing 0
kIsolines 1 kEdges 2 kShells 4 kOrderedEdges 8 kSurfIsolines 16

Implemented in OdBrepRendererImpl.

◆ drawSilhouettes()

virtual bool OdBrepRenderer::drawSilhouettes ( OdGiViewportDraw pVd)
pure virtual

Creates a silhouette representation of the BREP data of this Renderer object.

Returns
Returns true if and only if the silhouette representation can be generated.
Parameters
pVd[in] Pointer to the OdGiViewportDraw interface.

Implemented in OdBrepRendererImpl.

◆ enableCaching()

virtual void OdBrepRenderer::enableCaching ( )
pure virtual

Enables caching for this Renderer object.

Implemented in OdBrepRendererImpl.

◆ getTriangulationParams()

virtual const wrTriangulationParams* OdBrepRenderer::getTriangulationParams ( ) const
pure virtual

Returns the Triangular Parameters for this Renderer object.

Implemented in OdBrepRendererImpl.

◆ isCachingEnabled()

virtual bool OdBrepRenderer::isCachingEnabled ( ) const
pure virtual

Returns true if and only if caching is enabled for this Renderer object.

Implemented in OdBrepRendererImpl.

◆ setBrep()

virtual void OdBrepRenderer::setBrep ( const OdBrBrep brep)
pure virtual

Sets the BREP data for this Renderer object.

Parameters
brep[in] BREP data.

Implemented in OdBrepRendererImpl.

◆ setTriangulationParams()

virtual void OdBrepRenderer::setTriangulationParams ( const wrTriangulationParams pTriangulationParams)
pure virtual

Sets the Triangular Parameters for this Renderer object.

Parameters
pTriangulationParams[in] Pointer to the Triangular Parameters.

Implemented in OdBrepRendererImpl.

◆ transformBy()

virtual void OdBrepRenderer::transformBy ( const OdGeMatrix3d xfm)
pure virtual

Applies the 3D transformation matrix to the BREP data of Renderer object.

Parameters
xfm[in] 3D transformation matrix.

Implemented in OdBrepRendererImpl.


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