Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

GheishaData.h

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/gismo/src/gheisha/GheishaData.h,v 1.1 2000/09/01 20:20:24 burnett Exp $
00002 
00003 // Contents ----------------------------------------------------------------
00004 //
00005 //      class GheishaData
00006 //
00007 // Description
00008 //
00009 //      GheishaData encapsulates Gheisha's material properties.
00010 //
00011 // End --------------------------------------------------------------------
00012 
00013 #ifndef __GheishaDATA_H
00014 #define __GheishaDATA_H
00015 
00016 #include "gismo/MatData.h"
00017 
00018 class Material;
00019 
00020 #include <iostream>
00021 
00022 class GheishaData : public MatData
00023 {
00024  friend class GheishaInteractor;
00025  public:
00026    GheishaData(){};
00027    // default, null constructor
00028 
00029    void read(std::istream& in,  Material& mat);
00030    // read, from open stream
00031 
00032    MatData* copy()const {return new GheishaData();}
00033    // make a copy
00034 
00035  private:
00036    int hadMatIndex;
00037    // special index to correlate with Gheisha's materials
00038 
00039    static int hadMatCounter;
00040    // keeps track of how many
00041 };
00042 
00043 
00044 #endif
00045 

Generated at Mon Nov 26 18:18:32 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000