The SmSwitchboard class is a group node that can toggle children on and off arbitrarily.
More...
#include <SmallChange/nodes/SmSwitchboard.h>
The SmSwitchboard class is a group node that can toggle children on and off arbitrarily.
FIXME: write doc
◆ SmSwitchboard() [1/2]
SmSwitchboard::SmSwitchboard |
( |
void |
| ) |
|
◆ SmSwitchboard() [2/2]
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.
◆ ~SmSwitchboard()
SmSwitchboard::~SmSwitchboard |
( |
void |
| ) |
|
|
protectedvirtual |
◆ callback()
void SmSwitchboard::callback |
( |
SoCallbackAction * |
action | ) |
|
|
virtual |
◆ doAction()
void SmSwitchboard::doAction |
( |
SoAction * |
action | ) |
|
|
virtual |
◆ getBoundingBox()
void SmSwitchboard::getBoundingBox |
( |
SoGetBoundingBoxAction * |
action | ) |
|
|
virtual |
◆ getMatrix()
void SmSwitchboard::getMatrix |
( |
SoGetMatrixAction * |
action | ) |
|
|
virtual |
◆ GLRender()
◆ handleEvent()
void SmSwitchboard::handleEvent |
( |
SoHandleEventAction * |
action | ) |
|
|
virtual |
◆ initClass()
void SmSwitchboard::initClass |
( |
void |
| ) |
|
|
static |
◆ pick()
void SmSwitchboard::pick |
( |
SoPickAction * |
action | ) |
|
|
virtual |
◆ search()
void SmSwitchboard::search |
( |
SoSearchAction * |
action | ) |
|
|
virtual |
◆ enable
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
.
The documentation for this class was generated from the following files:
- src/Gui/Inventor/SmSwitchboard.h
- src/Gui/Inventor/SmSwitchboard.cpp