#include <Inventor/actions/SoAction.h>
#include <Inventor/actions/SoSubAction.h>
Go to the source code of this file.
#define SO_ALTERNATEREP_DO_ACTION |
( |
|
aAction) | |
|
Value:if(aAction->isOfType(SoAlternateRepAction::getClassTypeId())) {\
if(alternateRep.getValue()==NULL) {\
generateAlternateRep();\
SoNode* altRep = alternateRep.getValue();\
if((altRep!=NULL) && altRep->isOfType(SoGroup::getClassTypeId()))\
altRep->doAction(aAction);\
}\
} else {\
SoNode* altRep = alternateRep.getValue();\
if((altRep!=NULL) && altRep->isOfType(SoGroup::getClassTypeId()))\
altRep->doAction(aAction);\
clearAlternateRep();\
}\
return;\
}
Definition at line 50 of file SoAlternateRepAction.h.