19 #ifndef OST_CONNECTOR_IMPL_HH
20 #define OST_CONNECTOR_IMPL_HH
22 #include <boost/enable_shared_from_this.hpp>
33 namespace ost {
namespace mol {
namespace impl {
36 public boost::enable_shared_from_this<ConnectorImpl> {
78 unsigned char bond_order_;
Three dimensional vector class, using Real precision.
base class for the implementation
AtomImplPtr GetSecond() const
geom::Vec3 GetOriginalPos() const
geom::Vec3 GetPos() const
void SetDir(const geom::Vec3 &dir)
ConnectorImpl(const EntityImplPtr &e, const AtomImplPtr &first, const AtomImplPtr &second, Real l, Real t, Real p, unsigned char bond_order)
const geom::Mat3 & GetLocalRot() const
void SetBondOrder(unsigned char bo)
unsigned char GetBondOrder() const
geom::Vec3 GetDir() const
void Apply(EntityVisitor &v)
bool IsConnectorOf(const AtomImplPtr &a, const AtomImplPtr &b) const
AtomImplPtr GetFirst() const
void SetDirAndLength(const geom::Vec3 &dir)
boost::shared_ptr< AtomImpl > AtomImplPtr
boost::shared_ptr< EntityImpl > EntityImplPtr
boost::weak_ptr< AtomImpl > AtomImplW