/* * NotAllAtomsInsideSphereAction.hpp * * Created on: Aug 9, 2010 * Author: heber */ #ifndef NOTALLATOMSINSIDESPHEREACTION_HPP_ #define NOTALLATOMSINSIDESPHEREACTION_HPP_ #include "Actions/Action.hpp" class Vector; void SelectionNotAllAtomsInsideSphere(); class SelectionNotAllAtomsInsideSphereAction : public Action { friend void SelectionNotAllAtomsInsideSphere(const Vector &position, const double radius); public: SelectionNotAllAtomsInsideSphereAction(); virtual ~SelectionNotAllAtomsInsideSphereAction(); bool canUndo(); bool shouldUndo(); virtual const std::string getName(); protected: virtual Dialog * fillDialog(Dialog *dialog); private: virtual Action::state_ptr performCall(); virtual Action::state_ptr performUndo(Action::state_ptr); virtual Action::state_ptr performRedo(Action::state_ptr); static const char NAME[]; }; #endif /* NOTALLATOMSINSIDESPHEREACTION_HPP_ */