Artec 3D Scanning SDK  2.0
Static Public Member Functions | List of all members
artec::sdk::base::io::Aop Class Reference

Export to AOP format (American Academy of Orthotists & Prosthetists) More...

#include <artec/sdk/base/io/AopIO.h>

Static Public Member Functions

static ErrorCode save (const wchar_t *path, const IRangeImageCylindric *ri)
 Save range image to AOP format. More...
 
static ErrorCode save (const wchar_t *path, const IMesh *surface, int width, int height, bool interpolateHoles, bool cutEdges=false, int edgeQualityFactor=80)
 Save surface in AOP format converting it to image. More...
 

Detailed Description

Export to AOP format (American Academy of Orthotists & Prosthetists)

Definition at line 48 of file AopIO.h.

Member Function Documentation

static ErrorCode artec::sdk::base::io::Aop::save ( const wchar_t *  path,
const IRangeImageCylindric ri 
)
inlinestatic

Save range image to AOP format.

Parameters
pathFile path where to save mesh
riRange image to save

Definition at line 55 of file AopIO.h.

static ErrorCode artec::sdk::base::io::Aop::save ( const wchar_t *  path,
const IMesh surface,
int  width,
int  height,
bool  interpolateHoles,
bool  cutEdges = false,
int  edgeQualityFactor = 80 
)
inlinestatic

Save surface in AOP format converting it to image.

Parameters
pathFile path where to save mesh
surfaceSurface to save
width,heightDimensions of the range image texture (in pixels)
interpolateHolesIf it is true, then holes will be interpolated linearly on cylinder
cutEdgesCut top and bottom of the cylinder if the percentage of populated cells in range image is less than the edgeQualityFactor
edgeQualityFactorThe required percentage of populated cells on edges (in [0..100]).
Note
Surface must be in the origin and aligned along the OY axis, so that OY is inside the surface

Definition at line 70 of file AopIO.h.


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