Controlling how the contour lines are drawn. More...
Public Types | |
enum | ColorMode { SINGLE, COLOR_BY_SCALAR } |
Color scheme used for coloring the contour lines. More... | |
Public Member Functions | |
size_t | levelCount () const |
Returns the number of contour levels to be calculated. More... | |
void | setLevelCount (size_t count) |
Sets the number of contour levels to be calculated. More... | |
unsigned int | lineWidth () const |
Returns the current line width. More... | |
void | setLineWidth (unsigned int width) |
Sets the line width. More... | |
ColorMode | colorMode () const |
Returns the color mode. More... | |
void | setColorMode (ColorMode mode) |
Sets the color mode. More... | |
cee::Color3f | singleColor () const |
Returns the color used when color mode is set to ContourLines::SINGLE. More... | |
void | setSingleColor (const Color3f &color) |
Sets the color to be used when color mode is set to ContourLines::SINGLE. More... | |
![]() | |
void | addRef () const |
Increments the reference count for this object. More... | |
void | release () const |
Decrements the reference count for this object. More... | |
int | refCount () const |
Returns the reference count for this object. More... | |
void | setRefCountZero () const |
Sets the ref count to zero, but DOES NOT delete the object. More... | |
Controlling how the contour lines are drawn.
ContourLines::ColorMode cee::ug::ContourLines::colorMode | ( | ) | const |
Returns the color mode.
size_t cee::ug::ContourLines::levelCount | ( | ) | const |
Returns the number of contour levels to be calculated.
unsigned int cee::ug::ContourLines::lineWidth | ( | ) | const |
Returns the current line width.
void cee::ug::ContourLines::setColorMode | ( | ContourLines::ColorMode | mode | ) |
Sets the color mode.
void cee::ug::ContourLines::setLevelCount | ( | size_t | count | ) |
Sets the number of contour levels to be calculated.
void cee::ug::ContourLines::setLineWidth | ( | unsigned int | width | ) |
Sets the line width.
void cee::ug::ContourLines::setSingleColor | ( | const Color3f & | color | ) |
Sets the color to be used when color mode is set to ContourLines::SINGLE.
cee::Color3f cee::ug::ContourLines::singleColor | ( | ) | const |
Returns the color used when color mode is set to ContourLines::SINGLE.