artec::sdk::base::IScan Class Referenceabstract

Collection of reconstructed frame meshes with attributes. More...

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

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

Scan-element operations

virtual IFrameMeshgetElement (int index) const =0
 Access container element (frame mesh) by index. More...
 
virtual ErrorCode setElement (int index, IFrameMesh *mesh)=0
 Access container element (frame mesh) by index. More...
 
virtual ErrorCode add (IFrameMesh *frame)=0
 Add/remove reconstructed frame to scan. More...
 
virtual ErrorCode add (IFrameMesh *frame, const Matrix4x4D &matrix, IBlob *frameAttributes=NULL)=0
 Add/remove reconstructed frame to scan. More...
 
virtual ErrorCode remove (int index)=0
 Add/remove reconstructed frame to scan. More...
 
virtual const Matrix4x4DgetTransformation (int index) const =0
 Access frame-mesh orientation by index. More...
 
virtual ErrorCode setTransformation (int index, const Matrix4x4D &m)=0
 Access frame-mesh orientation by index. More...
 
virtual IBlobgetAttributes (int index) const =0
 Access frame attributes. Index must be in range [0, getSize()-1]. More...
 
virtual ErrorCode setAttributes (int index, IBlob *attributes)=0
 Access frame attributes. Index must be in range [0, getSize()-1]. More...
 

Scan-attribute operations

virtual ScannerType getScannerType () const =0
 Get the device type the frames come from. More...
 
virtual const Matrix4x4DgetScanTransformation () const =0
 Access scan transformation. More...
 
virtual void setScanTransformation (const Matrix4x4D &m)=0
 Access scan transformation. More...
 
virtual IBlobgetScanAttributes () const =0
 Access scan attributes. More...
 
virtual void setScanAttributes (IBlob *attributes)=0
 Access scan attributes. More...
 
virtual const Matrix3x4DgetTextureMappingMatrix () const =0
 Access matrix for texture mapping. More...
 
virtual void setTextureMappingMatrix (const Matrix3x4D &m)=0
 Access matrix for texture mapping. More...
 

General container operations

virtual int getSize () const =0
 Get elements number in scan. More...
 
virtual void clear ()=0
 Delete all scan elements. More...
 

Additional Inherited Members

- Public Member Functions inherited from artec::sdk::base::IRef
virtual int addRef () const =0
 
virtual int release () const =0
 

Detailed Description

Collection of reconstructed frame meshes with attributes.

Scan is a collection (container) of reconstructed frames with its own transformation and additional information (scan attributes). Each reconstructed frame consists of frame mesh, transformation matrix and frame-mesh attributes.

Definition at line 77 of file IScan.h.

Member Function Documentation

virtual ErrorCode artec::sdk::base::IScan::add ( IFrameMesh frame)
pure virtual

Add/remove reconstructed frame to scan.

Transformation matrix is identity by default.

virtual ErrorCode artec::sdk::base::IScan::add ( IFrameMesh frame,
const Matrix4x4D matrix,
IBlob frameAttributes = NULL 
)
pure virtual

Add/remove reconstructed frame to scan.

Transformation matrix is identity by default.

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

Delete all scan elements.

virtual IBlob* artec::sdk::base::IScan::getAttributes ( int  index) const
pure virtual

Access frame attributes. Index must be in range [0, getSize()-1].

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

Access container element (frame 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 IBlob* artec::sdk::base::IScan::getScanAttributes ( ) const
pure virtual

Access scan attributes.

virtual ScannerType artec::sdk::base::IScan::getScannerType ( ) const
pure virtual

Get the device type the frames come from.

virtual const Matrix4x4D& artec::sdk::base::IScan::getScanTransformation ( ) const
pure virtual

Access scan transformation.

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

Get elements number in scan.

virtual const Matrix3x4D& artec::sdk::base::IScan::getTextureMappingMatrix ( ) const
pure virtual

Access matrix for texture mapping.

virtual const Matrix4x4D& artec::sdk::base::IScan::getTransformation ( int  index) const
pure virtual

Access frame-mesh orientation by index.

Index must be in range [0, getSize()-1]. Replacing transformation matrix at index position using setTransformation() will not affect frame mesh and attributes. Matrix with zero elements will be returned if element index is out of range.

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

Add/remove reconstructed frame to scan.

Transformation matrix is identity by default.

virtual ErrorCode artec::sdk::base::IScan::setAttributes ( int  index,
IBlob attributes 
)
pure virtual

Access frame attributes. Index must be in range [0, getSize()-1].

virtual ErrorCode artec::sdk::base::IScan::setElement ( int  index,
IFrameMesh mesh 
)
pure virtual

Access container element (frame 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 void artec::sdk::base::IScan::setScanAttributes ( IBlob attributes)
pure virtual

Access scan attributes.

virtual void artec::sdk::base::IScan::setScanTransformation ( const Matrix4x4D m)
pure virtual

Access scan transformation.

virtual void artec::sdk::base::IScan::setTextureMappingMatrix ( const Matrix3x4D m)
pure virtual

Access matrix for texture mapping.

virtual ErrorCode artec::sdk::base::IScan::setTransformation ( int  index,
const Matrix4x4D m 
)
pure virtual

Access frame-mesh orientation by index.

Index must be in range [0, getSize()-1]. Replacing transformation matrix at index position using setTransformation() will not affect frame 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: