|
| PlotScale () |
| Default constructor.
|
|
virtual TextInterface::Parser * | get_interface () |
|
virtual void | init (const Archive *) |
| Initialize internal attributes according to Archive data.
|
|
void | copy (PlotScale *other) |
| Copy another PlotScale.
|
|
void | include (PlotScale *other) |
| Expand as necessary to include another PlotScale.
|
|
virtual std::string | get_label () const |
| Get a description of the units.
|
|
void | set_minmax (float min, float max) |
| Set the minimum and maximum value in the data.
|
|
bool | get_minmaxset () const |
| Return true when minimum and maximum value have been set.
|
|
void | get_minmax (float &min, float &max) const |
| Get the minimum and maximum value in the data.
|
|
void | update_minmax (float min, float max) |
| Update the minimum and maximum value in the data.
|
|
std::pair< float, float > | get_minmax () const |
| Get the world coordinate range printed on the axis.
|
|
void | get_range (float &min, float &max) const |
| Return min and max scaled according to zoom.
|
|
void | get_indeces (unsigned n, unsigned &imin, unsigned &imax, bool cyclic=false) const |
| Return array indeces that span the axis indeces.
|
|
void | get_axis_indeces (unsigned n, float &imin, float &imax, bool cyclic=false) const |
| Return axis indeces scaled according to zoom.
|
|
void | get_range_external (float &min, float &max) const |
| Return min and max scaled according to zoom. More...
|
|
void | set_range_norm (const std::pair< float, float > &f) |
| Set the world-normalized range on the axis.
|
|
std::pair< float, float > | get_range_norm () const |
| Get the world-normalized range on the axis.
|
|
void | set_range_norm (float min, float max) |
| Convenience interface.
|
|
void | set_buf_norm (float f) |
| Set the world-normalized buffer space on either side of the axis.
|
|
float | get_buf_norm () const |
| Get the world-normalized buffer space on either side of the axis.
|
|
void | set_world (const std::pair< float, float > &f) |
| Set the world coordinate range in the viewport.
|
|
std::pair< float, float > | get_world () const |
| Get the world coordinate range in the viewport.
|
|
void | set_world_external (const std::pair< float, float > &f) |
| Set the world coordinate range printed on the axis.
|
|
std::pair< float, float > | get_world_external () const |
| Get the world coordinate range printed on the axis.
|
|
void | set_index_range (const std::pair< unsigned, unsigned > &index) |
| Set the index range to be plotted.
|
|
std::pair< unsigned, unsigned > | get_index_range () const |
| Get the index range to be plotted.
|
|
unsigned | get_num_indeces () const |
|
std::pair< float, float > | viewport_to_world (const std::pair< float, float > &) |
|
double | viewport_to_world (const double) |
|
virtual void | freeze (bool f=true) |
| Freeze the frame.
|
|
void | set_viewport (const std::pair< float, float > &f) |
| Set the viewport (normalized device coordinates)
|
|
std::pair< float, float > | get_viewport () const |
| Get the viewport (normalized device coordinates)
|
|
| Able (const Able &) |
|
Able & | operator= (const Able &) |
|
unsigned | get_reference_count () const |
|
| HeapTracked (const HeapTracked &) |
|
HeapTracked & | operator= (const HeapTracked &) |
|
bool | __is_on_heap () const |
|