cee::ug::ContourLines

class ContourLines : public RefCountedObject

Controlling how the contour lines are drawn.

See also

ScalarSettings

Public Types

enum ColorMode

Color scheme used for coloring the contour lines.

Values:

enumerator SINGLE

Single color.

enumerator COLOR_BY_SCALAR

Color by associated scalar result.

Public Functions

size_t levelCount() const

Returns the number of contour levels to be calculated.

void setLevelCount(size_t count)

Sets the number of contour levels to be calculated.

unsigned int lineWidth() const

Returns the current line width.

void setLineWidth(unsigned int width)

Sets the line width.

ColorMode colorMode() const

Returns the color mode.

See also

ColorMode and singleColor()

void setColorMode(ColorMode mode)

Sets the color mode.

See also

ColorMode and singleColor()

cee::Color3f singleColor() const

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

See also

colorMode() and ColorMode

void setSingleColor(const Color3f &color)

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

See also

colorMode() and ColorMode