| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

GiGaSetVisAttributes.h

Go to the documentation of this file.
00001 // $Id: GiGaSetVisAttributes.h,v 1.2 2007/01/12 15:48:35 ranjard Exp $
00002 #ifndef GIGAVISUI_GIGASETVISATTRIBUTES_H 
00003 #define GIGAVISUI_GIGASETVISATTRIBUTES_H 1
00004 
00005 // Include files
00006 // GiGa 
00007 #include "GiGa/GiGaToolBase.h"
00008 // VisSvc
00009 class IVisualizationSvc ;
00010 class ILVolume          ;
00011 class G4LogicalVolume   ;
00012 
00013 
00022 class GiGaSetVisAttributes : public GiGaToolBase 
00023 {
00024   // friend factory for instantiation 
00025   //  friend class GiGaFactory<GiGaSetVisAttributes>;  
00026 public:
00027   
00033   virtual StatusCode process ( const std::string& volume ) const ;
00034   
00042   virtual StatusCode   initialize  () ;
00043   
00051   virtual StatusCode   finalize    () ;
00052   
00053   //protected:
00054   
00063   GiGaSetVisAttributes
00064   ( const std::string& type   , 
00065     const std::string& name   , 
00066     const IInterface*  parent ) ; 
00067   
00069   virtual ~GiGaSetVisAttributes() ;
00070 
00071 protected:
00072   
00076   const ILVolume*  volume
00077   ( const std::string& address ) const ;
00078 
00083   StatusCode       setVisAttributes
00084   ( const ILVolume*    vol ) const ;
00085   
00089   G4LogicalVolume* g4volume         
00090   ( const std::string& adddress ) const ;
00091   
00092 protected:
00093   
00096   IVisualizationSvc* visSvc() const { return m_visSvc ; }
00097   
00098 private:
00099   
00100   std::string                      m_visSvcName ;
00101   IVisualizationSvc*               m_visSvc     ;
00102   
00103 };
00104 // ============================================================================
00105 
00106 // ============================================================================
00107 // The END
00108 // ============================================================================
00109 #endif // GIGAVISUI_GIGASETVISATTRIBUTES_H
00110 // ============================================================================
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:01:38 2011 for GiGaVisUI by doxygen 1.4.7