7 #ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
8 #define BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
10 #ifndef BALL_VIEW_DATATYPE_COLORRGBA_H
14 #ifndef BALL_MATHS_VECTOR3_H
18 #ifdef BALL_DATATYPE_HASHSET_H
101 { composite_ = composite;}
105 {
return composite_;}
128 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
139 { color_.set(red, green, blue, alpha);}
154 { color_.get(red, green, blue, alpha); }
161 {
return this == &object;}
166 {
return this < &object;}
#define BALL_CREATE(name)
BALL_EXPORT bool operator<(const String &s1, const String &s2)
BALL_EXPORT bool operator==(const String &s1, const String &s2)
std::list< GeometricObject * > GeometricObjectList
void setColor(const ColorUnit &red, const ColorUnit &green, const ColorUnit &blue, const ColorUnit &alpha=(float) 1)
virtual bool isValid() const
virtual void getVertices(std::vector< Vector3 > &) const
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
const ColorRGBA & getColor() const
const Composite * getComposite() const
void setColor(const ColorRGBA &color)
void getColor(ColorUnit &red, ColorUnit &green, ColorUnit &blue, ColorUnit &alpha) const
void getColors(HashSet< String > &colors)
Insert the colors of this object into the hashset.