CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdBrepRendererImpl Class Reference

#include <BrepRendererImpl.h>

Inheritance diagram for OdBrepRendererImpl:
OdBrepRenderer

Public Member Functions

 OdBrepRendererImpl ()
 
virtual ~OdBrepRendererImpl ()
 
virtual void setMaterialResolver (const OdMaterialResolver *pResolver)
 
virtual void setBrep (const OdBrBrep &brep)
 
virtual void enableCaching ()
 
virtual void disableCaching (bool clearCache=true)
 
virtual bool isCachingEnabled () const
 
virtual void setTriangulationParams (const wrTriangulationParams *pTriangulationParams)
 
virtual const wrTriangulationParamsgetTriangulationParams () const
 
virtual bool draw (OdGiCommonDraw *pWd, OdUInt32 geomType, const NumIsolines *pNumIsolines=0)
 
virtual bool drawSilhouettes (OdGiViewportDraw *pVd)
 
virtual void transformBy (const OdGeMatrix3d &xfm)
 
- Public Member Functions inherited from OdBrepRenderer
virtual ~OdBrepRenderer ()
 

Additional Inherited Members

- Protected Member Functions inherited from OdBrepRenderer
 OdBrepRenderer ()
 

Detailed Description

This class implements platform-dependent ACIS rendering for Teigha. Corresponding C++ library: TD_BrepRenderer <group Other_Classes>

Definition at line 47 of file BrepRendererImpl.h.

Constructor & Destructor Documentation

◆ OdBrepRendererImpl()

OdBrepRendererImpl::OdBrepRendererImpl ( )

◆ ~OdBrepRendererImpl()

virtual OdBrepRendererImpl::~OdBrepRendererImpl ( )
virtual

Member Function Documentation

◆ disableCaching()

virtual void OdBrepRendererImpl::disableCaching ( bool  clearCache = true)
virtual

Disables caching for this Renderer object.

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

Implements OdBrepRenderer.

◆ draw()

virtual bool OdBrepRendererImpl::draw ( OdGiCommonDraw pWd,
OdUInt32  geomType,
const NumIsolines pNumIsolines = 0 
)
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

Implements OdBrepRenderer.

◆ drawSilhouettes()

virtual bool OdBrepRendererImpl::drawSilhouettes ( OdGiViewportDraw pVd)
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.

Implements OdBrepRenderer.

◆ enableCaching()

virtual void OdBrepRendererImpl::enableCaching ( )
virtual

Enables caching for this Renderer object.

Implements OdBrepRenderer.

◆ getTriangulationParams()

virtual const wrTriangulationParams* OdBrepRendererImpl::getTriangulationParams ( ) const
virtual

Returns the Triangular Parameters for this Renderer object.

Implements OdBrepRenderer.

◆ isCachingEnabled()

virtual bool OdBrepRendererImpl::isCachingEnabled ( ) const
virtual

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

Implements OdBrepRenderer.

◆ setBrep()

virtual void OdBrepRendererImpl::setBrep ( const OdBrBrep brep)
virtual

Sets the BREP data for this Renderer object.

Parameters
brep[in] BREP data.

Implements OdBrepRenderer.

◆ setMaterialResolver()

virtual void OdBrepRendererImpl::setMaterialResolver ( const OdMaterialResolver pResolver)
virtual

◆ setTriangulationParams()

virtual void OdBrepRendererImpl::setTriangulationParams ( const wrTriangulationParams pTriangulationParams)
virtual

Sets the Triangular Parameters for this Renderer object.

Parameters
pTriangulationParams[in] Pointer to the Triangular Parameters.

Implements OdBrepRenderer.

◆ transformBy()

virtual void OdBrepRendererImpl::transformBy ( const OdGeMatrix3d xfm)
virtual

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

Parameters
xfm[in] 3D transformation matrix.

Implements OdBrepRenderer.


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