8 #ifndef IMPDISPLAY_DECLARE_GEOMETRY_H
9 #define IMPDISPLAY_DECLARE_GEOMETRY_H
11 #include <IMP/display/display_config.h>
17 IMPDISPLAY_BEGIN_NAMESPACE
35 virtual Color get_color()
const {
40 virtual bool get_has_color()
const {
return has_color_; }
41 void set_has_color(
bool tf) { has_color_ = tf; }
42 void set_color(
Color c) {
53 IMPDISPLAY_END_NAMESPACE
Helper macros for implementing IMP Objects.
Macros to help with reference counting.
The base class for geometry.
#define IMP_REF_COUNTED_DESTRUCTOR(Name)
Ref counted objects should have private destructors.
Common base class for heavy weight IMP objects.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
IMP::Vector< IMP::Pointer< Geometry > > Geometries
virtual Geometries get_components() const
Return a set of geometry composing this one.
A shared base class to help in debugging and things.
#define IMP_USAGE_CHECK(expr, message)
A runtime test for incorrect usage of a class or method.