DGtal 1.3.0
No Matches
testRigidTransformation3D.cpp File Reference
#include <iostream>
#include <boost/graph/graph_concepts.hpp>
#include "DGtal/base/Common.h"
#include "ConfigTest.h"
#include "DGtal/helpers/StdDefs.h"
#include <DGtal/images/ImageSelector.h>
#include <DGtal/images/ImageContainerBySTLVector.h>
#include "DGtal/images/ConstImageAdapter.h"
#include "DGtal/images/RigidTransformation3D.h"
#include "DGtal/io/readers/PGMReader.h"
#include "DGtal/io/readers/VolReader.h"
#include "DGtal/io/writers/GenericWriter.h"

Go to the source code of this file.


int main (int, char **)

Detailed Description

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/.

Kacper Pluta (kacpe.nosp@m.r.pl.nosp@m.uta@e.nosp@m.siee.nosp@m..fr ) Laboratoire d'Informatique Gaspard-Monge - LIGM, France

Functions for testing class RigidTransformation3D.

This file is part of the DGtal library.

Definition in file testRigidTransformation3D.cpp.

Function Documentation

◆ main()

int main ( int  ,
char **   

Definition at line 106 of file testRigidTransformation3D.cpp.

108 bool res = true;
109 testRigidTransformation3D rigidTest;
110 trace.beginBlock ( "Testing RigidTransformation3D" );
111 res &= rigidTest.forwardTransformation();
112 res &= rigidTest.backwardTransformation();
113 trace.emphase() << ( res ? "Passed." : "Error." ) << endl;
114 trace.endBlock();
115 return res ? 0 : 1;
void beginBlock(const std::string &keyword="")
std::ostream & emphase()
double endBlock()
Trace trace
Definition: Common.h:154

References DGtal::Trace::beginBlock(), DGtal::Trace::emphase(), DGtal::Trace::endBlock(), and DGtal::trace.