OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

DataExchange
TKXCAF
XCAFPrs


XCAFPrs Class Reference

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

#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 ()


Member Function Documentation

static Standard_EXPORT void XCAFPrs::CollectStyleSettings const TDF_Label &  L,
const TopLoc_Location &  loc,
XCAFPrs_DataMapOfShapeStyle settings
[static]
 

static Standard_EXPORT Standard_Boolean XCAFPrs::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
[static]
 

static Standard_EXPORT Standard_Boolean XCAFPrs::GetViewNameMode  )  [static]
 

void XCAFPrs::operator delete void *  anAddress  )  [inline]
 

void* XCAFPrs::operator new size_t  size  )  [inline]
 

void* XCAFPrs::operator new size_t  ,
void *  anAddress
[inline]
 

static Standard_EXPORT void XCAFPrs::SetViewNameMode const Standard_Boolean  viewNameMode  )  [static]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:46:16 2008 for OpenCASCADE by  doxygen 1.4.1