Open CASCADE Technology 7.8.2.dev
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, XCAFPrs_IndexedDataMapOfShapeStyle &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 Standard_Boolean viewNameMode)
 Set ViewNameMode for indicate display names or not.
 
static Standard_Boolean GetViewNameMode ()
 

Detailed Description

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

Member Function Documentation

◆ CollectStyleSettings()

static void XCAFPrs::CollectStyleSettings ( const TDF_Label & L,
const TopLoc_Location & loc,
XCAFPrs_IndexedDataMapOfShapeStyle & 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()

static Standard_Boolean XCAFPrs::GetViewNameMode ( )
static

◆ SetViewNameMode()

static void XCAFPrs::SetViewNameMode ( const Standard_Boolean viewNameMode)
static

Set ViewNameMode for indicate display names or not.


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