OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | List of all members
vrui::coValuePotiActor Class Referenceabstract

#include <coValuePoti.h>

Inheritance diagram for vrui::coValuePotiActor:
Inheritance graph
[legend]

Public Member Functions

virtual ~coValuePotiActor ()
 
virtual void potiValueChanged (float oldValue, float newValue, coValuePoti *poti, int context=-1)=0
 
virtual void potiPressed (coValuePoti *poti, int context=-1)
 
virtual void potiReleased (coValuePoti *poti, int context=-1)
 
virtual int getContext ()
 

Detailed Description

Action listener for coValuePoti events.

Constructor & Destructor Documentation

virtual vrui::coValuePotiActor::~coValuePotiActor ( )
inlinevirtual

Member Function Documentation

virtual int vrui::coValuePotiActor::getContext ( )
inlinevirtual

Get the current context, if one poti is used in different contexts (for collaborative use).

Returns
collaborative context
virtual void vrui::coValuePotiActor::potiPressed ( coValuePoti poti,
int  context = -1 
)
virtual
virtual void vrui::coValuePotiActor::potiReleased ( coValuePoti poti,
int  context = -1 
)
virtual
virtual void vrui::coValuePotiActor::potiValueChanged ( float  oldValue,
float  newValue,
coValuePoti poti,
int  context = -1 
)
pure virtual

Called whenever poti value was changed.

Parameters
oldValueprevious poti value
newValuepoti value which is to be set
potipoti by which event was triggered
contextremote context for collaborative use (optional)

Implemented in vrui::coPotiToolboxItem, and vrui::coPotiMenuItem.


The documentation for this class was generated from the following file: