The SmSwitchboard class is a group node that can toggle children on and off arbitrarily. More...
#include <SmallChange/nodes/SmSwitchboard.h>
Public Member Functions | |
virtual void | callback (SoCallbackAction *action) |
virtual void | doAction (SoAction *action) |
virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
virtual void | getMatrix (SoGetMatrixAction *action) |
virtual void | GLRender (SoGLRenderAction *action) |
virtual void | handleEvent (SoHandleEventAction *action) |
virtual void | pick (SoPickAction *action) |
virtual void | search (SoSearchAction *action) |
SmSwitchboard () | |
SmSwitchboard (int numchildren) | |
Static Public Member Functions | |
static void | initClass () |
Public Attributes | |
SoMFBool | enable |
Protected Member Functions | |
virtual | ~SmSwitchboard () |
The SmSwitchboard class is a group node that can toggle children on and off arbitrarily.
FIXME: write doc
SmSwitchboard::SmSwitchboard | ( | ) |
Default constructor.
SmSwitchboard::SmSwitchboard | ( | int | numchildren | ) |
Constructor.
The argument should be the approximate number of children which is expected to be inserted below this node. The number need not be exact, as it is only used as a hint for better memory resource allocation.
|
protectedvirtual |
Destructor.
|
virtual |
References doAction().
Referenced by qtunittest.GUITestResult::addError(), Mod.Test.unittestgui.GUITestResult::addError(), qtunittest.GUITestResult::addFailure(), Mod.Test.unittestgui.GUITestResult::addFailure(), ArchStructure.StructSelectionObserver::addSelection(), PathScripts.PathCamoticsGui.CamoticsSimulation::execute(), qtunittest.GUITestResult::startTest(), Mod.Test.unittestgui.GUITestResult::startTest(), qtunittest.GUITestResult::stopTest(), and Mod.Test.unittestgui.GUITestResult::stopTest().
|
virtual |
Referenced by callback(), getBoundingBox(), getMatrix(), GLRender(), handleEvent(), pick(), and search().
|
virtual |
References doAction().
|
virtual |
References doAction().
|
virtual |
References doAction().
|
virtual |
References doAction().
|
static |
Referenced by Gui::SoFCDB::init().
|
virtual |
References doAction().
|
virtual |
References doAction().
Referenced by importIFClegacy.IfcDocument::find().
SoMFBool SmSwitchboard::enable |
Selects which child to traverse during rendering (and some other) actions.
When the length of this multifield is larger than the number of children this group has, the enable list is modulated over the children. This lets you have full control over the number of times and order each child is traversed.
Default enabled value is FALSE
.
Referenced by SketcherGui::EditModeGeometryCoinManager::processGeometry(), and SketcherGui::EditModeConstraintCoinManager::updateVirtualSpace().