|
Omnidome
Fulldome Mapping Software Toolkit
|
Mixin Stepping value class template Singla and page step. More...
#include <Step.h>


Public Types | |
| typedef VALUE | value_type |
Public Member Functions | |
| Step (value_type _singleStep=1.0, value_type _pageStep=10.0, bool _snap=false) | |
| Construct with a single step, page step value. More... | |
| qreal | snapped (value_type _v) const |
| Return snapped value. More... | |
| bool | snap () const |
| Snap value (align to single step value) More... | |
| void | setSnap (bool _snap) |
| Set boolean if value is to be snapped. More... | |
| value_type | singleStep () const |
| Return value for single step. More... | |
| value_type | pageStep () const |
| Return value for page step. More... | |
| void | setSingleStep (value_type _singleStep) |
| Set new single step value. More... | |
| void | setPageStep (value_type _pageStep) |
| Set new value for page step. More... | |
Protected Member Functions | |
| template<typename MIN , typename MAX , typename F > | |
| void | for_each_step (MIN _min, MAX _max, F f) |
| Functor to be applied for each step between min and maximum. More... | |
Private Attributes | |
| value_type | singleStep_ |
| value_type | pageStep_ |
| bool | snap_ |
Mixin Stepping value class template Singla and page step.
| typedef VALUE omni::ui::mixin::Step< VALUE >::value_type |
|
inline |
Construct with a single step, page step value.
|
inlineprotected |
Functor to be applied for each step between min and maximum.
|
inline |
Return value for page step.
|
inline |
Set new value for page step.
|
inline |
Set new single step value.
|
inline |
Set boolean if value is to be snapped.
|
inline |
Return value for single step.
|
inline |
Snap value (align to single step value)
|
inline |
Return snapped value.
|
private |
|
private |
|
private |
1.8.6