SoXtSliderSetBase Class Reference
[Xt]

Abstract base class for Motif-only slider components. More...

#include <Inventor/Xt/SoXtSliderSetBase.h>

Inheritance diagram for SoXtSliderSetBase:
SoXtComponent SoXtSliderSet SoXtLightSliderSet SoXtMaterialSliderSet SoXtTransformSliderSet

List of all members.

Public Member Functions

virtual void setNode (SoNode *newNode)
SoNodegetNode () const
virtual void getLayoutSize (int &w, int &h)
virtual void show ()

Detailed Description

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.

SEE ALSO

SoXtComponent, SoXtSliderSet


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 17 Dec 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/