Geom Software - C++ Programming and Geometry Libraries
FADEPLACEHOLDER Documentation pages v1.03
wof_api_functions.h
1 // Copyright (C) Geom Software e.U, Bernhard Kornberger, Graz/Austria
2 //
3 // This file is part of the WOF software. WOF is commercial software.
4 // Users holding a license may use this file in accordance with the
5 // License Agreement.
6 //
7 // This software is provided AS IS with NO WARRANTY OF ANY KIND,
8 // INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS
9 // FOR A PARTICULAR PURPOSE.
10 //
11 // Please contact the author if any conditions of this licensing are
12 // not clear to you.
13 //
14 // Author: Bernhard Kornberger, bkorn (at) geom.at
15 // http://www.geom.at
16 
17 #pragma once
18 
19 #include <vector>
20 #include "Point3.h"
21 #include "WofMesh.h"
22 
23 namespace GEOM_WOF {
24 
25 struct Dat; // FWD
26 
27 
28 
46 CLASS_DECLSPEC
47 std::shared_ptr<WofMesh> melt( std::vector<Point3>& vInputCorners,
48  double avgLength,
49  double featureThresh=15.0
50  );
51 
66 CLASS_DECLSPEC
67 std::shared_ptr<WofMesh> reconstruct_auto(std::vector<Point3>& vPoints,bool bAllowSmoothing,double sfactor=2.0);
68 
84 CLASS_DECLSPEC
85 std::shared_ptr<WofMesh> reconstruct_abs(std::vector<Point3>& vPoints,bool bAllowSmoothing,double spacingAbs);
86 
87 
99 CLASS_DECLSPEC
100 void toCloud( std::vector<Point3>& vCornersIn,
101  double length,
102  double featureThresh,
103  std::vector<Point3>& vCloudOut
104  );
105 
110 } // NAMESPACE
111 
112 
std::shared_ptr< WofMesh > reconstruct_auto(std::vector< Point3 > &vPoints, bool bAllowSmoothing, double sfactor=2.0)
Reconstruct with an automatic spacing value.
void toCloud(std::vector< Point3 > &vCornersIn, double length, double featureThresh, std::vector< Point3 > &vCloudOut)
Mesh-to-Cloud.
Definition: Point3.h:23
std::shared_ptr< WofMesh > melt(std::vector< Point3 > &vInputCorners, double avgLength, double featureThresh=15.0)
Retriangulate a triangle mesh.
std::shared_ptr< WofMesh > reconstruct_abs(std::vector< Point3 > &vPoints, bool bAllowSmoothing, double spacingAbs)
Reconstruct with an absolute spacing value.