Container of Scan(s) and a single CompositeContainer.
More...
#include <artec/sdk/base/IModel.h>
Container of Scan(s) and a single CompositeContainer.
A newly created Model is empty and contains neither Scans, nor CompositeContainer.
- Examples:
- project-sample.cpp.
Definition at line 60 of file IModel.h.
Add a new scan to the model.
- Parameters
-
scan | Pointer to the IScan instance to add. |
- Returns
- ErrorCode reporting about success or error
virtual void artec::sdk::base::IModel::clear |
( |
| ) |
|
|
pure virtual |
virtual IScan* artec::sdk::base::IModel::getElement |
( |
int |
index | ) |
const |
|
pure virtual |
Element access.
- Parameters
-
index | Defines index of the existing element. It must be in the range of [0...getSize()]. |
- Returns
- Pointer to the IScan instance at the index
- Examples:
- project-sample.cpp.
virtual int artec::sdk::base::IModel::getSize |
( |
| ) |
const |
|
pure virtual |
virtual ErrorCode artec::sdk::base::IModel::remove |
( |
int |
index | ) |
|
|
pure virtual |
Remove scan at the defined index.
- Parameters
-
index | Specifies the index of an existing element. It must be in the range of [0...getSize()]. |
- Returns
- ErrorCode reporting about success or error
virtual void artec::sdk::base::IModel::setCompositeContainer |
( |
const ICompositeContainer * |
meshes | ) |
|
|
pure virtual |
Set CompositeMesh container.
- Parameters
-
virtual ErrorCode artec::sdk::base::IModel::setElement |
( |
int |
index, |
|
|
IScan * |
scan |
|
) |
| |
|
pure virtual |
Sets an element at the specified index.
- Parameters
-
index | Specifies the index of an existing element. It must be in the range of [0...getSize()]. |
scan | Pointer to the IScan instance to replace value at the index. |
- Returns
- ErrorCode reporting success or error
The documentation for this class was generated from the following file: