IScan.h
Go to the documentation of this file.
37 ErrorCode ABASESDK_LINK_SPEC createScan(IScan** pContainer, ScannerType scannerType = ScannerType_Unknown,
44 ErrorCode ABASESDK_LINK_SPEC mergeToFrameMesh(IFrameMesh *mesh, const IScan *scanContainer, bool skipTextureData = true);
72 * @details Scan is a collection (container) of reconstructed frames with its own transformation and
74 * Each reconstructed frame consists of frame mesh, transformation matrix and frame-mesh attributes.
92 virtual ErrorCode add(IFrameMesh* frame, const Matrix4x4D& matrix, IBlob* frameAttributes = NULL) = 0;
97 /// @details Index must be in range [0, getSize()-1]. Replacing transformation matrix at index position
ErrorCode ABASESDK_LINK_SPEC cloneScan(IScan *out, const IScan *in)
Definition: AlgorithmWorkset.h:17
virtual IBlob * getScanAttributes() const =0
Access scan attributes.
Definition: Matrix.h:21
virtual IFrameMesh * getElement(int index) const =0
Access container element (frame mesh) by index.
ErrorCode ABASESDK_LINK_SPEC createScan(IScan **pContainer, ScannerType scannerType=ScannerType_Unknown, const Matrix3x4D *textureMappingMatrix=NULL)
ErrorCode ABASESDK_LINK_SPEC createSimilarScan(IScan **out, const IScan *attributesPattern)
virtual ScannerType getScannerType() const =0
Get the device type the frames come from.
virtual ErrorCode add(IFrameMesh *frame)=0
Add/remove reconstructed frame to scan.
virtual IBlob * getAttributes(int index) const =0
Access frame attributes. Index must be in range [0, getSize()-1].
Definition: IFrameMesh.h:30
virtual void setScanTransformation(const Matrix4x4D &m)=0
Access scan transformation.
virtual const Matrix4x4D & getTransformation(int index) const =0
Access frame-mesh orientation by index.
Definition: IBlob.h:31
virtual const Matrix3x4D & getTextureMappingMatrix() const =0
Access matrix for texture mapping.
virtual ErrorCode setElement(int index, IFrameMesh *mesh)=0
Access container element (frame mesh) by index.
virtual const Matrix4x4D & getScanTransformation() const =0
Access scan transformation.
Collection of reconstructed frame meshes with attributes.
Definition: IScan.h:77
virtual ErrorCode setTransformation(int index, const Matrix4x4D &m)=0
Access frame-mesh orientation by index.
ErrorCode ABASESDK_LINK_SPEC mergeToFrameMesh(IFrameMesh *mesh, const IScan *scanContainer, bool skipTextureData=true)
Definition: IRef.h:17
virtual ErrorCode setAttributes(int index, IBlob *attributes)=0
Access frame attributes. Index must be in range [0, getSize()-1].
virtual void setTextureMappingMatrix(const Matrix3x4D &m)=0
Access matrix for texture mapping.
virtual void setScanAttributes(IBlob *attributes)=0
Access scan attributes.