Scalar field range structure.
More...
#include <ccScalarField.h>
|
|
| Range () |
| | Default constructor.
|
| |
|
ScalarType | min () const |
| |
|
ScalarType | start () const |
| |
|
ScalarType | stop () const |
| |
|
ScalarType | max () const |
| |
|
ScalarType | range () const |
| |
|
ScalarType | maxRange () const |
| |
|
void | setBounds (ScalarType minVal, ScalarType maxVal, bool resetStartStop=true) |
| |
|
void | setStart (ScalarType value) |
| |
|
void | setStop (ScalarType value) |
| |
|
ScalarType | inbound (ScalarType val) const |
| | Returns the nearest inbound value.
|
| |
|
bool | isInbound (ScalarType val) const |
| | Returns whether a value is inbound or not.
|
| |
|
bool | isInRange (ScalarType val) const |
| | Returns whether a value is inside range or not.
|
| |
|
|
void | updateRange () |
| | Updates actual range.
|
| |
Scalar field range structure.
◆ m_max
| ScalarType ccScalarField::Range::m_max |
|
protected |
◆ m_min
| ScalarType ccScalarField::Range::m_min |
|
protected |
◆ m_range
| ScalarType ccScalarField::Range::m_range |
|
protected |
Actual range: start-stop (but can't be ZERO!)
◆ m_start
| ScalarType ccScalarField::Range::m_start |
|
protected |
Current start value (in [min,max])
◆ m_stop
| ScalarType ccScalarField::Range::m_stop |
|
protected |
Current stop value (in [min,max])
The documentation for this class was generated from the following file: