00001 // $Heading: PointRep.h $ 00002 // Author: T. Burnett 00003 00004 #ifndef POINTREP_H 00005 #define POINTREP_H 00006 00007 #include "gui/DisplayRep.h" 00008 00009 class Hep3Vector; 00010 00011 class PointRep : public gui::DisplayRep 00012 // class that represents a single point in ArveGraphics 00013 { 00014 00015 public: 00016 PointRep(const Hep3Vector& t); 00017 // constructor: save reference to given point 00018 00019 virtual void update(); 00020 // create a representation of the point 00021 00022 private: 00023 const Hep3Vector & m_point; 00024 }; 00025 // Inlines 00026 inline PointRep::PointRep(const Hep3Vector& t):m_point(t){} 00027 00028 #endif // POINTREP_H 00029 00030
1.2.3 written by Dimitri van Heesch,
© 1997-2000