Debian Codegraph @

doc/man/man3/ivm/devices/SoXtSpaceball.ivm

raw
1 NAME SoXtSpaceball SoXtSpball SO_XT_SPBALL_ {
2 translates and reports events for the spaceball
3 }
4
5 INCLUDE Xt/devices/SoXtSpaceball.h
6
7 ENUM Mask {
8 MOTION "Spaceball translation and rotation events",
9 PRESS "Spaceball button press events",
10 RELEASE "Spaceball button release events",
11 ALL "All spaceball events"
12 }
13
14 DESC {
15 This class manages events generated by the spaceball, including
16 spaceball motion (\cSoMotion3Event\.), and spaceball button press
17 and release events (\cSoSpaceballButtonEvent\.).
18 }
19
20 METHOD "" SoXtSpaceball(SoXtSpaceball::Mask mask = SoXtSpaceball::ALL) {}
21 METHOD "CreateD" SoXtSpaceball(Display *d, SoXtSpaceball::Mask mask = SoXtSpaceball::ALL) {}
22 METHOD "" ~SoXtSpaceball() {
23 Constructor and destructor. Pass to the constructor an enumerated
24 value specifying which spaceball events are of interest. Only those
25 events will be reported to the callback routine registered on
26 each widget. The first constructor uses the X display which
27 was set in
28 \+\mSoXt::init()\..\.
29 \-\mSoXtInit()\..\.
30 }
31
32 METHOD setRotScaleFactor void setRotationScaleFactor(float f) {}
33 METHOD getRotScaleFactor float getRotationScaleFactor() const {
34 Set and get the rotation scale factor.
35 The scale factor is applied to the rotation value generated
36 by the spaceball device. The default rotation scale factor is .006.
37 }
38
39 METHOD setXlateScaleFactor void setTranslationScaleFactor(float f) {}
40 METHOD getXlateScaleFactor float getTranslationScaleFactor() const {
41 Set and get the translation scale factor.
42 The scale factor is applied to the translation value generated
43 by the spaceball device. The default translation scale factor is .006.
44 }
45
46 METHOD "" static SbBool exists() {}
47 METHOD existsD static SbBool exists(Display *d) {
48 This returns TRUE if the spaceball exists, either
49 on the X display which was set in
50 \+\mSoXt::init()\.,\.
51 \-\mSoXtInit()\.,\.
52 or on the passed display.
53 }
54
55 ALSO { SoXt, SoXtDevice, SoMotion3Event, SoSpaceballButtonEvent }