Artec 3D Scanning SDK  2.0
List of all members
artec::sdk::base::ICompositeContainer Class Referenceabstract

Collection of composite meshes with attributes. More...

#include <artec/sdk/base/ICompositeContainer.h>

+ Inheritance diagram for artec::sdk::base::ICompositeContainer:

Scan-element operations

virtual ICompositeMeshgetElement (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 Matrix4x4DgetTransformation (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 IBlobgetAttributes (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 Matrix4x4DgetContainerTransformation () const =0
 Access container transformation. More...
 
virtual void setContainerTransformation (const Matrix4x4D &transformMatrix)=0
 Access container transformation. More...
 
virtual IBlobgetContainerAttributes () 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...
 

Detailed Description

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.

Examples:
project-sample.cpp.

Definition at line 55 of file ICompositeContainer.h.

Member Function Documentation

virtual ErrorCode artec::sdk::base::ICompositeContainer::add ( ICompositeMesh mesh)
pure virtual

Add/remove composite to container.

Transformation matrix is identity by default.

virtual ErrorCode artec::sdk::base::ICompositeContainer::add ( ICompositeMesh mesh,
const Matrix4x4D transformMatrix,
IBlob meshAttributes = NULL 
)
pure virtual

Add/remove composite to container.

Transformation matrix is identity by default.

virtual void artec::sdk::base::ICompositeContainer::clear ( )
pure virtual

Delete all container elements.

virtual IBlob* artec::sdk::base::ICompositeContainer::getAttributes ( int  index) const
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

virtual IBlob* artec::sdk::base::ICompositeContainer::getContainerAttributes ( ) const
pure virtual

Access container attributes.

virtual const Matrix4x4D& artec::sdk::base::ICompositeContainer::getContainerTransformation ( ) const
pure virtual

Access container transformation.

virtual ICompositeMesh* artec::sdk::base::ICompositeContainer::getElement ( int  index) const
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

virtual int artec::sdk::base::ICompositeContainer::getSize ( ) const
pure virtual

Get element number in container.

Examples:
project-sample.cpp.
virtual const Matrix4x4D& artec::sdk::base::ICompositeContainer::getTransformation ( int  index) const
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.

virtual ErrorCode artec::sdk::base::ICompositeContainer::remove ( int  index)
pure virtual

Add/remove composite to container.

Transformation matrix is identity by default.

virtual ErrorCode artec::sdk::base::ICompositeContainer::setAttributes ( int  index,
IBlob attributes 
)
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

virtual void artec::sdk::base::ICompositeContainer::setContainerAttributes ( IBlob attributes)
pure virtual

Access container attributes.

virtual void artec::sdk::base::ICompositeContainer::setContainerTransformation ( const Matrix4x4D transformMatrix)
pure virtual

Access container transformation.

virtual ErrorCode artec::sdk::base::ICompositeContainer::setElement ( int  index,
ICompositeMesh mesh 
)
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

virtual ErrorCode artec::sdk::base::ICompositeContainer::setTransformation ( int  index,
const Matrix4x4D transformMatrix 
)
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.


The documentation for this class was generated from the following file: