DGtal 1.4.0
|
#include <iostream>
#include "DGtal/base/Common.h"
#include "ConfigTest.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/io/boards/Board3D.h"
Go to the source code of this file.
Functions | |
bool | testBoard3D () |
bool | testQuadNorm () |
bool | testNormaliation () |
bool | testShapes () |
int | main (int argc, char **argv) |
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 Board3D.
This file is part of the DGtal library.
Definition in file testBoard3D.cpp.
int main | ( | int | argc, |
char ** | argv ) |
Definition at line 183 of file testBoard3D.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::Trace::endBlock(), DGtal::Trace::info(), testBoard3D(), testNormaliation(), testQuadNorm(), testShapes(), and DGtal::trace.
bool testBoard3D | ( | ) |
Example of a test. To be completed.
Definition at line 49 of file testBoard3D.cpp.
References DGtal::Trace::beginBlock(), DGtal::HyperRectDomain< TSpace >::className(), domain, DGtal::Trace::info(), DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::insertNew(), DGtal::Board3D< Space, KSpace >::saveOBJ(), and DGtal::trace.
Referenced by main().
bool testNormaliation | ( | ) |
Definition at line 131 of file testBoard3D.cpp.
References DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::Board3D< Space, KSpace >::saveOBJ(), and DGtal::trace.
Referenced by main().
bool testQuadNorm | ( | ) |
Definition at line 88 of file testBoard3D.cpp.
References DGtal::Display3D< Space, KSpace >::addQuadWithNormal(), DGtal::Trace::beginBlock(), DGtal::Display3DFactory< TSpace, TKSpace >::drawUnorientedSurfelWithNormal(), DGtal::Trace::endBlock(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::getNormalized(), DGtal::Trace::info(), DGtal::KhalimskySpaceND< dim, TInteger >::init(), DGtal::Board3D< Space, KSpace >::saveOBJ(), DGtal::trace, and DGtal::KhalimskySpaceND< dim, TInteger >::uCell().
Referenced by main().
bool testShapes | ( | ) |
Definition at line 159 of file testBoard3D.cpp.
References DGtal::Display3D< Space, KSpace >::addLine(), DGtal::Trace::beginBlock(), DGtal::Trace::endBlock(), DGtal::Color::Red, DGtal::Board3D< Space, KSpace >::saveOBJ(), DGtal::Display3D< Space, KSpace >::setLineColor(), and DGtal::trace.
Referenced by main().