|
Handle< XCAFDoc_ColorTool > | myColorTool |
| color tool
|
|
Handle< XCAFDoc_VisMaterialTool > | myVisMatTool |
| visual material tool
|
|
TDF_LabelSequence | myRoots |
| sequence of root labels
|
|
TDF_LabelSequence::Iterator | myRootIter |
| current root label
|
|
NCollection_Vector< XCAFPrs_DocumentNode > | myNodeStack |
| node stack
|
|
Standard_Integer | myTop |
| top position in the node stack
|
|
Standard_Boolean | myHasMore |
| global flag indicating that iterator points to the label
|
|
XCAFPrs_Style | myDefStyle |
| default style
|
|
XCAFPrs_DocumentNode | myCurrent |
| current label info
|
|
XCAFPrs_DocumentExplorerFlags | myFlags |
| iteration flags
|
|
static TCollection_AsciiString | DefineChildId (const TDF_Label &theLabel, const TCollection_AsciiString &theParentId) |
| Construct a unique string identifier for the given label. The identifier is a concatenation of label entries (TDF_Tool::Entry() with tailing '.') of hierarchy from parent to child joined via '/' and looking like this:
|
|
static TDF_Label | FindLabelFromPathId (const Handle< TDocStd_Document > &theDocument, const TCollection_AsciiString &theId, TopLoc_Location &theParentLocation, TopLoc_Location &theLocation) |
| Find a shape entity based on a text identifier constructed from OCAF labels defining full path.
|
|
static TDF_Label | FindLabelFromPathId (const Handle< TDocStd_Document > &theDocument, const TCollection_AsciiString &theId, TopLoc_Location &theLocation) |
| Find a shape entity based on a text identifier constructed from OCAF labels defining full path.
|
|
static TopoDS_Shape | FindShapeFromPathId (const Handle< TDocStd_Document > &theDocument, const TCollection_AsciiString &theId) |
| Find a shape entity based on a text identifier constructed from OCAF labels defining full path.
|
|
| XCAFPrs_DocumentExplorer () |
| Empty constructor.
|
|
| XCAFPrs_DocumentExplorer (const Handle< TDocStd_Document > &theDocument, const XCAFPrs_DocumentExplorerFlags theFlags, const XCAFPrs_Style &theDefStyle=XCAFPrs_Style()) |
| Constructor for exploring the whole document.
|
|
| XCAFPrs_DocumentExplorer (const Handle< TDocStd_Document > &theDocument, const TDF_LabelSequence &theRoots, const XCAFPrs_DocumentExplorerFlags theFlags, const XCAFPrs_Style &theDefStyle=XCAFPrs_Style()) |
| Constructor for exploring specified list of root shapes in the document.
|
|
void | Init (const Handle< TDocStd_Document > &theDocument, const TDF_Label &theRoot, const XCAFPrs_DocumentExplorerFlags theFlags, const XCAFPrs_Style &theDefStyle=XCAFPrs_Style()) |
| Initialize the iterator from a single root shape in the document.
|
|
void | Init (const Handle< TDocStd_Document > &theDocument, const TDF_LabelSequence &theRoots, const XCAFPrs_DocumentExplorerFlags theFlags, const XCAFPrs_Style &theDefStyle=XCAFPrs_Style()) |
| Initialize the iterator from the list of root shapes in the document.
|
|
Standard_Boolean | More () const |
| Return TRUE if iterator points to the valid node.
|
|
const XCAFPrs_DocumentNode & | Current () const |
| Return current position.
|
|
XCAFPrs_DocumentNode & | ChangeCurrent () |
| Return current position.
|
|
const XCAFPrs_DocumentNode & | Current (Standard_Integer theDepth) const |
| Return current position within specified assembly depth.
|
|
Standard_Integer | CurrentDepth () const |
| Return depth of the current node in hierarchy, starting from 0. Zero means Root label.
|
|
void | Next () |
| Go to the next node.
|
|
const Handle< XCAFDoc_ColorTool > & | ColorTool () const |
| Return color tool.
|
|
const Handle< XCAFDoc_VisMaterialTool > & | VisMaterialTool () const |
| Return material tool.
|
|
void | initRoot () |
| Initialize root label.
|
|
void | initCurrent (Standard_Boolean theIsAssembly) |
| Initialize properties for a current label.
|
|
Document iterator through shape nodes.