OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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 occ::handle< Prs3d_Presentation > &thePresentation, const TopoDS_Shape &theShape, const occ::handle< Prs3d_Drawer > &theDrawer, bool theIsParallel=false)
     Computes wireframe presentation of a shape.
    static occ::handle< Graphic3d_ArrayOfPrimitives > AddEdgesOnTriangulation (const TopoDS_Shape &theShape, const bool theToExcludeGeometric=true)
     Compute free and boundary edges on a triangulation of each face in the given shape.
    static void AddEdgesOnTriangulation (NCollection_Sequence< gp_Pnt > &theSegments, const TopoDS_Shape &theShape, const bool theToExcludeGeometric=true)
     Compute free and boundary edges on a triangulation of each face in the given shape.
    static occ::handle< Graphic3d_ArrayOfPrimitives > AddAllEdges (const TopoDS_Shape &theShape, const occ::handle< Prs3d_Drawer > &theDrawer)
     Compute all edges (wire, free, unfree) and put them into single primitive array.
    static occ::handle< Graphic3d_ArrayOfPoints > AddVertexes (const TopoDS_Shape &theShape, Prs3d_VertexDrawMode theVertexMode)
     Compute vertex presentation for a shape.
    Static Public Member Functions inherited from Prs3d_Root
    called static instead occ::handle< Graphic3d_Group > CurrentGroup (const occ::handle< Prs3d_Presentation > &thePrs3d)
    static instead occ::handle< Graphic3d_Group > NewGroup (const occ::handle< Prs3d_Presentation > &thePrs3d)

    Detailed Description

    Tool for computing wireframe presentation of a TopoDS_Shape.

    Member Function Documentation

    ◆ Add()

    void StdPrs_WFShape::Add ( const occ::handle< Prs3d_Presentation > & thePresentation,
    const TopoDS_Shape & theShape,
    const occ::handle< Prs3d_Drawer > & theDrawer,
    bool theIsParallel = 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()

    occ::handle< Graphic3d_ArrayOfPrimitives > StdPrs_WFShape::AddAllEdges ( const TopoDS_Shape & theShape,
    const occ::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]

    occ::handle< Graphic3d_ArrayOfPrimitives > StdPrs_WFShape::AddEdgesOnTriangulation ( const TopoDS_Shape & theShape,
    const bool theToExcludeGeometric = 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]

    void StdPrs_WFShape::AddEdgesOnTriangulation ( NCollection_Sequence< gp_Pnt > & theSegments,
    const TopoDS_Shape & theShape,
    const bool theToExcludeGeometric = 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()

    occ::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: