Geant4_10
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;\
}
if(nlines<=0)
#define TRUE
Definition: globals.hh:55

Definition at line 50 of file SoAlternateRepAction.h.

#define SoAlternateRepAction   Geant4_SoAlternateRepAction

Definition at line 34 of file SoAlternateRepAction.h.