26#ifndef HEPVis_SoAlternateRepAction_h 
   27#define HEPVis_SoAlternateRepAction_h  
   30#include <Inventor/actions/SoAction.h> 
   32#include <Inventor/actions/SoSubAction.h> 
   34#define SoAlternateRepAction Geant4_SoAlternateRepAction 
   50#define SO_ALTERNATEREP_DO_ACTION(aAction) \ 
   51  if(aAction->isOfType(SoAlternateRepAction::getClassTypeId())) {\ 
   52    if(((SoAlternateRepAction*)aAction)->getGenerate()==TRUE) {\ 
   53      if(alternateRep.getValue()==NULL) {\ 
   54        generateAlternateRep();\ 
   55        SoNode* altRep = alternateRep.getValue();\ 
   56        if((altRep!=NULL) && altRep->isOfType(SoGroup::getClassTypeId()))\ 
   57          altRep->doAction(aAction);\ 
   60      SoNode* altRep = alternateRep.getValue();\ 
   61      if((altRep!=NULL) && altRep->isOfType(SoGroup::getClassTypeId()))\ 
   62        altRep->doAction(aAction);\ 
SO_ACTION_HEADER(SoAlternateRepAction)
static void nodeAction(SoAction *, SoNode *)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
void setGenerate(SbBool)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
virtual ~SoAlternateRepAction()
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
static void initClass(void)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
SbBool getGenerate() const
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//