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

BoxRep.h

Go to the documentation of this file.
00001 //  $Header: /nfs/slac/g/glast/ground/cvs/geomrep/geomrep/BoxRep.h,v 1.3 2001/01/23 01:40:11 burnett Exp $
00002 //   Author: Toby Burnett
00003 //  Project: Arve graphics 
00004 // 
00005 // Display of any Hexahedron by ArveScene
00006 
00007 #ifndef BOXREP_H
00008 #define BOXREP_H
00009 
00010 #include "gui/DisplayRep.h"
00011 class Hexahedron;
00012 class Shape;
00013 
00014 class BoxRep : public gui::DisplayRep {
00015     // Represent a Hexahedron with Arve graphics
00016 public:
00017     BoxRep(const Hexahedron& box) 
00018         : m_box(box){};
00019 
00020     BoxRep(const Shape& shape); 
00021     // special down-casting constructor
00022     
00023     virtual void update();
00024 
00025 private:
00026     const Hexahedron& m_box;
00027 
00028 };
00029 #endif //BOXREP_H

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