Overview | All Modules | Tutorial | User's Guide | Programming Guide
Previous

COVISE Online Documentation

Next

Public Member Functions | List of all members
vrui::coValuePotiActor Class Referenceabstract

Action listener for coValuePoti events. More...

#include <coValuePoti.h>

Inheritance diagram for vrui::coValuePotiActor:
vrui::coPotiMenuItem vrui::coPotiToolboxItem

Public Member Functions

virtual ~coValuePotiActor ()
 
virtual void potiValueChanged (float oldValue, float newValue, coValuePoti *poti, int context=-1)=0
 Called whenever poti value was changed. More...
 
virtual void potiPressed (coValuePoti *poti, int context=-1)
 
virtual void potiReleased (coValuePoti *poti, int context=-1)
 
virtual int getContext ()
 Get the current context, if one poti is used in different contexts (for collaborative use). More...
 

Detailed Description

Action listener for coValuePoti events.

Constructor & Destructor Documentation

◆ ~coValuePotiActor()

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

Member Function Documentation

◆ 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
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::coPotiMenuItem, and vrui::coPotiToolboxItem.


The documentation for this class was generated from the following files:
PreviousNext

Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner
Copyright © 1993-2009 HLRS, 2004-2009 RRZK, 2005-2009 Visenso
COVISE Version 6.5 Academic