Action listener for coValuePoti events.
More...
#include <coValuePoti.h>
Action listener for coValuePoti events.
◆ ~coValuePotiActor()
virtual vrui::coValuePotiActor::~coValuePotiActor |
( |
| ) |
|
|
inlinevirtual |
◆ getContext()
virtual int vrui::coValuePotiActor::getContext |
( |
| ) |
|
|
inlinevirtual |
Get the current context, if one poti is used in different contexts (for collaborative use).
- Returns
- collaborative context
◆ potiPressed()
void vrui::coValuePotiActor::potiPressed |
( |
coValuePoti * |
poti, |
|
|
int |
context = -1 |
|
) |
| |
|
virtual |
◆ potiReleased()
void vrui::coValuePotiActor::potiReleased |
( |
coValuePoti * |
poti, |
|
|
int |
context = -1 |
|
) |
| |
|
virtual |
◆ potiValueChanged()
virtual void vrui::coValuePotiActor::potiValueChanged |
( |
float |
oldValue, |
|
|
float |
newValue, |
|
|
coValuePoti * |
poti, |
|
|
int |
context = -1 |
|
) |
| |
|
pure virtual |
Called whenever poti value was changed.
- Parameters
-
oldValue | previous poti value |
newValue | poti value which is to be set |
poti | poti by which event was triggered |
context | remote context for collaborative use (optional) |
Implemented in vrui::coPotiMenuItem, and vrui::coPotiToolboxItem.
The documentation for this class was generated from the following files: