/** * \file particle_geometry.cpp * \brief XXXX. * * Copyright 2007-2013 IMP Inventors. All rights reserved. * */ #include "IMP/display/particle_geometry.h" IMPDISPLAY_BEGIN_NAMESPACE SingletonGeometry::SingletonGeometry(Particle *p): Geometry(p->get_name()+" geometry"), p_(p){ } SingletonsGeometry::SingletonsGeometry(SingletonContainer *pc): Geometry(pc->get_name()+" geometry"), sc_(pc){ } SingletonsGeometry::SingletonsGeometry(SingletonContainer *pc, Color c): Geometry(c, pc->get_name()+" geometry"), sc_(pc){ } PairGeometry::PairGeometry(const ParticlePair &p): Geometry(p.get_name()+" geometry"), p0_(p[0]), p1_(p[1]){ } PairsGeometry::PairsGeometry(PairContainer *pc): Geometry(pc->get_name()+" geometry"), sc_(pc){ } PairsGeometry::PairsGeometry(PairContainer *pc, Color c): Geometry(c, pc->get_name()+" geometry"), sc_(pc){ } IMPDISPLAY_END_NAMESPACE