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