C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Tree node. More...
#include <model_tree.h>
Public Member Functions | |
virtual MbItemData & | GetData () |
Access to the node data. More... | |
virtual ClusterReference & | GetPosition () |
Access to the node read/write position. | |
virtual bool | PartialRead () const |
Check whether to read the node partially. | |
virtual void | SetPartialRead (bool partial) const |
Set indication of full or partial node reading. | |
virtual writer & | operator>> (writer &) |
Write the node. | |
virtual reader & | operator<< (reader &) |
Read the node. | |
void | GetAllDescendants (std::set< const IModelTreeNode * > &nodes) const |
Access to the all descendants of the node. | |
MbTreeNode * | CopyToTreeWithParents (c3d::IModelTree *tree, bool partial) const |
Create a node with data from the current node. Copy recursively all parents of the node to the tree preserving the hierarchy. | |
MbTreeNode * | CopyToTreeWithChildren (c3d::IModelTree *tree, bool partial) const |
Create a node with data from the current node. Copy recursively all children of the node to the tree preserving the hierarchy. | |
bool | IsOpen () const |
Access to the flag which indicates whether the node is entered during traversing into depth over the tree (false - means that the node and its children are already leaved or are not met yet). | |
Tree node.
Tree node (can have several children).
|
inlinevirtual |