Data Structures | Namespaces | Defines | Functions

ColorBrightnessColorMap.h File Reference

#include <iostream>
#include "DGtal/base/Common.h"
#include "Board/Board.h"
#include "Board/Color.h"
#include "DGtal/io/colormaps/ColorBrightnessColorMap.ih"
Include dependency graph for ColorBrightnessColorMap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  DGtal::ColorBrightnessColorMap< PValueType, PDefaultColor >
 Aim: This class template may be used to (linearly) convert scalar values in a given range into a color with given lightness. More...

Namespaces

namespace  DGtal

Defines

#define ColorBrightnessColorMap_RECURSES
#define ColorBrightnessColorMap_h
#define DGTAL_RGB2INT(R, G, B)   (((R)<<16)|((G)<<8)|(B))
#define DGTAL_RED_COMPONENT(I)   (((I)>>16)&0xFF)
#define DGTAL_GREEN_COMPONENT(I)   (((I)>>8)&0xFF)
#define DGTAL_BLUE_COMPONENT(I)   ((I)&0xFF)

Functions

template<typename PValueType , int PDefaultColor>
std::ostream & DGtal::operator<< (std::ostream &out, const ColorBrightnessColorMap< PValueType, PDefaultColor > &object)

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

Header file for module ColorBrightnessColorMap.cpp

This file is part of the DGtal library.


Define Documentation

#define ColorBrightnessColorMap_h

Prevents repeated inclusion of headers.

#define ColorBrightnessColorMap_RECURSES

Prevents recursive inclusion of headers.

#define DGTAL_BLUE_COMPONENT (   I  )     ((I)&0xFF)
#define DGTAL_GREEN_COMPONENT (   I  )     (((I)>>8)&0xFF)
#define DGTAL_RED_COMPONENT (   I  )     (((I)>>16)&0xFF)
#define DGTAL_RGB2INT (   R,
  G,
  B 
)    (((R)<<16)|((G)<<8)|(B))

Referenced by main(), and testPNMWriter().