Abstract base class for Motif-only slider components. More...
#include <Inventor/Xt/SoXtSliderSetBase.h>
Public Member Functions | |
virtual void | setNode (SoNode *newNode) |
SoNode * | getNode () const |
virtual void | getLayoutSize (int &w, int &h) |
virtual void | show () |
Abstract base class for Motif-only slider components.
This class is used as a base class for all editors which use Motif sliders to edit fields in an Open Inventor scene graph node. This class is not meant to be instanced by programmers who want to use an editor in a program. It should only be used as a base class when designing new editors.
SoXtSliderSetBase is derived from SoXtComponent, but adds three concepts. First, there is a node to edit. Second, there are subcomponents. When an SoXtSliderSetBase is shown or hidden, so are its subcomponents. (As an example, an SoXtTransformSliderSet is composed of many subcomponents). Third, an SoXtSliderSetBase has a layout size, which is used to lay out the subcomponents.
SoXtComponent, SoXtSliderSet
virtual void SoXtSliderSetBase::getLayoutSize | ( | int & | w, | |
int & | h | |||
) | [virtual] |
SoNode* SoXtSliderSetBase::getNode | ( | ) | const [inline] |
Returns a pointer to the node currently being modified by this editor component.
virtual void SoXtSliderSetBase::setNode | ( | SoNode * | newNode | ) | [virtual] |
Sets a new node as the node to be modified by this editor component.
virtual void SoXtSliderSetBase::show | ( | ) | [virtual] |
This shows the component.
Reimplemented from SoXtComponent.