Debian Codegraph @

doc/man/man3/ivm/draggers/SoScale1Dragger.ivm

raw
1 NAME SoScale1Dragger SoScale1Drag "" { object you can scale in one dimension by dragging with the mouse }
2
3 INCLUDE draggers/SoScale1Dragger.h
4
5 DESC { \cSoScale1Dragger\.
6 is a simple dragger that scales
7 in one dimension when dragged with the mouse.
8 It moves along the x axis of its local space, as determined by its
9 location in the scene graph.
10 Transformation nodes placed before it will
11 affect both the dragger and the direction of motion.
12 \p
13 This node has a \vscaleFactor\. field
14 which always reflects
15 its size in local space.
16 If you set the field, the dragger will change accordingly.
17 You can also connect fields of other nodes or engines from
18 this one
19 to make them follow the dragger's motion.
20 \p
21 This dragger contains four parts, \escaler\., \escalerActive\.,
22 \efeedback\., and \efeedbackActive\..
23 \p
24 Each of these is set by default from
25 a resource described in the Dragger Resources section of the online
26 reference page for this class. You
27 can change the parts in any instance of this dragger using
28 \m\+setPart()\.\-SoDraggerSetPart()\.\..
29 \p
30 You can make your program use different default resources for the parts
31 by copying the file
32 \v/usr/share/data/draggerDefaults/scale1Dragger.iv\.
33 into your own directory, editing the file, and then
34 setting the environment variable \vSO_DRAGGER_DIR\. to be a path to that directory.
35 }
36
37 METHOD "" SoScale1Dragger() {
38 Constructor.
39 }
40
41 METHOD getClassNkitCat static
42 const SoNodekitCatalog *getClassNodekitCatalog() const
43 { Returns an \cSoNodekitCatalog\. for this class }
44
45 METHOD "" static SoType getClassTypeId() {
46 Returns type identifier for this class.
47 }
48
49 FIELD scaleFactor { Scale factor affecting the dragger. }
50
51 DRAGGER_RESOURCE {
52 scale1Scaler,
53 scaler,
54 "white line, small cubes ends",
55 "picking this initiates scaling"
56 }
57
58 DRAGGER_RESOURCE {
59 scale1ScalerActive,
60 scalerActive,
61 "yellow version of scaler, adds wireframe yellow cube",
62 "displayed during scaling instead of the scaler"
63 }
64
65 DRAGGER_RESOURCE {
66 scale1Feedback,
67 feedback,
68 "thin purple 3-D crosshair",
69 "shows center of scale when still"
70 }
71
72 DRAGGER_RESOURCE {
73 scale1FeedbackActive,
74 feedbackActive,
75 "thin, slightly brighter purple 3-D crosshair",
76 "shows center of scale while in motion"
77 }
78
79 ALSO {
80 SoInteractionKit,
81 SoDragger,
82 SoCenterballDragger,
83 SoDirectionalLightDragger,
84 SoDragPointDragger,
85 SoHandleBoxDragger,
86 SoJackDragger,
87 SoPointLightDragger,
88 SoRotateCylindricalDragger,
89 SoRotateDiscDragger,
90 SoRotateSphericalDragger,
91 SoScale2Dragger,
92 SoScale2UniformDragger,
93 SoScaleUniformDragger,
94 SoSpotLightDragger,
95 SoTabBoxDragger,
96 SoTabPlaneDragger,
97 SoTrackballDragger,
98 SoTransformBoxDragger,
99 SoTransformerDragger,
100 SoTranslate1Dragger,
101 SoTranslate2Dragger
102 }
103