#include <XCAFPrs.hxx>
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Static Public Member Functions | |
static Standard_EXPORT 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 . | |
static Standard_EXPORT 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 . | |
static Standard_EXPORT void | SetViewNameMode (const Standard_Boolean viewNameMode) |
Set ViewNameMode for indicate display names or not. . | |
static Standard_EXPORT Standard_Boolean | GetViewNameMode () |
|
|
|
|
|
|
|
|
|
|
|
|
|
|