OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    XCAFPrs Class Reference

    Presentation (visualiation, selection etc.) tools for DECAF documents. More...

    #include <XCAFPrs.hxx>

    Static Public Member Functions

    static void CollectStyleSettings (const TDF_Label &L, const TopLoc_Location &loc, NCollection_IndexedDataMap< TopoDS_Shape, XCAFPrs_Style, TopTools_ShapeMapHasher > &settings, const Quantity_ColorRGBA &theLayerColor=Quantity_ColorRGBA(Quantity_NOC_WHITE))
     Collect styles defined for shape on label L and its components and subshapes and fills a map of shape - style correspondence The location <loc> is for internal use, it should be Null location for external call.
    static void SetViewNameMode (const bool viewNameMode)
     Set ViewNameMode for indicate display names or not.
    static bool GetViewNameMode ()

    Detailed Description

    Presentation (visualiation, selection etc.) tools for DECAF documents.

    Member Function Documentation

    ◆ CollectStyleSettings()

    void XCAFPrs::CollectStyleSettings ( const TDF_Label & L,
    const TopLoc_Location & loc,
    NCollection_IndexedDataMap< TopoDS_Shape, XCAFPrs_Style, TopTools_ShapeMapHasher > & settings,
    const Quantity_ColorRGBA & theLayerColor = Quantity_ColorRGBA(Quantity_NOC_WHITE) )
    static

    Collect styles defined for shape on label L and its components and subshapes and fills a map of shape - style correspondence The location <loc> is for internal use, it should be Null location for external call.

    ◆ GetViewNameMode()

    bool XCAFPrs::GetViewNameMode ( )
    static

    ◆ SetViewNameMode()

    void XCAFPrs::SetViewNameMode ( const bool viewNameMode)
    static

    Set ViewNameMode for indicate display names or not.


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