-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ParDirCollapse' of /home/kacper/Projects/DGtal with con…
…flicts.
- Loading branch information
Showing
1,932 changed files
with
6,161 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
[Buildset] | ||
BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x01\x00\x00\x00\n\x00D\x00G\x00t\x00a\x00l) | ||
|
||
[CMake] | ||
Build Directory Count=1 | ||
Current Build Directory Index=0 | ||
ProjectRootRelative=./ | ||
|
||
[CMake][CMake Build Directory 0] | ||
Build Directory Path=file:///home/kacper/projects/DGtal/build | ||
Build Type=Debug | ||
CMake Binary=file:///usr/bin/cmake | ||
Environment Profile= | ||
Extra Arguments= | ||
Install Directory=file:///usr/local | ||
|
||
[Defines And Includes][Compiler] | ||
Name=GCC | ||
Path=gcc | ||
Type=GCC | ||
|
||
[Launch] | ||
Launch Configurations=Launch Configuration 0,Launch Configuration 1,Launch Configuration 2 | ||
|
||
[Launch][Launch Configuration 0] | ||
Configured Launch Modes=execute | ||
Configured Launchers=nativeAppLauncher | ||
Name=testParametricCurves3D | ||
Type=Native Application | ||
|
||
[Launch][Launch Configuration 0][Data] | ||
Arguments= | ||
Dependencies=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x00) | ||
Dependency Action=Nothing | ||
EnvironmentGroup=default | ||
Executable=file:///home/kacper/projects/DGtal/build/tests/curves/testParametricCurves3D | ||
External Terminal=konsole --noclose --workdir %workdir -e %exe | ||
Project Target=DGtal,tests,geometry,curves,testLambdaMST3D | ||
Use External Terminal=true | ||
Working Directory=file:///home/kacper/projects/DGtal/build/tests/curves/ | ||
isExecutable=false | ||
|
||
[Launch][Launch Configuration 1] | ||
Configured Launch Modes=execute | ||
Configured Launchers=nativeAppLauncher | ||
Name=lmst2D_test | ||
Type=Native Application | ||
|
||
[Launch][Launch Configuration 1][Data] | ||
Arguments= | ||
Dependencies=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x00) | ||
Dependency Action=Nothing | ||
EnvironmentGroup= | ||
Executable=file:///home/kacper/projects/DGtal/build/tests/geometry/curves/estimation/testLambdaMST2D | ||
External Terminal=konsole --noclose --workdir %workdir -e %exe | ||
Project Target= | ||
Use External Terminal=true | ||
Working Directory= | ||
isExecutable=true | ||
|
||
[Launch][Launch Configuration 2] | ||
Configured Launch Modes=execute | ||
Configured Launchers=nativeAppLauncher | ||
Name=lmst3D_test | ||
Type=Native Application | ||
|
||
[Launch][Launch Configuration 2][Data] | ||
Arguments= | ||
Dependencies=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x00) | ||
Dependency Action=Nothing | ||
EnvironmentGroup= | ||
Executable=file:///home/kacper/projects/DGtal/build/tests/geometry/curves/estimation/testLambdaMST3D | ||
External Terminal=konsole --noclose --workdir %workdir -e %exe | ||
Project Target= | ||
Use External Terminal=true | ||
Working Directory= | ||
isExecutable=true | ||
|
||
[Project] | ||
VersionControlSupport=kdevgit |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[Project] | ||
Manager=KDevCMakeManager | ||
Name=DGtal |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* 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/>. | ||
* | ||
**/ | ||
|
||
#include <iostream> | ||
#include <array> | ||
|
||
int main() | ||
{ | ||
std::array<int,5> myarray; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/** | ||
* 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/>. | ||
* | ||
**/ | ||
|
||
#include <iostream> | ||
#include <vector> | ||
|
||
using namespace std; | ||
|
||
|
||
int main() | ||
{ | ||
auto x = 7; | ||
auto s= "blam"; | ||
|
||
std::vector<int> t(20); | ||
|
||
for (auto p = t.begin(); p!=t.end(); ++p) | ||
std::cout << *p << "\n"; | ||
|
||
return 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* 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/>. | ||
* | ||
**/ | ||
|
||
#include <iostream> | ||
#include <forward_list> | ||
|
||
int main() | ||
{ | ||
std::forward_list<int> mylist; | ||
mylist.push_front (19); | ||
mylist.push_front (34); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* 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/>. | ||
* | ||
**/ | ||
|
||
#include <iostream> | ||
|
||
template<typename T> | ||
void f(std::initializer_list<T> init) | ||
{ | ||
std::cout<<"{"; | ||
for (const T *p = init.begin (); p != init.end (); ++p) | ||
std::cout<<*p<<", "; | ||
std::cout<<"}"<<std::endl; | ||
} | ||
|
||
int main() | ||
{ | ||
f({1,2,3,4}); | ||
f({1.1,2.2,3.3,4.4}); | ||
f({'a','b','c','d'}); | ||
f({"toto","tata","titi"}); | ||
return 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/** | ||
* 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/>. | ||
* | ||
**/ | ||
|
||
#include <iostream> | ||
#include <vector> | ||
|
||
using namespace std; | ||
|
||
struct T {}; | ||
void f( T&& t, int& i ) { i += 1; } | ||
void f( T& t, int& i ) { i += 2; } | ||
|
||
struct U { | ||
U( const std::vector<int> & v ) : myV( v ) { | ||
former_size = v.size(); | ||
} | ||
U( std::vector<int> && v ) : myV( std::move( v ) ) { | ||
former_size = v.size(); | ||
} | ||
int former_size; | ||
std::vector<int> myV; | ||
}; | ||
|
||
int main() | ||
{ | ||
// Checking rvalue reference. | ||
int i = 0; | ||
T t; | ||
f( t, i ); f( T(), i ); | ||
bool ok1 = ( i == 3 ); | ||
std::cout << "rvalue reference is " << ( ok1 ? "ok" : "ko" ) << std::endl; | ||
|
||
// initializer list are not in my clang++ 3.0 | ||
std::vector<int> v; | ||
v.push_back( 1 ); v.push_back( 1 ); | ||
for ( int j = 0; j < 10; ++j ) v.push_back( v.back() + v[ v.size() - 2 ] ); | ||
|
||
// Checking std::move | ||
U u1( v ); | ||
std::cout << "u1.former_size=" << u1.former_size << " == u1.size()=" << u1.myV.size() << std::endl; | ||
U u2( std::vector<int>( 5 ) ); | ||
std::cout << "u2.former_size=" << u2.former_size << " != u2.size()=" << u2.myV.size() << std::endl; | ||
bool ok2 = u2.former_size == 0; | ||
return ( ok1 && ok2 )? 0 : 1; | ||
} |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified
0
examples/geometry/surfaces/exampleEstimatorFromSurfelFunctors.cpp
100644 → 100755
Empty file.
Empty file modified
0
examples/geometry/surfaces/exampleIntegralInvariantCurvature2D.cpp
100644 → 100755
Empty file.
Empty file modified
0
examples/geometry/surfaces/exampleIntegralInvariantCurvature3D.cpp
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/** | ||
* 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/>. | ||
* | ||
**/ | ||
|
||
/** | ||
* @file quasiaffinetransform2D.cpp | ||
* @ingroup Examples | ||
* @author Kacper Pluta (\c kacper.pluta@esiee.fr ) | ||
* Laboratoire d'Informatique Gaspard-Monge - LIGM, France | ||
* | ||
* @date 2014/08/16 | ||
* | ||
* An example file named quasiaffinetransform2D. | ||
* | ||
* This file is part of the DGtal library. | ||
*/ | ||
|
||
/////////////////////////////////////////////////////////////////////////////// | ||
#include <iostream> | ||
#include "ConfigExamples.h" | ||
#include "DGtal/helpers/StdDefs.h" | ||
#include "DGtal/base/Common.h" | ||
#include "DGtal/images/QuasiAffineTransform2D.h" | ||
/////////////////////////////////////////////////////////////////////////////// | ||
|
||
using namespace std; | ||
using namespace DGtal; | ||
|
||
/////////////////////////////////////////////////////////////////////////////// | ||
|
||
int main( int argc, char** argv ) | ||
{ | ||
trace.beginBlock ( "Example quasiaffinetransform2D" ); | ||
trace.info() << "Args:"; | ||
for ( int i = 0; i < argc; ++i ) | ||
trace.info() << " " << argv[ i ]; | ||
trace.info() << endl; | ||
|
||
trace.endBlock(); | ||
return 0; | ||
} | ||
// // | ||
/////////////////////////////////////////////////////////////////////////////// |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.