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 *surface, int width, int height, bool interpolateHoles, bool cutEdges=false, int edgeQualityFactor=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
pathFile path to save mesh to
riRange 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 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 to save mesh to
surfaceSurface to be saved
width,heightDimensions of range image texture in pixels
interpolateHolesIf true then holes will be linearly interpolated on cylinder
cutEdgesCut top and bottom of cylinder if percent of populated cells in range image there lesser than edgeQualityFactor
edgeQualityFactorNecessary 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: