00001 // $Header: /nfs/slac/g/glast/ground/cvs/geomrep/geomrep/TubeRep.h,v 1.3 2001/01/23 01:40:11 burnett Exp $ 00002 // Author: T. Burnett 00003 // Project: Arve graphics 00004 // 00005 // Representation of a Tube with ArveScene 00006 00007 #ifndef TUBEREP_H 00008 #define TUBEREP_H 00009 00010 #include "gui/DisplayRep.h" 00011 #include "geometry/Tube.h" 00012 00013 class Shape; 00014 00015 class TubeRep : public gui::DisplayRep { 00016 00017 public: 00018 TubeRep(const Tube& tube):m_tube(tube){}; 00019 00020 TubeRep(const Shape& shape); 00021 // special down-casting constructor 00022 00023 void update(); 00024 private: 00025 const Tube& m_tube; 00026 }; 00027 #endif //TUBEREP_H 00028
1.2.3 written by Dimitri van Heesch,
© 1997-2000