3333
3434#include < iosfwd>
3535#include < Core/Datatypes/Datatype.h>
36+ #include < Core/Datatypes/Geometry.h>
37+ #include < Core/Algorithms/Base/Variable.h>
3638#include < Core/Datatypes/share.h>
3739
3840namespace SCIRun {
@@ -49,24 +51,24 @@ namespace Datatypes {
4951 ColorRGB (double r, double g, double b);
5052 ColorRGB (double r, double g, double b, double a);
5153 // adjust alpha while copying
52- ColorRGB (const ColorRGB& color, double a);
54+ // ColorRGB(const ColorRGB& color, double a);
5355
5456 // These equality operations should use floating point comparisons.
55- inline bool operator ==(const ColorRGB& c) const {
57+ bool operator ==(const ColorRGB& c) const {
5658 return ((r_==c.r_ )&&(g_==c.g_ )&&(b_==c.b_ )&&(a_==c.a_ ));
5759 }
5860
59- inline bool operator !=(const ColorRGB& c) const {
61+ bool operator !=(const ColorRGB& c) const {
6062 return !(*this == c);
6163 }
6264
6365 // / \todo Add normalization function to normalize 0 - 255 to 0 - 1.0.
6466 // / useful when reading colors from strings.
6567
66- inline double r () const {return r_;}
67- inline double g () const {return g_;}
68- inline double b () const {return b_;}
69- inline double a () const {return a_;}
68+ double r () const {return r_;}
69+ double g () const {return g_;}
70+ double b () const {return b_;}
71+ double a () const {return a_;}
7072
7173 std::string toString () const ;
7274 };
@@ -75,6 +77,11 @@ namespace Datatypes {
7577
7678 SCISHARE std::ostream& operator <<(std::ostream& out, const ColorRGB& color);
7779
80+ struct SCISHARE ViewSceneFeedback : ModuleFeedback
81+ {
82+ Algorithms::Variable info;
83+ };
84+
7885}}}
7986
8087
0 commit comments