cee::ug::ContourLines Class Reference

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...
 
- Public Member Functions inherited from cee::RefCountedObject
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...
 
Inheritance diagram for cee::ug::ContourLines:
cee::RefCountedObject

Detailed Description

Controlling how the contour lines are drawn.

See also
ScalarSettings

Member Enumeration Documentation

Color scheme used for coloring the contour lines.

Enumerator
SINGLE 

Single color.

COLOR_BY_SCALAR 

Color by associated scalar result.

Member Function Documentation

ContourLines::ColorMode cee::ug::ContourLines::colorMode ( ) const

Returns the color mode.

See also
ColorMode
singleColor()
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.

See also
ColorMode
singleColor()
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.

See also
colorMode()
ColorMode
cee::Color3f cee::ug::ContourLines::singleColor ( ) const

Returns the color used when color mode is set to ContourLines::SINGLE.

See also
colorMode()
ColorMode