Geom Software - C++ Programming and Geometry Libraries
WOF Documentation pages v1.04
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 
50 CLASS_DECLSPEC
51 std::shared_ptr<WofMesh> melt( std::vector<Point3>& vInputCorners,
52  double avgLength,
53  double featureThresh=15.0
54  );
55 
70 CLASS_DECLSPEC
71 std::shared_ptr<WofMesh> reconstruct_auto(std::vector<Point3>& vPoints,bool bAllowSmoothing,double sfactor=2.0);
72 
88 CLASS_DECLSPEC
89 std::shared_ptr<WofMesh> reconstruct_abs(std::vector<Point3>& vPoints,bool bAllowSmoothing,double spacingAbs);
90 
91 
103 CLASS_DECLSPEC
104 void toCloud( std::vector<Point3>& vCornersIn,
105  double length,
106  double featureThresh,
107  std::vector<Point3>& vCloudOut
108  );
109 
114 } // NAMESPACE
115 
116 
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.