/* * ConvexEnvelopeAction.hpp * * Created on: May 12, 2010 * Author: heber */ #ifndef CONVEXENVELOPEACTION_HPP #define CONVEXENVELOPEACTION_HPP #include "Actions/Action.hpp" class TesselationListClass; void TesselationConvexEnvelope(std::string &filenameConvex, std::string &filenameNonConvex); class TesselationConvexEnvelopeAction : public Action { friend void TesselationConvexEnvelope(std::string &filenameConvex, std::string &filenameNonConvex); public: TesselationConvexEnvelopeAction(); virtual ~TesselationConvexEnvelopeAction(); 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 // CONVEXENVELOPEACTION_HPP