integrator.h
00001 /*
00002  * 3D Shape Analysis Library.
00003  * Copyright (C) 2010 AQSENSE, S.L.
00004  */
00005 
00006 #ifndef AQSENSE_SAL3D_INTEGRATOR_H
00007 #define AQSENSE_SAL3D_INTEGRATOR_H
00008 
00009 #if defined (_MSC_VER) && (_MSC_VER >= 1020)
00010 #pragma once
00011 #endif
00012 
00013 #include "sal3d_def.h"
00014 #include <sal3d/cop.h>
00015 #include <sal3d/mesh.h>
00016 
00018 typedef struct sal3d_integrator
00019 {
00020     void *p;
00021 } sal3d_integrator;
00022 
00023 typedef struct sal3d_integrator_params
00024 {
00025     unsigned int    iDepth;
00026     unsigned int    iSolverDivide;
00027     unsigned int    iIsoDivide;
00028     double          iSamplesPerNode;
00029     float           iScale;
00030     float           iScaleFactor;
00031     bool            iConfidence;
00032     unsigned int    iKernelDepth;
00033     int             iResetSamples;
00034     int             iClipTree;
00035     int             iRefine;
00036     int             iVerbose;
00037 } sal3d_integrator_params;
00038 
00039 //suggested default values to use
00040 const sal3d_integrator_params sal3d_integrator_params_default =
00041                 {8,8,8,1.0f,1,1.25f,0,6,1,1,3,0};
00042 
00043 #include "integrator_fun.h"
00044 
00045 #endif //AQSENSE_SAL3D_INTEGRATOR_H