Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
vcg::edge::Color< A, T > Class Template Reference

Component: Per edge Color More...

#include <component.h>

Inheritance diagram for vcg::edge::Color< A, T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef A ColorType

Public Member Functions

ColorTypeC ()
const ColorTypeC () const
const ColorTypecC () 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

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.

Definition at line 208 of file edge/component.h.


Member Typedef Documentation

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

Definition at line 211 of file edge/component.h.


Constructor & Destructor Documentation

template<class A, class T>
vcg::edge::Color< A, T >::Color ( ) [inline]

Definition at line 210 of file edge/component.h.


Member Function Documentation

template<class A, class T>
ColorType& vcg::edge::Color< A, T >::C ( ) [inline]

Definition at line 212 of file edge/component.h.

template<class A, class T>
const ColorType& vcg::edge::Color< A, T >::C ( ) const [inline]

Definition at line 213 of file edge/component.h.

template<class A, class T>
const ColorType& vcg::edge::Color< A, T >::cC ( ) const [inline]

Definition at line 214 of file edge/component.h.

template<class A, class T>
static bool vcg::edge::Color< A, T >::HasColor ( ) [inline, static]

Definition at line 217 of file edge/component.h.

template<class A, class T>
template<class LeftV >
void vcg::edge::Color< A, T >::ImportData ( const LeftV &  left) [inline]

Definition at line 216 of file edge/component.h.

template<class A, class T>
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.


Member Data Documentation

template<class A, class T>
ColorType vcg::edge::Color< A, T >::_color [private]

Definition at line 221 of file edge/component.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:24