DGtal 1.3.0
|
#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 () |
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]") | |
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 | ( | ) |
Definition at line 87 of file testSurfaceMesh.cpp.
Referenced by SCENARIO().
SCENARIO | ( | "SurfaceMesh< RealPoint3 > boundary tests" | , |
"" | [surfmesh][boundary] | ||
) |
Definition at line 338 of file testSurfaceMesh.cpp.
References CAPTURE(), makeBox(), makeNonManifoldBoundary(), and REQUIRE().
SCENARIO | ( | "SurfaceMesh< RealPoint3 > build tests" | , |
"" | [surfmesh][build] | ||
) |
Definition at line 115 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 107 of file testSurfaceMesh.cpp.
SCENARIO | ( | "SurfaceMesh< RealPoint3 > mesh helper tests" | , |
"" | [surfmesh][helper] | ||
) |
Definition at line 235 of file testSurfaceMesh.cpp.
References CAPTURE(), GIVEN(), REQUIRE(), and DGtal::PointVector< dim, TEuclideanRing, TContainer >::zero.
SCENARIO | ( | "SurfaceMesh< RealPoint3 > reader/writer tests" | , |
"" | [surfmesh][io] | ||
) |
Definition at line 301 of file testSurfaceMesh.cpp.
References CAPTURE(), REQUIRE(), and DGtal::PointVector< dim, TEuclideanRing, TContainer >::zero.