/** * \file Voxel.cpp \brief Voxel decorator. * * Copyright 2007-2010 IMP Inventors. All rights reserved. * */ #include IMPEM_BEGIN_NAMESPACE void Voxel::show(std::ostream &out) const { algebra::VectorD<5> v; Particle *p=get_particle(); core::XYZR xyzr(p); v[0]=xyzr.get_x(); v[1]=xyzr.get_y(); v[2]=xyzr.get_z(); v[3]=xyzr.get_radius();//p->get_value(core::XYZR::get_radius_key()); v[4]=p->get_value(get_density_key()); out << "(" <