Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/InstanceBoard/QtObservedAtom.hpp

    r522c45 r897a01  
    136136  const Vector& getAtomPosition() const;
    137137
     138  /** Getter to atom velocity contained in \a ObservedValues.
     139   *
     140   * \return atom's velocity
     141   */
     142  const Vector& getAtomVelocity() const;
     143
     144  /** Getter to atom force contained in \a ObservedValues.
     145   *
     146   * \return atom's force
     147   */
     148  const Vector& getAtomForce() const;
     149
    138150  /** Getter to the observed state of the associated molecule.
    139151   *
     
    155167  void nameChanged();
    156168  void positionChanged();
     169  void velocityChanged();
     170  void forceChanged();
    157171  void atomRemoved();
    158172  void selectedChanged();
     
    174188  static std::string updateName(const atom &_atom);
    175189  static Vector updatePosition(const atom &_atom);
     190  static Vector updateVelocity(const atom &_atom);
     191  static Vector updateForce(const atom &_atom);
    176192  static bool updateSelected(const atom &_atom);
    177193
     
    188204    //!> contains the current atom position
    189205    AtomPosition,
     206    //!> contains the current atom velocity
     207    AtomVelocity,
     208    //!> contains the current atom force
     209    AtomForce,
    190210    //!> contains the current atom's selection status
    191211    AtomSelected,
     
    253273  //!> list of channels when position needs to update
    254274  static const Observable::channels_t AtomPositionChannels;
     275  //!> list of channels when velocity needs to update
     276  static const Observable::channels_t AtomVelocityChannels;
     277  //!> list of channels when force needs to update
     278  static const Observable::channels_t AtomForceChannels;
    255279  //!> list of channels when selection needs to update
    256280  static const Observable::channels_t AtomSelectedChannels;
Note: See TracChangeset for help on using the changeset viewer.