Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros
SoAlternateRepAction.h File Reference
#include <Inventor/actions/SoAction.h>
#include <Inventor/actions/SoSubAction.h>
Include dependency graph for SoAlternateRepAction.h:

Go to the source code of this file.

Classes

class  SoAlternateRepAction
 

Macros

#define SoAlternateRepAction   Geant4_SoAlternateRepAction
 
#define SO_ALTERNATEREP_DO_ACTION(aAction)
 

Macro Definition Documentation

#define SO_ALTERNATEREP_DO_ACTION (   aAction)
Value:
if(aAction->isOfType(SoAlternateRepAction::getClassTypeId())) {\
if(((SoAlternateRepAction*)aAction)->getGenerate()==TRUE) {\
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.

#define SoAlternateRepAction   Geant4_SoAlternateRepAction

Definition at line 34 of file SoAlternateRepAction.h.