| 1 |
NAME SoXtSliderSetBase SoXtSldrsBase "" { |
| 2 |
abstract base class for Motif-only slider components |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE Xt/SoXtSliderSetBase.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
This class is used as a base class for all editors which use Motif sliders |
| 9 |
to edit fields in an Inventor scene graph node. This class is not meant to |
| 10 |
be instanced by programmers who want to use an editor in a program. It |
| 11 |
should only be used as a base class when designing new editors. |
| 12 |
|
| 13 |
\p |
| 14 |
\cSoXtSliderSetBase\. |
| 15 |
is derived from |
| 16 |
\cSoXtComponent\., but adds three |
| 17 |
concepts. First, there is a node to edit. Second, there are subcomponents. |
| 18 |
When an \cSoXtSliderSetBase\. |
| 19 |
is shown or hidden, so are its |
| 20 |
subcomponents. (As an example, an |
| 21 |
\cSoXtTransformSliderSet\. |
| 22 |
is composed of many subcomponents). Third, an |
| 23 |
\cSoXtSliderSetBase\. |
| 24 |
has a layout size, which is used to lay out the subcomponents. |
| 25 |
} |
| 26 |
|
| 27 |
METHOD "" virtual void setNode(SoNode *newNode) |
| 28 |
{ |
| 29 |
Sets a new node as the node to be modified by this editor component. |
| 30 |
} |
| 31 |
|
| 32 |
METHOD "" SoNode * getNode() const { |
| 33 |
Returns a pointer to the node currently being modified by this editor component. |
| 34 |
} |
| 35 |
|
| 36 |
|
| 37 |
ALSO { SoXtComponent, SoXtSliderSet } |