Artec 3D Scanning SDK
2.0
|
Collection of reconstructed frame meshes with attributes. More...
#include <artec/sdk/base/IScan.h>
Scan-element operations | |
virtual IFrameMesh * | getElement (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 Matrix4x4D & | getTransformation (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 IBlob * | getAttributes (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 that produces the frames. More... | |
virtual const Matrix4x4D & | getScanTransformation () const =0 |
Access scan transformation. More... | |
virtual void | setScanTransformation (const Matrix4x4D &m)=0 |
Access scan transformation. More... | |
virtual IBlob * | getScanAttributes () const =0 |
Access scan attributes. More... | |
virtual void | setScanAttributes (IBlob *attributes)=0 |
Access scan attributes. More... | |
virtual const Matrix3x4D & | getTextureMappingMatrix () 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... | |
virtual const Uuid & | getUuid () const =0 |
Access scan uuid. More... | |
virtual void | setUuid (const Uuid &uuid)=0 |
Get elements number in scan. More... | |
virtual const wchar_t * | getName () const =0 |
Access scan name. More... | |
virtual void | setName (const wchar_t *name)=0 |
Access scan name. 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 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.
|
pure virtual |
Add/remove reconstructed frame to scan.
Transformation matrix is identity by default.
|
pure virtual |
Add/remove reconstructed frame to scan.
Transformation matrix is identity by default.
|
pure virtual |
Delete all scan elements.
|
pure virtual |
Access frame attributes. Index must be in range [0, getSize()-1].
|
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.
|
pure virtual |
Access scan name.
|
pure virtual |
Access scan attributes.
|
pure virtual |
Get the device type that produces the frames.
|
pure virtual |
Access scan transformation.
|
pure virtual |
Get elements number in scan.
|
pure virtual |
Access matrix for texture mapping.
|
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 an element index is out of range.
|
pure virtual |
Access scan uuid.
|
pure virtual |
Add/remove reconstructed frame to scan.
Transformation matrix is identity by default.
|
pure virtual |
Access frame attributes. Index must be in range [0, getSize()-1].
|
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.
|
pure virtual |
Access scan name.
|
pure virtual |
Access scan attributes.
|
pure virtual |
Access scan transformation.
|
pure virtual |
Access matrix for texture mapping.
|
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 an element index is out of range.
|
pure virtual |
Get elements number in scan.