18 #ifndef CC_POISSON_RECON_LIB_WRAPPER
19 #define CC_POISSON_RECON_LIB_WRAPPER
137 template <
typename Real>
140 virtual size_t size()
const = 0;
143 virtual void getPoint(
size_t index, Real* coords)
const = 0;
144 virtual void getNormal(
size_t index, Real* coords)
const = 0;
145 virtual void getColor(
size_t index, Real* rgb)
const = 0;
149 template <
typename Real>
cmdLineReadable * params[]
virtual void getNormal(size_t index, Real *coords) const =0
virtual bool hasNormals() const =0
virtual size_t size() const =0
virtual void getColor(size_t index, Real *rgb) const =0
virtual bool hasColors() const =0
virtual void getPoint(size_t index, Real *coords) const =0
virtual void addNormal(const Real *coords)=0
virtual void addDensity(double d)=0
virtual void addColor(const Real *rgb)=0
virtual void addVertex(const Real *coords)=0
virtual void addTriangle(size_t i1, size_t i2, size_t i3)=0
Wrapper to use PoissonRecon (Kazhdan et. al) as a library.
static bool Reconstruct(const Parameters ¶ms, const PoissonReconLib::ICloud< float > &inCloud, PoissonReconLib::IMesh< float > &ouMesh)
Reconstruct a mesh from a point cloud (float version)
int baseVCycles
Coarse MG solver v-cycles.
BoundaryType
Boundary types.
float cgAccuracy
This flag specifies the accuracy cut-off to be used for CG.
float normalConfidence
Normal confidence exponent.
Parameters()
Default initializer.
float colorPullFactor
Data pull factor.
int baseDepth
Coarse MG solver depth.
int fullDepth
The depth beyond which the octree will be adapted.
BoundaryType boundary
Boundary type for the finite elements.
float normalConfidenceBias
Normal confidence bias exponent.
int iters
The number of solver iterations.