Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

boundaries.h

Go to the documentation of this file.
00001 // boundaries.h
00002 //
00003 // Copyright (C) 2002, Chris Laurel <claurel@shatters.net>
00004 //
00005 // This program is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU General Public License
00007 // as published by the Free Software Foundation; either version 2
00008 // of the License, or (at your option) any later version.
00009 
00010 #ifndef CELENGINE_BOUNDARIES_H_
00011 #define CELENGINE_BOUNDARIES_H_
00012 
00013 #include <string>
00014 #include <vector>
00015 #include <iostream>
00016 #include <celmath/vecmath.h>
00017 
00018 class ConstellationBoundaries
00019 {
00020  public:
00021     ConstellationBoundaries();
00022     ~ConstellationBoundaries();
00023 
00024     typedef std::vector<Point3f> Chain;
00025 
00026     void moveto(float ra, float dec);
00027     void lineto(float ra, float dec);
00028     void render();
00029 
00030  private:
00031     Chain* currentChain;
00032     std::vector<Chain*> chains;
00033 };
00034 
00035 ConstellationBoundaries* ReadBoundaries(std::istream&);
00036 
00037 #endif // CELENGINE_BOUNDARIES_H_

Generated on Sat Jan 14 22:30:26 2006 for Celestia by  doxygen 1.4.1