Artec 3D Scanning SDK
2.0
|
Collection of composite meshes with attributes. More...
#include <artec/sdk/base/ICompositeContainer.h>
Scan-element operations | |
virtual ICompositeMesh * | getElement (int index) const =0 |
Access container element (composite mesh) by index. More... | |
virtual ErrorCode | setElement (int index, ICompositeMesh *mesh)=0 |
Access container element (composite mesh) by index. More... | |
virtual ErrorCode | add (ICompositeMesh *mesh)=0 |
Add/remove composite to container. More... | |
virtual ErrorCode | add (ICompositeMesh *mesh, const Matrix4x4D &transformMatrix, IBlob *meshAttributes=NULL)=0 |
Add/remove composite to container. More... | |
virtual ErrorCode | remove (int index)=0 |
Add/remove composite to container. More... | |
virtual const Matrix4x4D & | getTransformation (int index) const =0 |
Access composite mesh orientation by index. More... | |
virtual ErrorCode | setTransformation (int index, const Matrix4x4D &transformMatrix)=0 |
Access composite mesh orientation by index. More... | |
virtual IBlob * | getAttributes (int index) const =0 |
Access composite mesh attributes by index. More... | |
virtual ErrorCode | setAttributes (int index, IBlob *attributes)=0 |
Access composite mesh attributes by index. More... | |
Container-attribute operations | |
virtual const Matrix4x4D & | getContainerTransformation () const =0 |
Access container transformation. More... | |
virtual void | setContainerTransformation (const Matrix4x4D &transformMatrix)=0 |
Access container transformation. More... | |
virtual IBlob * | getContainerAttributes () const =0 |
Access container attributes. More... | |
virtual void | setContainerAttributes (IBlob *attributes)=0 |
Access container attributes. More... | |
General container operations | |
virtual int | getSize () const =0 |
Get element number in container. More... | |
virtual void | clear ()=0 |
Delete all container elements. More... | |
Additional Inherited Members | |
Public Member Functions inherited from artec::sdk::base::IRef | |
virtual int | addRef () const =0 |
Increase object reference counter. More... | |
virtual int | release () const =0 |
Decrease object reference counter. More... | |
Collection of composite meshes with attributes.
CompositeContainer is a collection (container) of composites with its own transformation and additional information (container attributes). Each composite consists of composite mesh, transformation matrix and composite-mesh attributes.
Definition at line 55 of file ICompositeContainer.h.
|
pure virtual |
Add/remove composite to container.
Transformation matrix is identity by default.
|
pure virtual |
Add/remove composite to container.
Transformation matrix is identity by default.
|
pure virtual |
Delete all container elements.
|
pure virtual |
Access composite mesh attributes by index.
Index must be in range [0, getSize()-1]. Replacing the attributes at index position using setAttributes() will not affect composite mesh and transformation matrix
|
pure virtual |
Access container attributes.
|
pure virtual |
Access container transformation.
|
pure virtual |
Access container element (composite mesh) by index.
Index must be in range [0, getSize()-1]. Replacing frame mesh at index position using setElement() will not affect transformation matrix and attributes
|
pure virtual |
Get element number in container.
|
pure virtual |
Access composite mesh orientation by index.
Index must be in range [0, getSize()-1]. Replacing transformation matrix at index position using setTransformation() will not affect composite mesh and attributes. Matrix with zero elements will be returned if element index is out of range.
|
pure virtual |
Add/remove composite to container.
Transformation matrix is identity by default.
|
pure virtual |
Access composite mesh attributes by index.
Index must be in range [0, getSize()-1]. Replacing the attributes at index position using setAttributes() will not affect composite mesh and transformation matrix
|
pure virtual |
Access container attributes.
|
pure virtual |
Access container transformation.
|
pure virtual |
Access container element (composite mesh) by index.
Index must be in range [0, getSize()-1]. Replacing frame mesh at index position using setElement() will not affect transformation matrix and attributes
|
pure virtual |
Access composite mesh orientation by index.
Index must be in range [0, getSize()-1]. Replacing transformation matrix at index position using setTransformation() will not affect composite mesh and attributes. Matrix with zero elements will be returned if element index is out of range.