logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoXtSliderSetBase — abstract base class for Motif-only slider components

Description

       This  class is used as a base class for all editors which use Motif sliders to edit fields in an 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.

Inherits From

       SoXtComponent > SoXtSliderSetBase

Methods

virtualvoidsetNode(SoNode*newNode)
          Sets a new node as the node to be modified by this editor component.

     SoNode*getNode()const
          Returns a pointer to the node currently being modified by this editor component.

Name

       SoXtSliderSetBase — abstract base class for Motif-only slider components

See Also

SoXtComponent,SoXtSliderSetSoXtSliderSetBase(3IV)()

Synopsis

#include<Inventor/Xt/SoXtSliderSetBase.h>

          Methods from class SoXtSliderSetBase:

     virtualvoidsetNode(SoNode*newNode)SoNode*getNode()const

          Methods from class SoXtComponent:

     virtualvoidshow()virtualvoidhide()SbBoolisVisible()WidgetgetWidget()constSbBoolisTopLevelShell()constWidgetgetShellWidget()constWidgetgetParentWidget()constvoidsetSize(constSbVec2s&size)SbVec2sgetSize()Display*getDisplay()voidsetTitle(constchar*newTitle)constchar*getTitle()constvoidsetIconTitle(constchar*newIconTitle)constchar*getIconTitle()constvoidsetWindowCloseCallback(SoXtComponentCB*func,void*data=NULL)staticSoXtComponent*getComponent(Widgetw)constchar*getWidgetName()constconstchar*getClassName()const

See Also