File indexing completed on 2025-04-19 09:10:03
0001 #ifndef DIRE__Tools__Color_H
0002 #define DIRE__Tools__Color_H
0003
0004 #include <iostream>
0005 #include <vector>
0006
0007 namespace DIRE {
0008
0009 struct Color {
0010 int m_i, m_j, m_n;
0011 double m_w;
0012 inline Color(const int i=-1,const int j=-1,
0013 const double &w=1.0,const int n=0):
0014 m_i(i), m_j(j), m_w(w), m_n(n) {}
0015 };
0016
0017 std::ostream &operator<<(std::ostream &s,const Color &c);
0018
0019 typedef std::vector<Color> Color_Vector;
0020
0021 }
0022
0023 #endif