#ifndef TOYDRAW_HPP #define TOYDRAW_HPP // // $Id: ToyDraw.hpp,v 1.4 2005/06/30 14:43:49 shfu Exp $ // // File: ToyDraw.hpp // Purpose: // Created: 01-JUN-1998 John Hobbs // // $Revision: 1.4 $ // // // Include files #include "silicon_geometry/base/SiBarrel.hpp" #include "silicon_geometry/material/SiBulkhead.hpp" #include "silicon_geometry/material/SiTrough.hpp" // Global class definitions //typedef McTrack ToyTrack; //class ToyCluster { //public: //}; //class ToyHit { //public: //}; // Global function definitions void draw_init(std::ostream& where); void draw_done(std::ostream &where); void draw_axis(std::ostream &where, dgs::CartesianCoordinate start, dgs::CartesianCoordinate stop); void draw_newpage(std::ostream &where, const double scale); void draw_endpage(std::ostream &where); void draw_setcolor(std::ostream &where, const double red, const double green, const double blue); void draw_setblack(std::ostream &where); void draw_arc(std::ostream& os, double xc, double yc, double r, double phimin, double phimax); void draw_box(std::ostream& os, double xc, double yc, double dx, double dy); void draw_circle(std::ostream& os, double xc, double yc, double r); bool draw_object(std::ostream& where, const SiBarrel& barrel, const int id=-1); bool draw_object(std::ostream& where, const SiBulkhead& bh, const int id=-1); bool draw_object(std::ostream& where, SiTrough& trough); // Constructors/Destructors // Accessors #endif //TOYDRAW_HPP