8 #ifndef IMPDISPLAY_PARTICLE_GEOMETRY_H
9 #define IMPDISPLAY_PARTICLE_GEOMETRY_H
11 #include <IMP/display/display_config.h>
20 IMPDISPLAY_BEGIN_NAMESPACE
31 return Geometry::get_has_color() || Colored::get_is_setup(p_);
35 if (Geometry::get_has_color()) {
36 return Geometry::get_color();
42 Particle *get_particle()
const {
return p_; }
71 return Geometry::get_has_color() || Colored::get_is_setup(p0_) ||
72 Colored::get_is_setup(p1_);
76 if (Geometry::get_has_color()) {
77 return Geometry::get_color();
78 }
else if (Colored::get_is_setup(p0_))
79 return Colored(p0_).get_color();
81 return Colored(p1_).get_color();
106 IMPDISPLAY_END_NAMESPACE
A base class for geometry contained in particles.
A shared container for Pairs.
A decorator for a particle with a color.
A container for Singletons.
The base class for geometry.
A base class for geometry contained in particles.
A class to store an fixed array of same-typed values.
A base class for geometry from a set of particles.
macros for display classes
Implement geometry for the basic shapes from IMP.algebra.
A base class for geometry from a set of particles.
A smart pointer to a reference counted object.
A smart pointer to a ref-counted Object that is a class member.
A shared container for Singletons.
A nullptr-initialized pointer to an IMP Object.
Array< 2, WeakPointer< Particle >, Particle * > ParticlePair
Class to handle individual particles of a Model object.
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.