Export to AOP format (American Academy of Orthotists & Prosthetists)
More...
#include <artec/sdk/base/io/AopIO.h>
|
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...
|
|
Export to AOP format (American Academy of Orthotists & Prosthetists)
Definition at line 48 of file AopIO.h.
Save range image to AOP format.
- Parameters
-
path | File path where to save mesh |
ri | Range 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
-
path | File path where to save mesh |
surface | Surface to save |
width,height | Dimensions of the range image texture (in pixels) |
interpolateHoles | If it is true, then holes will be interpolated linearly on cylinder |
cutEdges | Cut top and bottom of the cylinder if the percentage of populated cells in range image is less than the edgeQualityFactor |
edgeQualityFactor | The 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: