VCG Library
Public Types | Public Member Functions | Static Public Member Functions | List of all members
vcg::vertex::Color< A, T > Class Template Reference

Component: Per vertex Color More...

#include <component.h>

Inheritance diagram for vcg::vertex::Color< A, T >:
vcg::vertex::Color4b< TT >

Public Types

typedef A ColorType

Public Member Functions

const ColorType & C () const
ColorType & C ()
ColorType cC () const
template<class RightValueType >
void ImportData (const RightValueType &rVert)

Static Public Member Functions

static bool HasColor ()
static void Name (std::vector< std::string > &name)

Detailed Description

template<class A, class T>
class vcg::vertex::Color< A, T >

Component: Per vertex 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.

The documentation for this class was generated from the following file: