|
C3D Toolkit
Kernel - 118058, Vision - 2.15.0.1823
|
Geometric model. More...
Classes | |
| class | MbModel |
| Geometric model. More... | |
| class | MbModel::ItemIterator |
| Simple iterator on objects of model. More... | |
| class | MbModel::ItemConstIterator |
| Constant iterator on objects of the model. More... | |
Functions | |
| bool | ReadModelItems (reader &, MbModel &) |
| Read MbModel model from reader stream. More... | |
| void | ReadModelItemsFromTree (reader &in, const c3d::IModelTree *tree, std::vector< SPtr< MbItem > > &items) |
| Read items, defined in the given model tree, from a stream. More... | |
| void | ReadModelItemsFromTree (reader &in, const c3d::IModelTreeNode *node, MbModel &model, bool addAttr=false) |
| Read items, defined in a subtree with a root at the given node, from a stream. More... | |
| void | WriteModelItems (writer &, const MbModel &) |
| Write MbModel model to writer stream. More... | |
Geometric model.
| void ReadModelItemsFromTree | ( | reader & | in, |
| const c3d::IModelTree * | tree, | ||
| std::vector< SPtr< MbItem > > & | items | ||
| ) |
Read items, defined in the given model tree, from a stream.
Read items, defined in the given model tree including its root(s), from a stream.
| [in] | in | - Stream to read from. |
| [in] | tree | - Model tree. |
| [out] | items | - Read objects. |
| void ReadModelItemsFromTree | ( | reader & | in, |
| const c3d::IModelTreeNode * | node, | ||
| MbModel & | model, | ||
| bool | addAttr = false |
||
| ) |
Read items, defined in a subtree with a root at the given node, from a stream.
Read items, defined in a subtree with a root at the given node, from a stream, excluding the node itself. If defined by the flag (addAttr == true), attributes are read from an object defined by the given node and added to the model.
| [in] | in | - Stream to read from. |
| [in] | node | - Node of Model tree. |
| [out] | model | - Model where to add read objects. |
| [in] | addAttr | - Attributes read flag. |