Template Class ColorVertex

Inheritance Relationships

Base Type

Class Documentation

template<typename T, typename ColorT>
class ColorVertex : public lvr2::BaseVector<T>

A color vertex.

Public Types

using CoordType = T

Public Functions

inline ColorVertex()

Default constructor. All coordinates and the color are initialized with zeros.

inline ColorVertex(const CoordType &_x, const CoordType &_y, const CoordType &_z)

Builds a ColorVertex with the given coordinates.

inline ColorVertex(const CoordType &_x, const CoordType &_y, const CoordType &_z, const unsigned char _r, const unsigned char _g, const unsigned char _b, ...)

Builds a Vertex with the given coordinates.

inline ColorVertex(const ColorVertex &o)

Copy Ctor.

inline ColorVertex(const T &o)

Copy Ctor.

inline CoordType operator[](const int &index) const
inline CoordType &operator[](const int &index)

Public Members

ColorT r
ColorT g
ColorT b
bool fusion