DGtal
1.5.beta
|
#include <iostream>
#include <sstream>
#include <algorithm>
#include "DGtal/base/Common.h"
#include "ConfigTest.h"
#include "DGtalCatch.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/kernel/PointVector.h"
#include "DGtal/graph/CUndirectedSimpleGraph.h"
#include "DGtal/graph/BreadthFirstVisitor.h"
#include "DGtal/shapes/SurfaceMesh.h"
#include "DGtal/shapes/SurfaceMeshHelper.h"
#include "DGtal/io/readers/SurfaceMeshReader.h"
#include "DGtal/io/writers/SurfaceMeshWriter.h"
Go to the source code of this file.
Functions | |
SurfaceMesh< PointVector< 3, double >, PointVector< 3, double > > | makeBox () |
SurfaceMesh< PointVector< 3, double >, PointVector< 3, double > > | makeNonManifoldBoundary () |
SurfaceMesh< PointVector< 3, double >, PointVector< 3, double > > | makeTetrahedron () |
SCENARIO ("SurfaceMesh< RealPoint3 > concept check tests", "[surfmesh][concepts]") | |
SCENARIO ("SurfaceMesh< RealPoint3 > build tests", "[surfmesh][build]") | |
SCENARIO ("SurfaceMesh< RealPoint3 > mesh helper tests", "[surfmesh][helper]") | |
SCENARIO ("SurfaceMesh< RealPoint3 > reader/writer tests", "[surfmesh][io]") | |
SCENARIO ("SurfaceMesh< RealPoint3 > boundary tests", "[surfmesh][boundary]") | |
SCENARIO ("SurfaceMesh< RealPoint3 > flippable tests", "[surfmesh][flip]") | |
SCENARIO ("SurfaceMesh< RealPoint3 > flip tests", "[surfmesh][flip]") | |
SCENARIO ("SurfaceMesh< RealPoint3 > restore lantern with flips tests", "[surfmesh][flip]") | |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Functions for testing class SurfaceMesh.
This file is part of the DGtal library.
Definition in file testSurfaceMesh.cpp.
SurfaceMesh< PointVector<3,double>, PointVector<3,double> > makeBox | ( | ) |
Definition at line 57 of file testSurfaceMesh.cpp.
Referenced by SCENARIO().
SurfaceMesh< PointVector<3,double>,PointVector<3,double> > makeNonManifoldBoundary | ( | ) |
SurfaceMesh< PointVector<3,double>,PointVector<3,double> > makeTetrahedron | ( | ) |
SCENARIO | ( | "SurfaceMesh< RealPoint3 > boundary tests" | , |
"" | [surfmesh][boundary] | ||
) |
Definition at line 357 of file testSurfaceMesh.cpp.
References CAPTURE(), makeBox(), makeNonManifoldBoundary(), and REQUIRE().
SCENARIO | ( | "SurfaceMesh< RealPoint3 > build tests" | , |
"" | [surfmesh][build] | ||
) |
Definition at line 136 of file testSurfaceMesh.cpp.
References CAPTURE(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::current(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::expand(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::finished(), GIVEN(), makeBox(), and REQUIRE().
SCENARIO | ( | "SurfaceMesh< RealPoint3 > concept check tests" | , |
"" | [surfmesh][concepts] | ||
) |
Definition at line 128 of file testSurfaceMesh.cpp.
SCENARIO | ( | "SurfaceMesh< RealPoint3 > flip tests" | , |
"" | [surfmesh][flip] | ||
) |
Definition at line 435 of file testSurfaceMesh.cpp.
References REQUIRE().
SCENARIO | ( | "SurfaceMesh< RealPoint3 > flippable tests" | , |
"" | [surfmesh][flip] | ||
) |
Definition at line 376 of file testSurfaceMesh.cpp.
References makeBox(), makeTetrahedron(), and REQUIRE().
SCENARIO | ( | "SurfaceMesh< RealPoint3 > mesh helper tests" | , |
"" | [surfmesh][helper] | ||
) |
Definition at line 255 of file testSurfaceMesh.cpp.
SCENARIO | ( | "SurfaceMesh< RealPoint3 > reader/writer tests" | , |
"" | [surfmesh][io] | ||
) |
Definition at line 320 of file testSurfaceMesh.cpp.
SCENARIO | ( | "SurfaceMesh< RealPoint3 > restore lantern with flips tests" | , |
"" | [surfmesh][flip] | ||
) |
Definition at line 472 of file testSurfaceMesh.cpp.
References REQUIRE().