Tulip Plugins
Classes | Defines | Functions
ColorMapping.cpp File Reference
#include <cmath>
#include <tulip/TulipPlugin.h>
#include <tulip/Color.h>
#include <tulip/Vector.h>
#include <tulip/ColorScale.h>
#include "DoubleStringsListRelationDialog.h"
#include <tulip/GlComposite.h>
#include <tulip/GlRect.h>
#include <tulip/GlLabel.h>
Include dependency graph for ColorMapping.cpp:

Classes

class  ColorMapping

Defines

#define ELT_TYPE   "type"
#define ELT_TYPES   "linear;uniform;enumerated"
#define LINEAR_ELT   0
#define UNIFORM_ELT   1
#define ENUMERATED_ELT   2
#define TARGET_TYPE   "target"
#define TARGET_TYPES   "nodes;edges"
#define NODES_TARGET   0
#define EDGES_TARGET   1

Functions

void RGBtoHSV (float r, float g, float b, float *h, float *s, float *v)
void HSVtoRGB (float *r, float *g, float *b, float h, float s, float v)
 COLORPLUGIN (ColorMapping,"Color Mapping","Mathiaut","16/09/2010","Color mapping plugin","1.0")

Define Documentation

#define EDGES_TARGET   1
#define ELT_TYPE   "type"
#define ELT_TYPES   "linear;uniform;enumerated"
#define ENUMERATED_ELT   2
#define LINEAR_ELT   0
#define NODES_TARGET   0
#define TARGET_TYPE   "target"
#define TARGET_TYPES   "nodes;edges"
#define UNIFORM_ELT   1

Function Documentation

COLORPLUGIN ( ColorMapping  ,
"Color Mapping"  ,
"Mathiaut"  ,
"16/09/2010"  ,
"Color mapping plugin"  ,
"1.0"   
)
void HSVtoRGB ( float *  r,
float *  g,
float *  b,
float  h,
float  s,
float  v 
)
void RGBtoHSV ( float  r,
float  g,
float  b,
float *  h,
float *  s,
float *  v 
)