#include "gui/mrview/colourbars.h"
|
| ColourBars () |
|
void | begin (Projection *projection, const Position position, const size_t ncolourbars) |
|
void | render (size_t colourmap, bool inverted, float local_min_value, float local_max_value, float global_min_value, float global_range, Eigen::Array3f colour={ NAN, NAN, NAN }) |
|
void | render (const Displayable &object, bool inverted) |
|
void | end () |
|
Definition at line 45 of file colourbars.h.
◆ Position
Enumerator |
---|
None | |
Top | |
Bottom | |
Left | |
Right | |
TopLeft | |
TopRight | |
BottomLeft | |
BottomRight | |
Definition at line 48 of file colourbars.h.
◆ ColourBars()
MR::GUI::MRView::ColourBars::ColourBars |
( |
| ) |
|
◆ begin()
void MR::GUI::MRView::ColourBars::begin |
( |
Projection * |
projection, |
|
|
const Position |
position, |
|
|
const size_t |
ncolourbars |
|
) |
| |
|
inline |
◆ end()
void MR::GUI::MRView::ColourBars::end |
( |
| ) |
|
|
inline |
◆ render() [1/2]
void MR::GUI::MRView::ColourBars::render |
( |
const Displayable & |
object, |
|
|
bool |
inverted |
|
) |
| |
◆ render() [2/2]
void MR::GUI::MRView::ColourBars::render |
( |
size_t |
colourmap, |
|
|
bool |
inverted, |
|
|
float |
local_min_value, |
|
|
float |
local_max_value, |
|
|
float |
global_min_value, |
|
|
float |
global_range, |
|
|
Eigen::Array3f |
colour = { NAN, NAN, NAN } |
|
) |
| |
◆ setup()
void MR::GUI::MRView::ColourBars::setup |
( |
size_t |
index, |
|
|
bool |
inverted |
|
) |
| |
|
protected |
◆ colourbar_padding
const GLfloat MR::GUI::MRView::ColourBars::colourbar_padding |
|
protected |
◆ current_colourmap_index
size_t MR::GUI::MRView::ColourBars::current_colourmap_index |
|
protected |
◆ current_colourmap_inverted
bool MR::GUI::MRView::ColourBars::current_colourmap_inverted |
|
protected |
◆ frame_program
◆ height
const GLfloat MR::GUI::MRView::ColourBars::height |
|
protected |
◆ inset
const GLfloat MR::GUI::MRView::ColourBars::inset |
|
protected |
◆ program
◆ text_offset
const GLfloat MR::GUI::MRView::ColourBars::text_offset |
|
protected |
◆ VAO
◆ VB
◆ width
const GLfloat MR::GUI::MRView::ColourBars::width |
|
protected |
The documentation for this class was generated from the following file: