PhotonMapBhvVisitor.h

Go to the documentation of this file.
00001 /* $Id:$ */
00002 
00003 #ifndef __PHOTON_MAP_BEHAVIOUR_VISITOR_H
00004 #define __PHOTON_MAP_BEHAVIOUR_VISITOR_H
00005 
00006 #include <esg/visitor/Visitor.h>
00007 #include <esg/PhotonMapBehaviour.h>
00008 
00009 namespace esg {
00010 
00011 class OGSCENE_EXPORT PhotonMapBhvVisitor : public Visitor {
00012 protected:
00013     PhotonMapBehaviour * _pBehaviour;
00014 
00015 public:
00016     PhotonMapBhvVisitor () : _pBehaviour(NULL) {}
00017 
00018     virtual void init () { _pBehaviour = NULL; }
00019 
00020     virtual void visitPhotonMapBehaviour(PhotonMapBehaviour* b) {
00021         _pBehaviour = b;
00022     }
00023 
00024     // inspection of results
00025     PhotonMapBehaviour* behaviour (void) const { return _pBehaviour; }
00026 };
00027     
00028 }; //namespace
00029 
00030 #endif // __PHOTON_MAP_BEHAVIOUR_VISITOR_H

Generated on Wed Jun 28 12:24:29 2006 for esg by  doxygen 1.4.6