Geom Software - C++ Programming and Geometry Libraries
FADEPLACEHOLDER Documentation pages v1.03
WofMesh.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 <memory>
21 #include "Point3.h"
22 
23 namespace GEOM_WOF {
24 
25 struct Dat; // FWD
26 class WofMesh; // FWD
27 typedef std::shared_ptr<WofMesh> WMeshPtr;
28 
31 class CLASS_DECLSPEC WofMesh
32 {
33 public:
36  explicit WofMesh(Dat* pDat_);
39  ~WofMesh();
45  void getTriangles(std::vector<Point3*>& vTriangleCorners) const;
50  void getPoints(std::vector<Point3*>& vPoints) const;
55  void writePly_BIN(const std::string& name) const;
60  void writePly_ASCII(const std::string& name) const;
65  void writeGeomview_ASCII(const std::string& name) const;
70  void writeStl_ASCII(const std::string& name) const;
75  void printStatistics(const std::string& name) const;
76 private:
77  WofMesh(WofMesh&);
78  Dat* pDat;
79 };
80 
81 
82 
83 } // NAMESPACE
84 
85 
Definition: Point3.h:23
Smart-Pointer for WofMesh.
Definition: WofMesh.h:31