Open CASCADE Technology  7.5.0
Static Public Member Functions

StdPrs_WFShape Class Reference

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

#include <StdPrs_WFShape.hxx>

Inheritance diagram for StdPrs_WFShape:
Inheritance graph
[legend]

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. More...
 
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. More...
 
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. More...
 
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. More...
 
static Handle< Graphic3d_ArrayOfPointsAddVertexes (const TopoDS_Shape &theShape, Prs3d_VertexDrawMode theVertexMode)
 Compute vertex presentation for a shape. More...
 
- Static Public Member Functions inherited from Prs3d_Root
static Handle< Graphic3d_GroupCurrentGroup (const Handle< Prs3d_Presentation > &thePrs3d)
 
static 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
thePresentation[in] the presentation.
theShape[in] the shape.
theDrawer[in] the draw settings.
theIsParallel[in] perform 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
theShape[in] the shape
theDrawer[in] the 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
theShape[in] the list of triangulated faces
theToExcludeGeometric[in] flag 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
theSegments[in] the sequence of points defining segments
theShape[in] the list of triangulated faces
theToExcludeGeometric[in] flag 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
theShape[in] the shape
theVertexMode[in] vertex filter

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