---
name: "colors_MetricMapping.cpp"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/colors_MetricMapping.cpp"
---

# colors\_MetricMapping.cpp(3tulip)

## NAME

MetricMapping.cpp -

## SYNOPSIS

`#include <cmath>`\
 `#include <hash_map>`\
 `#include <tulip/TulipPlugin.h>`\
 `#include <tulip/Color.h>`\
 `#include <tulip/Vector.h>`\
 `#include <tulip/GlComposite.h>`\
 `#include <tulip/GlRect.h>`\
 `#include <tulip/GlLabel.h>`\

### Classes

class **MetricColorMapping**\

### 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** (**MetricColorMapping**,'Metric Mapping','Auber','04/07/2003','Color metric mapping plugin','1.0')\

## Function Documentation

### COLORPLUGIN (MetricColorMapping, 'Metric Mapping', 'Auber', '04/07/2003', 'Color metric 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)

## Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.
