|
static void | CollectStyleSettings (const TDF_Label &L, const TopLoc_Location &loc, XCAFPrs_DataMapOfShapeStyle &settings) |
| 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. More...
|
|
static Standard_Boolean | DispatchStyles (const TopoDS_Shape &shape, const XCAFPrs_DataMapOfShapeStyle &settings, XCAFPrs_DataMapOfStyleShape &items, const XCAFPrs_Style &DefStyle, const Standard_Boolean force=Standard_True, const TopAbs_ShapeEnum context=TopAbs_SHAPE) |
| Iterates on shape (recursively) and splits it on parts each of which has its own style (basing on settings collected by CollectStyleSettings()) The DefStyle is default style applied to a shape if no specific style assignment is applied to it If force is True, the <shape> is added to a map even if no styles are redefined for it or its subshapes The context is for internal use, it indicates the type of the shape to which <shape> belongs. More...
|
|
static void | SetViewNameMode (const Standard_Boolean viewNameMode) |
| Set ViewNameMode for indicate display names or not. More...
|
|
static Standard_Boolean | GetViewNameMode () |
|
Presentation (visualiation, selection etc.) tools for DECAF documents.