19 #ifndef OST_GFX_ENTITY_DETAIL_HH
20 #define OST_GFX_ENTITY_DETAIL_HH
25 #include <boost/shared_ptr.hpp>
40 namespace ost {
namespace gfx {
namespace impl {
46 atom(a),color(c),radius(r), vdwr(v) {}
60 bond(b),atom1(ae1),atom2(ae2),radius(r),
61 pp1(ae1 ? ae1->atom.GetPos() : geom::Vec3()),
62 pp2(ae2 ? ae2->atom.GetPos() : geom::Vec3())
116 position(0.0,0.0,0.0),
117 direction(0.0,0.0,1.0),
119 color1(1.0,1.0,1.0,1.0),
120 color2(1.0,1.0,1.0,1.0),
139 unsigned int t,
int i):
140 position(p),direction(d),normal(n),color1(c1),color2(c2),rad(r),type(t),
141 type1(t),type2(t),frac(0.0),running_length(0.0),v0(),v1(),v2(),nflip(false),id(i)