// marker.h // // Copyright (C) 2003, Chris Laurel // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. #ifndef CELENGINE_MARKER_H_ #define CELENGINE_MARKER_H_ #include #include #include #include #include class Marker { public: Marker(const Selection&); ~Marker(); UniversalCoord getPosition(double jd) const; Selection getObject() const; Color getColor() const; void setColor(Color); float getSize() const; void setSize(float); int getPriority() const; void setPriority(int); enum Symbol { Diamond = 0, Triangle = 1, Square = 2, FilledSquare = 3, Plus = 4, X = 5, LeftArrow = 6, RightArrow = 7, UpArrow = 8, DownArrow = 9, Circle = 10, Disk = 11 }; Symbol getSymbol() const; void setSymbol(Symbol); string getName() const; void setName(string); void render() const; private: Selection obj; float size; Color color; int priority; Symbol symbol; string name; }; typedef std::vector MarkerList; #endif // CELENGINE_MARKER_H_