|
cgv
|
#include <colored_model.h>
Public Types | |
| typedef color< float, RGB > | rgb |
| define supported color types | |
Public Member Functions | |
| colored_model () | |
| construct colored model | |
| colored_model (const colored_model &cm) | |
| copy constructur | |
| colored_model & | operator= (const colored_model &cm) |
| assignment operator | |
| virtual | ~colored_model () |
| destruct colored model | |
Protected Attributes | |
| abst_color_storage * | color_storage_ptr |
| pointer to color storage | |
coordinate type independent base class of simple mesh data structure that handles indices and colors.
| void cgv::media::colored_model::ensure_colors | ( | ColorType | _color_type, |
| size_t | nr_colors = -1 |
||
| ) |
ensure that colors are allocated and of given storage type
Only in case of new allocation, the second parameter is used to define the number of colors