deleteCommand.h
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00040 
00041 #ifndef DELETE_COMMAND_H_
00042 #define DELETE_COMMAND_H_
00043 
00044 #include <pcl/apps/point_cloud_editor/command.h>
00045 #include <pcl/apps/point_cloud_editor/localTypes.h>
00046 #include <pcl/apps/point_cloud_editor/copyBuffer.h>
00047 #include <pcl/apps/point_cloud_editor/selection.h>
00048 
00049 class DeleteCommand : public Command
00050 {
00051   public:
00055     DeleteCommand (SelectionPtr selection_ptr, CloudPtr cloud_ptr);
00056    
00058     ~DeleteCommand ()
00059     {
00060     }
00061     
00062   protected:
00064     void 
00065     execute ();
00066     
00068     void 
00069     undo ();
00070 
00071   private:
00073     DeleteCommand ():  deleted_selection_(CloudPtr())
00074     {
00075       assert(false);
00076     }
00077     
00079     DeleteCommand (const DeleteCommand& c)
00080       : deleted_selection_(c.deleted_selection_)
00081     {
00082       assert(false);
00083     }
00084 
00086     DeleteCommand&
00087     operator= (const DeleteCommand&)
00088     {
00089       assert(false); return (*this);
00090     }
00091 
00093     CopyBuffer deleted_cloud_buffer_;
00094 
00097     Selection deleted_selection_;
00098 
00100     SelectionPtr selection_ptr_;
00101 
00103     CloudPtr cloud_ptr_;
00104 };
00105 
00106 #endif // DELETE_COMMAND_H_


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:23:21