pfvMousePicker(3pf) OpenGL Performer 3.2.2 libpfv C++ Reference Pages
NAMEpfvMousePicker - A pfvPicker implementation that uses mouse and keyboard
events to determine current focus and to coordinate user-interaction.
FUNCTION SPECIFICATION
#include <Performer/pfv/pfvMousePicker.h>
pfvMousePicker::pfvMousePicker();
pfuMouse* pfvMousePicker::getMouse();
pfuEventStream* pfvMousePicker::getEventStream();
DESCRIPTION
The pfvMousePicker extends the pfvPicker class and may be used directly
by applications in order to coordinate user interaction with scene
elements through mouse and keyboard input.
new pfvMousePicker creates and returns a handle to a new pfvMousePicker
object.
pfvMousePicker::getMouse() returns a pointer to a pfuMouse structure
stored within the pfvMousePicker object, which contains current mouse
state and is updated by pfvMousePicker through function pfuGetMouse.
pfvMousePicker::getEventStream() returns a pointer to a pfuEventStream
structure stored within the pfvMousePicker object, which contains current
keyboard state and is updated by pfvMousePicker through function
pfuGetEvents.
NOTESpfvMousePicker objecys may be used by Performer applications that do not
use the Display and Input Managers from libpfv.
For examples of uses of the pfvMousePicker class, look at the sample code
in /usr/share/Performer/src/pguide/libpfv/picker and the README file
contained in that directory.
SEE ALSO
pfvPicker, pfvInputMngrPicker, pfuGetMouse, pfuGetEvents
Page 1