observes a selection of primitives in a particular TF and sends signals to inform on position, alpha, and color changes
More...
#include <tfselectionwatcher.h>
|
void | updateWidgetPosition (double pos, bool ambiguous=false) |
|
void | updateWidgetAlpha (double alpha, bool ambiguous=false) |
|
void | updateWidgetColor (const QColor &c, bool ambiguous=false) |
|
observes a selection of primitives in a particular TF and sends signals to inform on position, alpha, and color changes
◆ setAlpha
void inviwo::TFSelectionWatcher::setAlpha |
( |
double | alpha | ) |
|
|
slot |
set the alpha value of all currently selected TF primitives
- Parameters
-
◆ setColor
void inviwo::TFSelectionWatcher::setColor |
( |
const QColor & | c | ) |
|
|
slot |
set the color of all currently selected TF primitives
- Parameters
-
◆ setPosition
void inviwo::TFSelectionWatcher::setPosition |
( |
double | pos | ) |
|
|
slot |
set the position of all currently selected TF primitives
- Parameters
-
◆ updateSelection
void inviwo::TFSelectionWatcher::updateSelection |
( |
std::vector< TFPrimitive * > | selection | ) |
|
|
slot |
updates the selection state and sends out signals for position, alpha, and color. In case, multiple primitives are selected, the values are considered ambiguous unless they all have the same value. The position, alpha, and color are considered separately.
The documentation for this class was generated from the following file: