MEPP2 Project
|
#include <CGAL/boost/graph/internal/helpers.h>
#include <CGAL/boost/graph/iterator.h>
Go to the source code of this file.
Functions | |
void | RGB_To_LAB (float r, float g, float b, float *lab) |
Rgb to lab. More... | |
void | LAB_To_RGB (float L, float A, float B, float *rgb) |
Lab to rgb. More... | |
template<typename Graph > | |
boost::graph_traits< Graph >::halfedge_descriptor | fixed_CGAL_Euler_add_vertex_and_face_to_border (typename boost::graph_traits< Graph >::halfedge_descriptor h1, typename boost::graph_traits< Graph >::halfedge_descriptor h2, Graph &g) |
Variables | |
const int | RGB_Range = std::pow((int)2, 4.0) - 1 |
const int | RGB_QUANTIZATION = 8 |
const int | C0_QUANTIZATION = 8 |
const int | C1_QUANTIZATION = 8 |
const int | C2_QUANTIZATION = 8 |
const int | FREE = -1 |
const int | CONQUERED = 0 |
const int | TO_BE_REMOVED = 1 |
const int | TEMP_FLAG = 2 |
const int | PLUS = 1 |
The plus tag for retriangulation. More... | |
const int | MINUS = -1 |
The minus tag for retriangulation. More... | |
const int | NOSIGN = 0 |
The nosign tag for retriangulation. More... | |
const int | FIRST_COORDINATE = 1 |
The first coordinate tag for seed gate. More... | |
const int | SECOND_COORDINATE = 2 |
The second coordinate tag for seed gate. More... | |
const int | OTHER_COORDINATE = -1 |
The other coordinate tag for seed gate. More... | |
const int | DECIMATION_CONNECTIVITY_SYMBOL |
The decimation connectivity symbol. More... | |
const int | LIMIT_QBIT = 4 |
The limit qbit. More... | |
const double | PI |
boost::graph_traits< Graph >::halfedge_descriptor fixed_CGAL_Euler_add_vertex_and_face_to_border | ( | typename boost::graph_traits< Graph >::halfedge_descriptor | h1, |
typename boost::graph_traits< Graph >::halfedge_descriptor | h2, | ||
Graph & | g | ||
) |
appends a new face to the border halfedge h2
by connecting the tip of h2
with the tip of h1
with two new halfedges and a new vertex and creating a new face that is incident to h2
. Note that add_vertex_and_face_to_border()
does not deal with properties of new vertices, halfedges, and faces.
Graph | must be a model of MutableFaceGraph |
h1
and h2
are border halfedges h1 != h2
, h1
and h2
are on the same border. Definition at line 240 of file Compression_Valence_Common.h.
|
inline |
Lab to rgb.
L | The. | |
A | a. | |
B | The. | |
[in,out] | rgb | If non-null, the rgb. |
Definition at line 141 of file Compression_Valence_Common.h.
|
inline |
Rgb to lab.
r | The. | |
g | The. | |
b | The. | |
[in,out] | lab | If non-null, the lab. |
Definition at line 66 of file Compression_Valence_Common.h.
const int C0_QUANTIZATION = 8 |
Definition at line 30 of file Compression_Valence_Common.h.
const int C1_QUANTIZATION = 8 |
Definition at line 31 of file Compression_Valence_Common.h.
const int C2_QUANTIZATION = 8 |
Definition at line 32 of file Compression_Valence_Common.h.
const int CONQUERED = 0 |
Definition at line 35 of file Compression_Valence_Common.h.
const int DECIMATION_CONNECTIVITY_SYMBOL |
The decimation connectivity symbol.
Definition at line 48 of file Compression_Valence_Common.h.
const int FIRST_COORDINATE = 1 |
The first coordinate tag for seed gate.
Definition at line 43 of file Compression_Valence_Common.h.
const int FREE = -1 |
Definition at line 34 of file Compression_Valence_Common.h.
const int LIMIT_QBIT = 4 |
The limit qbit.
Definition at line 50 of file Compression_Valence_Common.h.
const int MINUS = -1 |
The minus tag for retriangulation.
Definition at line 40 of file Compression_Valence_Common.h.
const int NOSIGN = 0 |
The nosign tag for retriangulation.
Definition at line 41 of file Compression_Valence_Common.h.
const int OTHER_COORDINATE = -1 |
The other coordinate tag for seed gate.
Definition at line 45 of file Compression_Valence_Common.h.
const double PI |
The pi
Definition at line 51 of file Compression_Valence_Common.h.
const int PLUS = 1 |
The plus tag for retriangulation.
Definition at line 39 of file Compression_Valence_Common.h.
const int RGB_QUANTIZATION = 8 |
Definition at line 29 of file Compression_Valence_Common.h.
const int RGB_Range = std::pow((int)2, 4.0) - 1 |
Definition at line 26 of file Compression_Valence_Common.h.
const int SECOND_COORDINATE = 2 |
The second coordinate tag for seed gate.
Definition at line 44 of file Compression_Valence_Common.h.
const int TEMP_FLAG = 2 |
Definition at line 37 of file Compression_Valence_Common.h.
const int TO_BE_REMOVED = 1 |
Definition at line 36 of file Compression_Valence_Common.h.