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

Component: Per edge Color More...

#include <component.h>

Inheritance diagram for vcg::edge::Color< A, T >:

Public Types

typedef A ColorType
 

Public Member Functions

ColorType & C ()
 
const ColorType & C () const
 
const ColorType & cC () const
 
template<class LeftV >
void ImportData (const LeftV &left)
 

Static Public Member Functions

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

Detailed Description

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

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.


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