Functions

testColorMaps.cpp File Reference

#include <iostream>
#include "DGtal/base/Common.h"
#include "DGtal/io/colormaps/CColorMap.h"
#include "DGtal/io/colormaps/GrayScaleColorMap.h"
#include "DGtal/io/colormaps/HueShadeColorMap.h"
#include "DGtal/io/colormaps/ColorBrightnessColorMap.h"
#include "DGtal/io/colormaps/GradientColorMap.h"
#include "Board/PSFonts.h"
Include dependency graph for testColorMaps.cpp:

Functions

template<typename TColorMap >
void addColorMapSample (const char *name, const TColorMap &aColorMap, const typename TColorMap::ValueType step, Board &board)
bool testGrayscaleColorMap ()
int main (int argc, char **argv)

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

Author:
Sebastien Fourey (Sebastien.Fourey@greyc.ensicaen.fr ) Groupe de Recherche en Informatique, Image, Automatique et Instrumentation de Caen - GREYC (CNRS, UMR 6072), ENSICAEN, France
Date:
2010/07/16

Functions for testing the ColorMap classes.

This file is part of the DGtal library.


Function Documentation

template<typename TColorMap >
void addColorMapSample ( const char *  name,
const TColorMap &  aColorMap,
const typename TColorMap::ValueType  step,
Board board 
)
int main ( int  argc,
char **  argv 
)
bool testGrayscaleColorMap (  )