artec::sdk::base::IModel Class Referenceabstract

This is a container of Scan(s) and a single CompositeContainer. More...

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

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

Public Member Functions

virtual IScangetElement (int index) const =0
 Element operations. More...
virtual ErrorCode setElement (int index, IScan *scan)=0
virtual ErrorCode add (const IScan *scan)=0
 Add/remove scan to/from container. More...
virtual ErrorCode remove (int index)=0
virtual ICompositeContainergetCompositeContainer () const =0
 Retrieve compositemesh container. More...
virtual void setCompositeContainer (const ICompositeContainer *meshes)=0
 Set compositemesh container. More...
virtual int getSize () const =0
 Number of elements in collection. More...
virtual void clear ()=0
 Clear collection. More...
- Public Member Functions inherited from artec::sdk::base::IRef
virtual int addRef () const =0
virtual int release () const =0

Detailed Description

This is a container of Scan(s) and a single CompositeContainer.

A newly created Model is empty and contains neither Scans nor CompositeContainer.

Definition at line 60 of file IModel.h.

Member Function Documentation

virtual ErrorCode artec::sdk::base::IModel::add ( const IScan scan)
pure virtual

Add/remove scan to/from container.

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

Clear collection.

virtual ICompositeContainer* artec::sdk::base::IModel::getCompositeContainer ( ) const
pure virtual

Retrieve compositemesh container.

virtual IScan* artec::sdk::base::IModel::getElement ( int  index) const
pure virtual

Element operations.

Element access. Index must be in range [0...getSize())

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

Number of elements in collection.

virtual ErrorCode artec::sdk::base::IModel::remove ( int  index)
pure virtual
virtual void artec::sdk::base::IModel::setCompositeContainer ( const ICompositeContainer meshes)
pure virtual

Set compositemesh container.

virtual ErrorCode artec::sdk::base::IModel::setElement ( int  index,
IScan scan 
pure virtual

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