VCG Library
0.1
|
Generation of per-vertex and per-face colors according to various strategy. More...
#include <vcg/complex/trimesh/update/color.h>
Static Public Member Functions | |
static void | VertexBorderFlag (UpdateMeshType &m, Color4b BorderColor=Color4b::Blue, Color4b InternalColor=Color4b::White, Color4b MixColor=Color4b::Cyan) |
Color the vertexes of the mesh that are on the border. | |
static void | MultiFaceRandom (UpdateMeshType &m) |
Generation of per-vertex and per-face colors according to various strategy.
This class is used to compute per face or per vertex color with respect to for example Border (UpdateColor::VertexBorderFlag), Selection (UpdateColor::FaceSelected), Quality .
static void vcg::tri::UpdateColor< UpdateMeshType >::MultiFaceRandom | ( | UpdateMeshType & | m | ) | [inline, static] |
This function colores the face of a mesh randomly. The faux bit is used to color polygonal faces uniformly
static void vcg::tri::UpdateColor< UpdateMeshType >::VertexBorderFlag | ( | UpdateMeshType & | m, |
Color4b | BorderColor = Color4b::Blue , |
||
Color4b | InternalColor = Color4b::White , |
||
Color4b | MixColor = Color4b::Cyan |
||
) | [inline, static] |
Color the vertexes of the mesh that are on the border.
It uses the information in the Vertex flags, and not any topology. So it just require that you have correctly computed the flags;