cgv
|
tickmark configuration of one tickmark type More...
#include <axis_config.h>
Public Member Functions | |
bool | operator== (const tick_config &tc) const |
implement equality check | |
tick_config (bool primary) | |
set tick config defaults | |
Public Attributes | |
TickType | type |
type of tick | |
float | step |
step width between two ticks along axis | |
float | line_width |
line width | |
float | length |
tick length relative to domain extent | |
bool | label |
whether to show text labels at tick | |
int | precision |
number of digits after decimal point, defaults to -1 which gives adaptive precision | |
tickmark configuration of one tickmark type
Definition at line 23 of file axis_config.h.
cgv::plot::tick_config::tick_config | ( | bool | primary | ) |
set tick config defaults
Definition at line 13 of file axis_config.cxx.
References label, length, line_width, precision, step, and type.
bool cgv::plot::tick_config::operator== | ( | const tick_config & | tc | ) | const |
bool cgv::plot::tick_config::label |
whether to show text labels at tick
Definition at line 34 of file axis_config.h.
Referenced by operator==(), and tick_config().
float cgv::plot::tick_config::length |
tick length relative to domain extent
Definition at line 32 of file axis_config.h.
Referenced by operator==(), and tick_config().
float cgv::plot::tick_config::line_width |
int cgv::plot::tick_config::precision |
number of digits after decimal point, defaults to -1 which gives adaptive precision
Definition at line 36 of file axis_config.h.
Referenced by operator==(), and tick_config().
float cgv::plot::tick_config::step |
step width between two ticks along axis
Definition at line 28 of file axis_config.h.
Referenced by cgv::plot::axis_config::adjust_tick_marks_to_range(), operator==(), and tick_config().
TickType cgv::plot::tick_config::type |
type of tick
Definition at line 26 of file axis_config.h.
Referenced by operator==(), and tick_config().