artec::sdk::base::io::Aop Class Reference

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

Static Public Member Functions

static ErrorCode save (const wchar_t *path, const IRangeImageCylindric *ri)
 
static ErrorCode save (const wchar_t *path, const IMesh *surf, int width, int height, bool interpolate_holes, bool cut_edges=false, int edge_quality_factor=80)
 

Detailed Description

Definition at line 47 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 in AOP format

Parameters
path- file path to save mesh to
ri- range image to be saved

Definition at line 54 of file AopIO.h.

static ErrorCode artec::sdk::base::io::Aop::save ( const wchar_t *  path,
const IMesh surf,
int  width,
int  height,
bool  interpolate_holes,
bool  cut_edges = false,
int  edge_quality_factor = 80 
)
inlinestatic

Save surface in AOP format, converting it to image

Parameters
path- file path to save mesh to
surf- surface to be saved
width,height- dimensions of range image
interpolate_holes- if true then holes will be linearly interpolated on cylinder
cut_edge- cut top and bottom of cylinder if percent of populated cells in range image there lesser than edge_quality_factor
edge_quality_factor- necessary percent in [0..100] of populated cells on edges.
Note
Surface should be in origin, aligned along OY axis, so that OY is inside surface

Definition at line 69 of file AopIO.h.


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