Item used in the selection below also containing color info.
More...
#include <WDataSetFibers.h>
List of all members.
Friends |
class | WDataSetFibers |
Additional Inherited Members |
std::string | m_name |
| Item name.
|
std::string | m_description |
| Item description.
|
const char ** | m_icon |
| Item icon.
|
Detailed Description
Item used in the selection below also containing color info.
Definition at line 81 of file WDataSetFibers.h.
Member Enumeration Documentation
different kinds of color arrays can be used in this class.
This enum defines their possible types.
- Enumerator:
GRAY |
gray value per vertex
|
RGB |
rgb per vertex
|
RGBA |
rgba per vertex
|
Definition at line 89 of file WDataSetFibers.h.
Constructor & Destructor Documentation
WDataSetFibers::ColorScheme::ColorScheme |
( |
std::string |
name, |
|
|
std::string |
description, |
|
|
const char ** |
icon, |
|
|
ColorArray |
color, |
|
|
ColorMode |
mode = RGB |
|
) |
| |
|
inline |
Constructor.
Creates new item.
- Parameters:
-
name | name, name of item. |
description | description of item. Can be empty. |
icon | icon, can be NULL |
color | the color array of this item. |
mode | the mode of the color array. This defines whether the colors are luminance, RGB or RGBA |
Definition at line 106 of file WDataSetFibers.h.
Member Function Documentation
ColorArray WDataSetFibers::ColorScheme::getColor |
( |
| ) |
const |
|
inline |
ColorMode WDataSetFibers::ColorScheme::getMode |
( |
| ) |
const |
|
inline |
Returns the mode of the color scheme.
- Returns:
- the mode.
Definition at line 128 of file WDataSetFibers.h.
Member Data Documentation
ColorMode WDataSetFibers::ColorScheme::m_mode |
|
private |
The documentation for this class was generated from the following file: