SoInteraction(3)
π SoInteraction(3) π
Library Functions Manual β¨ okay bestie, gather round, we're doing a SoInteraction(3) moment and it's literally gonna take like two minutes.
π NAME π
SoInteraction β the SoInteraction class takes care of initalizing internal classes. π«Ά
β¨ SYNOPSIS β¨
#include <Inventor/SoInteraction.h>
π Static Public Member Functions
static void init (void)
πΈ Detailed Description πΈ
The SoInteraction class takes care of initalizing internal classes. No cap.
So like, SoInteraction is literally just here to be the β¨interfaceβ¨ to the initialization methods of all the classes in Coin that are somehow related to user interaction β we're talking draggers and manipulators, the whole crew. π¦
ngl it is unlikely that you, the application programmer, should ever need to worry about this class at all, because SoInteraction::init() gets called for you by the GUI-specific initialization methods. So justβ¦ vibe. π
π Member Function Documentation π
π void SoInteraction::init (void ) [static]
This one calls the initClass() method of these classes, and yes we're listing all of them, every single one, no skipping, periodt:
SoAntiSquishSoSelectionSoExtSelectionSoSurroundScaleSoInteractionKitSoDraggerSoClipPlaneManipSoDirectionalLightManipSoPointLightManipSoSpotLightManipSoTransformManipSoCenterballManipSoHandleBoxManipSoJackManipSoTabBoxManipSoTrackballManipSoTransformBoxManipSoTransformerManip
That's eighteen classes bestie, she's thorough. π
Note that this method callsSoDB::init()andSoNodeKit::init()to make sure all classes that the interaction functionality depends on have been initialized. Iconic dependency management, honestly.
Application programmers should usually not have to invoke this method directly from application code, because it is indirectly called from the GUI-binding libraries' init()-functions. The only time you have to explicitly call SoInteraction::init() yourself is if you are using your own GUI-binding (and not one of Systems in Motion's SoQt, SoGtk, SoXt, SoWin, Sc21 etc. libraries). Main character energy only. π₯
int main(int argc, char ** argv )
{
// SoQt::init() calls SoDB::init(), SoNodeKit::init() and
// SoInteraction::init().
QWidget * window = SoQt::init( argv[0] );
SoSeparator * root = make_scenegraph();
root->ref();
References SoDB::init(), SoNodeKit::init(), SoBase::initClass(), SoDragger::initClass(), and SoDB::isInitialized(). π
π¦ Author π¦
Generated automatically by Doxygen for Coin from the source code. (not me writing a whole essay by hand, the robots did this one, slay π€β¨)
okay that's the whole page, ily, bye π
π This has been Coin, Version 2.5.0 β SoInteraction(3), signing off, muah π
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms