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

SimpleHit.h

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/gismo/gismo/SimpleHit.h,v 1.3 2001/01/23 03:41:32 burnett Exp $
00002 
00003 #ifndef GLAST_SIMPLEHIT_H
00004 #define GLAST_SIMPLEHIT_H
00005 
00006 #include "geometry/Point.h"
00007 #include "gui/DisplayRep.h"
00008 
00010 class SimpleHit
00011 {
00012 public:
00014     SimpleHit() {};
00016     SimpleHit(Point pos) : m_pos(pos) {}
00017 
00019     Point operator() ()const;
00020 
00021     void printOn(std::ostream& os) const;
00023     void draw(gui::DisplayRep& v) const;
00024 protected:
00025     Point   m_pos;
00026 };
00027 
00028 // *************************************************************************
00029 // Inline functions:
00030 
00031 inline
00032 Point SimpleHit::operator() ()const {
00033     return m_pos;
00034 }
00035 
00036 
00037 #endif  // SIMPLEHIT_H

Generated at Wed Nov 21 12:20:26 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000