DGtal
1.5.beta
|
#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/io/boards/Board2D.h"
#include "DGtal/io/Color.h"
#include "DGtal/io/colormaps/HueShadeColorMap.h"
#include "DGtal/shapes/Shapes.h"
#include "DGtal/graph/CUndirectedSimpleGraph.h"
#include "DGtal/graph/DepthFirstVisitor.h"
#include "DGtal/graph/CGraphVisitor.h"
#include <set>
#include <iterator>
#include "DGtal/images/ImageContainerBySTLVector.h"
Go to the source code of this file.
Typedefs | |
typedef ImageContainerBySTLVector< Z2i::Domain, int > | Image |
Functions | |
void | testDepthFirstPropagation () |
int | main (int, char **) |
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 objects as graph.
This file is part of the DGtal library.
Definition in file testDepthFirstPropagation.cpp.
typedef ImageContainerBySTLVector< Z2i::Domain, int> Image |
Definition at line 54 of file testDepthFirstPropagation.cpp.
int main | ( | int | , |
char ** | |||
) |
Definition at line 184 of file testDepthFirstPropagation.cpp.
References testDepthFirstPropagation().
void testDepthFirstPropagation | ( | ) |
Definition at line 55 of file testDepthFirstPropagation.cpp.
References DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::begin(), DGtal::HyperRectDomain< TSpace >::className(), LibBoard::Board::clear(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::current(), DGtal::DepthFirstVisitor< TGraph, TMarkSet >::current(), domain, DGtal::DigitalSetByAssociativeContainer< TDomain, TContainer >::end(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::expand(), DGtal::DepthFirstVisitor< TGraph, TMarkSet >::expand(), DGtal::BreadthFirstVisitor< TGraph, TMarkSet >::finished(), DGtal::DepthFirstVisitor< TGraph, TMarkSet >::finished(), image(), and LibBoard::Board::saveEPS().
Referenced by main().