xmsmesh  1.0
TutMeshing.t.h
Go to the documentation of this file.
1 #pragma once
2 #ifdef CXX_TEST
3 //------------------------------------------------------------------------------
8 //------------------------------------------------------------------------------
9 
10 // 3. Standard Library Headers
11 
12 // 4. External Library Headers
13 #include <cxxtest/TestSuite.h>
14 
15 // 5. Shared Headers
16 #include <xmscore/stl/vector.h>
17 
18 // 6. Non-shared Headers
19 
20 //----- Namespace declaration --------------------------------------------------
21 
22 namespace xms
23 {
24 class MeMultiPolyMesherIo;
25 
26 bool tutReadMeshIoFromFile(const std::string& a_fname, MeMultiPolyMesherIo& a_io);
27 bool tutReadPolygons(const std::string& a_fname, VecPt3d2d& a_outside, VecPt3d3d& a_inside);
28 } // namespace xms
29 
31 class TutMeshingIntermediateTests : public CxxTest::TestSuite
32 {
33 public:
41  void test_Example_Patch();
47 };
48 
50 class TutRedistributionIntermediateTests : public CxxTest::TestSuite
51 {
52 public:
57 };
58 #endif
void test_Example_SizeFuncFromDepth()
[snip_test_Example_ConstantSmooth]
Definition: TutMeshing.cpp:632
std::vector< VecPt3d2d > VecPt3d3d
void test_Example_Redistribute_Polygon_Curvature()
[test_Example_Redistribute_Curvature]
Definition: TutMeshing.cpp:918
void test_Example_SimplePolygon_Redistribute()
[snip_test_Example_SpringRelax]
Definition: TutMeshing.cpp:782
void test_Example_SimplePolygon()
Defines the test group.
Definition: TutMeshing.cpp:271
Class for testing polyline/polygon point redistribution.
Definition: TutMeshing.t.h:50
void test_Example_QuadBlossom_BadQuadRemover()
[test_Example_Redistribute_Polygon_Curvature]
Definition: TutMeshing.cpp:981
void test_Example_ConstantSmooth()
[snip_test_Example_Patch]
Definition: TutMeshing.cpp:589
void test_Example_SmoothSizeFunc()
[snip_test_Example_SizeFuncFromDepth]
Definition: TutMeshing.cpp:706
bool tutReadPolygons(const std::string &a_fname, VecPt3d2d &a_outside, VecPt3d3d &a_inside)
helper function to read polygons from a text file
Definition: TutMeshing.cpp:220
void test_Example_SpringRelax()
[snip_test_Example_SmoothSizeFunc]
Definition: TutMeshing.cpp:741
void test_Example_Redistribute_Curvature()
[snip_test_Example_Redistribute_SizeFunction]
Definition: TutMeshing.cpp:876
void test_Example_Patch()
[snip_test_Example_ScalarPaving]
Definition: TutMeshing.cpp:554
void test_Example_Breakline()
[snip_test_Example_SimplePolygonWithHole]
Definition: TutMeshing.cpp:384
std::vector< VecPt3d > VecPt3d2d
void test_Example_MultiplePolygons()
[snip_test_Example_RefinePoints]
Definition: TutMeshing.cpp:474
bool tutReadMeshIoFromFile(const std::string &a_fname, MeMultiPolyMesherIo &a_io)
helper function to read MeMultiPolyMesherIo
Definition: TutMeshing.cpp:64
void test_Example_RefinePoints()
[snip_test_Example_Breakline]
Definition: TutMeshing.cpp:421
void test_Example_Redistribute_SizeFunction()
[snip_test_example_SimplePolygon_Redistribute]
Definition: TutMeshing.cpp:812
void test_Example_ComplexPolygon()
[snip_test_Example_SimplePolygon]
Definition: TutMeshing.cpp:303
Class for testing meshing functionality.
Definition: TutMeshing.t.h:31
void test_Example_SimplePolygonWithHole()
[snip_test_Example_ComplexPolygon]
Definition: TutMeshing.cpp:346
void test_Example_ScalarPaving()
[snip_test_Example_MultiPolygon]
Definition: TutMeshing.cpp:504