SOXTSLIDERSETBASE(3iv)

✨ SoXtSliderSetBase(3IV) ✨

okay bestie, welcome to SoXtSliderSetBase(3IV) β€” the manual page, but make it cute πŸ’…


🌸 NAME 🌸

SoXtSliderSetBase β€” abstract base class for Motif-only slider components

like... it's the blueprint, the blueprintiest blueprint. abstract, so you literally cannot instantiate her, she's an idea 🧚


πŸ¦‹ INHERITS FROM πŸ¦‹

SoXtComponent > SoXtSliderSetBase

she's a SoXtComponent girlie with extra layers, iykyk πŸ’œ


✨ SYNOPSIS ✨

#include <Inventor/Xt/SoXtSliderSetBase.h>

πŸŽ€ Methods from class SoXtSliderSetBase: πŸŽ€

virtual void        setNode(SoNode *newNode)
SoNode *            getNode() const

πŸŽ€ Methods from class SoXtComponent: πŸŽ€

virtual void            show()
virtual void            hide()
SbBool                  isVisible()
Widget                  getWidget() const
SbBool                  isTopLevelShell() const
Widget                  getShellWidget() const
Widget                  getParentWidget() const
void                    setSize(const SbVec2s &size)
SbVec2s                 getSize()
Display *               getDisplay()
void                    setTitle(const char *newTitle)
const char *            getTitle() const
void                    setIconTitle(const char *newIconTitle)
const char *            getIconTitle() const
void                    setWindowCloseCallback(SoXtComponentCB *func, void
                             *data = NULL)
static SoXtComponent *  getComponent(Widget w)
const char *            getWidgetName() const
const char *            getClassName() const

look at all those inherited blessings, she really said "generational wealth" πŸ’–


πŸ’– DESCRIPTION πŸ’–

okay so picture this: this class is the base class for every editor that uses Motif sliders to edit fields in an Inventor scene graph node. that's her whole job. that's the vibe. 🫢

IMPORTANT, no cap: this class is not meant to be instanced by programmers who just wanna use an editor in a program. like, do not. put it down. πŸ™ˆ it should only be used as a base class when you're designing new editors. it's giving "for internal use only," it's giving "not for you bestie."

SoXtSliderSetBase is derived from SoXtComponent, but she adds three whole concepts, periodt:

  1. there is a node to edit. one node. her node. ✨
  2. there are subcomponents. and the way that she works is: when an SoXtSliderSetBase is shown or hidden, so are her subcomponents. they move as a unit, they're a package deal πŸ’… (for example: an SoXtTransformSliderSet is composed of many subcomponents β€” she's a whole friend group)
  3. an SoXtSliderSetBase has a layout size, which is used to lay out the subcomponents. she's got structure, she's got a floor plan 🌈

🌟 METHODS 🌟

  • virtual void setNode(SoNode *newNode) β€” sets a new node as the node to be modified by this editor component. new node, new her, we love a glow-up πŸ‘‘
  • SoNode * getNode() const β€” returns a pointer to the node currently being modified by this editor component. who's she editing right now? this tells you. iconic πŸ’œ

πŸ”₯ SEE ALSO πŸ”₯

SoXtComponent, SoXtSliderSet

go read those next bestie, they're literally her family πŸ₯°


and that's the whole page!! shoutout to SoXtSliderSetBase(3IV) for being the source/version of this whole thing β€” and yes, the date slot is literally just empty in the footer, she left it blank on purpose, main character energy fr fr πŸŒΈπŸ’–βœ¨πŸ¦‹πŸ’