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;}
188 #endif // BALL_VIEW_KERNEL_GEOMETIRCOBJECT_H
void setColor(const ColorRGBA &color)
#define BALL_CREATE(name)
void setColor(const ColorUnit &red, const ColorUnit &green, const ColorUnit &blue, const ColorUnit &alpha=(float) 1)
void getColor(ColorUnit &red, ColorUnit &green, ColorUnit &blue, ColorUnit &alpha) const
virtual void getVertices(std::vector< Vector3 > &) const
void setComposite(const Composite *composite)
virtual bool isValid() const
std::list< GeometricObject * > GeometricObjectList
BALL_EXPORT bool operator==(const String &s1, const String &s2)
const Composite * getComposite() const
const ColorRGBA & getColor() const
BALL_EXPORT bool operator<(const String &s1, const String &s2)