Open CASCADE Technology 7.9.0
StdPrs_WFShape Class Reference

Tool for computing wireframe presentation of a TopoDS_Shape. More...

#include <StdPrs_WFShape.hxx>

Inheritance diagram for StdPrs_WFShape:

Static Public Member Functions

static void Add (const Handle< Prs3d_Presentation > &thePresentation, const TopoDS_Shape &theShape, const Handle< Prs3d_Drawer > &theDrawer, Standard_Boolean theIsParallel=Standard_False)
 Computes wireframe presentation of a shape.
 
static Handle< Graphic3d_ArrayOfPrimitivesAddEdgesOnTriangulation (const TopoDS_Shape &theShape, const Standard_Boolean theToExcludeGeometric=Standard_True)
 Compute free and boundary edges on a triangulation of each face in the given shape.
 
static void AddEdgesOnTriangulation (TColgp_SequenceOfPnt &theSegments, const TopoDS_Shape &theShape, const Standard_Boolean theToExcludeGeometric=Standard_True)
 Compute free and boundary edges on a triangulation of each face in the given shape.
 
static Handle< Graphic3d_ArrayOfPrimitivesAddAllEdges (const TopoDS_Shape &theShape, const Handle< Prs3d_Drawer > &theDrawer)
 Compute all edges (wire, free, unfree) and put them into single primitive array.
 
static Handle< Graphic3d_ArrayOfPointsAddVertexes (const TopoDS_Shape &theShape, Prs3d_VertexDrawMode theVertexMode)
 Compute vertex presentation for a shape.
 
- Static Public Member Functions inherited from Prs3d_Root
called static instead Handle< Graphic3d_GroupCurrentGroup (const Handle< Prs3d_Presentation > &thePrs3d)
 
static instead Handle< Graphic3d_GroupNewGroup (const Handle< Prs3d_Presentation > &thePrs3d)
 

Detailed Description

Tool for computing wireframe presentation of a TopoDS_Shape.

Member Function Documentation

◆ Add()

static void StdPrs_WFShape::Add ( const Handle< Prs3d_Presentation > & thePresentation,
const TopoDS_Shape & theShape,
const Handle< Prs3d_Drawer > & theDrawer,
Standard_Boolean theIsParallel = Standard_False )
static

Computes wireframe presentation of a shape.

Parameters
[in]thePresentationthe presentation.
[in]theShapethe shape.
[in]theDrawerthe draw settings.
[in]theIsParallelperform algorithm using multiple threads

◆ AddAllEdges()

static Handle< Graphic3d_ArrayOfPrimitives > StdPrs_WFShape::AddAllEdges ( const TopoDS_Shape & theShape,
const Handle< Prs3d_Drawer > & theDrawer )
static

Compute all edges (wire, free, unfree) and put them into single primitive array.

Parameters
[in]theShapethe shape
[in]theDrawerthe drawer settings (deviation angle and maximal parameter value)

◆ AddEdgesOnTriangulation() [1/2]

static Handle< Graphic3d_ArrayOfPrimitives > StdPrs_WFShape::AddEdgesOnTriangulation ( const TopoDS_Shape & theShape,
const Standard_Boolean theToExcludeGeometric = Standard_True )
static

Compute free and boundary edges on a triangulation of each face in the given shape.

Parameters
[in]theShapethe list of triangulated faces
[in]theToExcludeGeometricflag indicating that Faces with defined Surface should be skipped

◆ AddEdgesOnTriangulation() [2/2]

static void StdPrs_WFShape::AddEdgesOnTriangulation ( TColgp_SequenceOfPnt & theSegments,
const TopoDS_Shape & theShape,
const Standard_Boolean theToExcludeGeometric = Standard_True )
static

Compute free and boundary edges on a triangulation of each face in the given shape.

Parameters
[in]theSegmentsthe sequence of points defining segments
[in]theShapethe list of triangulated faces
[in]theToExcludeGeometricflag indicating that Faces with defined Surface should be skipped

◆ AddVertexes()

static Handle< Graphic3d_ArrayOfPoints > StdPrs_WFShape::AddVertexes ( const TopoDS_Shape & theShape,
Prs3d_VertexDrawMode theVertexMode )
static

Compute vertex presentation for a shape.

Parameters
[in]theShapethe shape
[in]theVertexModevertex filter

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