Open CASCADE Technology  7.2.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 Public Member Functions inherited from Prs3d_Root
static Handle< Graphic3d_GroupCurrentGroup (const Handle< Prs3d_Presentation > &thePrs3d)
 Returns the current (last created) group of primititves inside graphic objects in the display. A group also contains the attributes whose ranges are limited to the primitives in it. More...
 
static Handle< Graphic3d_GroupNewGroup (const Handle< Prs3d_Presentation > &thePrs3d)
 Returns the new group of primitives inside graphic objects in the display. A group also contains the attributes whose ranges are limited to the primitives in it. More...
 

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

◆ 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

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