The SoFCHighlightColorAction class is used to inform an SoFCSelection node which preselection color is used. More...
#include <SoFCSelectionAction.h>
Public Member Functions | |
SoFCHighlightColorAction (const SoSFColor &col) | |
~SoFCHighlightColorAction () | |
Static Public Member Functions | |
static void | finish (void) |
static void | initClass () |
The order of the defined SO_ACTION_ADD_METHOD statements is very important. | |
Public Attributes | |
const SoSFColor & | highlightColor |
Protected Member Functions | |
virtual void | beginTraversal (SoNode *node) |
The SoFCHighlightColorAction class is used to inform an SoFCSelection node which preselection color is used.
Definition at line 146 of file SoFCSelectionAction.h.
SoFCHighlightColorAction::SoFCHighlightColorAction | ( | const SoSFColor & | col | ) |
Definition at line 487 of file SoFCSelectionAction.cpp.
SoFCHighlightColorAction::~SoFCHighlightColorAction | ( | ) |
Definition at line 494 of file SoFCSelectionAction.cpp.
void SoFCHighlightColorAction::beginTraversal | ( | SoNode * | node | ) | [protected, virtual] |
Definition at line 499 of file SoFCSelectionAction.cpp.
void SoFCHighlightColorAction::finish | ( | void | ) | [static] |
Definition at line 481 of file SoFCSelectionAction.cpp.
void SoFCHighlightColorAction::initClass | ( | void | ) | [static] |
The order of the defined SO_ACTION_ADD_METHOD statements is very important.
First the base classes and afterwards subclasses of them must be listed, otherwise the registered methods of subclasses will be overridden. For more details see the thread in the Coin3d forum https://www.coin3d.org/pipermail/coin-discuss/2004-May/004346.html. This means that SoSwitch
must be listed after SoGroup
and SoFCSelection
after SoSeparator
because both classes inherits the others.
Definition at line 439 of file SoFCSelectionAction.cpp.
Referenced by Gui::SoFCDB::init().
const SoSFColor& Gui::SoFCHighlightColorAction::highlightColor |
Definition at line 154 of file SoFCSelectionAction.h.
Referenced by Gui::SoFCUnifiedSelection::doAction(), and Gui::SoFCSelection::doAction().