TsGTFilter.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file TsGTFilter.h
22 
23  \brief Test suite for Geometric Transformations Filter.
24  */
25 
26 #ifndef __TERRALIB_UNITTEST_GEOMETRY_INTERNAL_GTFILTER_H
27 #define __TERRALIB_UNITTEST_GEOMETRY_INTERNAL_GTFILTER_H
28 
29 #include <terralib/geometry.h>
30 
31 // cppUnit
32 #include <cppunit/extensions/HelperMacros.h>
33 
34 #include <vector>
35 
36 /*!
37  \class TsGTFilter
38 
39  \brief Test suite for Geometric Transformations Filter.
40  */
41 class TsGTFilter : public CPPUNIT_NS::TestFixture
42 {
43 // It registers this class as a Test Suit
45 
47 
49 
51 
53 
54  public:
55 
56 // It sets up context before running the test.
57  void setUp();
58 
59 // It cleann up after the test run.
60  void tearDown();
61 
62  protected:
63 
64  /*! \brief Generate a tie-points set 1. */
65  void generateTestTPSet1( std::vector< te::gm::GTParameters::TiePoint >&
66  tiePoints );
67 
68  /*! \brief Generate a tie-points set 2. */
69  void generateTestTPSet2( std::vector< te::gm::GTParameters::TiePoint >&
70  tiePoints );
71 
72 // Test Cases:
73 
74  /*! \brief Test Case: ApplyRansac */
76 
77  /*! \brief Test Case: ApplyRansac */
79 
80  /*! \brief Test Case: tcApplyRansacMultiThread */
82 };
83 
84 #endif // __TERRALIB_UNITTEST_GEOMETRY_INTERNAL_GTFILTER_H
85 
Test suite for Geometric Transformations Filter.
Definition: TsGTFilter.h:41
void generateTestTPSet1(std::vector< te::gm::GTParameters::TiePoint > &tiePoints)
Generate a tie-points set 1.
Definition: TsGTFilter.cpp:56
void tearDown()
Definition: TsGTFilter.cpp:52
CPPUNIT_TEST(tcApplyRansacWithTPSet1)
CPPUNIT_TEST_SUITE(TsGTFilter)
void tcApplyRansacWithTPSet2()
Test Case: ApplyRansac.
void tcApplyRansacMultiThread()
Test Case: tcApplyRansacMultiThread.
void generateTestTPSet2(std::vector< te::gm::GTParameters::TiePoint > &tiePoints)
Generate a tie-points set 2.
Definition: TsGTFilter.cpp:210
void tcApplyRansacWithTPSet1()
Test Case: ApplyRansac.
This file contains include headers for the Vector Geometry model of TerraLib.
CPPUNIT_TEST_SUITE_END()
void setUp()
Definition: TsGTFilter.cpp:48