Component: Per edge Color More...
#include <component.h>
Public Types | |
typedef A | ColorType |
Public Member Functions | |
ColorType & | C () |
const ColorType & | C () const |
const ColorType & | cC () const |
Color () | |
template<class LeftV > | |
void | ImportData (const LeftV &left) |
Static Public Member Functions | |
static bool | HasColor () |
static void | Name (std::vector< std::string > &name) |
Private Attributes | |
ColorType | _color |
Component: Per edge Color
Usually most of the library expects a color stored as 4 unsigned chars (so the component you use is a vertex::Color4b
) but you can also use float for the color components.
Definition at line 208 of file edge/component.h.
typedef A vcg::edge::Color< A, T >::ColorType |
Definition at line 211 of file edge/component.h.
vcg::edge::Color< A, T >::Color | ( | ) | [inline] |
Definition at line 210 of file edge/component.h.
ColorType& vcg::edge::Color< A, T >::C | ( | ) | [inline] |
Definition at line 212 of file edge/component.h.
const ColorType& vcg::edge::Color< A, T >::C | ( | ) | const [inline] |
Definition at line 213 of file edge/component.h.
const ColorType& vcg::edge::Color< A, T >::cC | ( | ) | const [inline] |
Definition at line 214 of file edge/component.h.
static bool vcg::edge::Color< A, T >::HasColor | ( | ) | [inline, static] |
Definition at line 217 of file edge/component.h.
void vcg::edge::Color< A, T >::ImportData | ( | const LeftV & | left | ) | [inline] |
Definition at line 216 of file edge/component.h.
static void vcg::edge::Color< A, T >::Name | ( | std::vector< std::string > & | name | ) | [inline, static] |
Reimplemented in vcg::edge::Color4b< TT >.
Definition at line 218 of file edge/component.h.
ColorType vcg::edge::Color< A, T >::_color [private] |
Definition at line 221 of file edge/component.h.