Definition at line 11 of file data_axis.
◆ data_axis() [1/2]
tools::data_axis::data_axis |
( |
| ) |
|
|
inline |
◆ ~data_axis()
virtual tools::data_axis::~data_axis |
( |
| ) |
|
|
inlinevirtual |
◆ data_axis() [2/2]
tools::data_axis::data_axis |
( |
const data_axis & |
a_from | ) |
|
|
inline |
◆ adjust()
void tools::data_axis::adjust |
( |
| ) |
|
|
inline |
Definition at line 40 of file data_axis.
45 static const float nice[4] = { 1.0,2.0,2.5,5.0 };
60 unsigned int m_steps = 10;
71 step = nice[i] *
fpow(10.0,mag);
76 if (i>=N_NICE) {i = 0;mag++;}
81 float range = myhigh - mylow;
112 step = nice[i] *
fpow(10.0,mag);
114 myhigh = mylow + range;
121 while ((
m_is_log && (mylow <= 0.0) ) ||
◆ is_log() [1/2]
bool tools::data_axis::is_log |
( |
| ) |
const |
|
inline |
◆ is_log() [2/2]
bool tools::data_axis::is_log |
( |
bool |
a_v | ) |
|
|
inline |
◆ max_value() [1/2]
float tools::data_axis::max_value |
( |
| ) |
const |
|
inline |
◆ max_value() [2/2]
bool tools::data_axis::max_value |
( |
float |
a_v | ) |
|
|
inline |
◆ min_value() [1/2]
float tools::data_axis::min_value |
( |
| ) |
const |
|
inline |
◆ min_value() [2/2]
bool tools::data_axis::min_value |
( |
float |
a_v | ) |
|
|
inline |
◆ operator=()
◆ set_is_log()
bool tools::data_axis::set_is_log |
( |
bool |
a_v | ) |
|
|
inline |
◆ set_max_value()
bool tools::data_axis::set_max_value |
( |
float |
a_v | ) |
|
|
inline |
◆ set_min_value()
bool tools::data_axis::set_min_value |
( |
float |
a_v | ) |
|
|
inline |
◆ m_is_log
bool tools::data_axis::m_is_log |
|
protected |
◆ m_max_value
float tools::data_axis::m_max_value |
|
protected |
◆ m_min_value
float tools::data_axis::m_min_value |
|
protected |
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/data_axis