cutCommand.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 CUT_COMMAND_H_
00042 #define CUT_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 CutCommand : public Command
00050 {
00051   public:
00056     CutCommand (CopyBufferPtr copy_buffer_ptr,
00057                 SelectionPtr selection_ptr,
00058                 CloudPtr cloud_ptr);
00059 
00061     ~CutCommand ();
00062 
00063   protected:
00068     void
00069     execute ();
00070 
00073     void
00074     undo ();
00075 
00076   private:
00078     CutCommand () : cut_selection_(CloudPtr())
00079     {
00080       assert(false);
00081     }
00082     
00084     CutCommand (const CutCommand&) : cut_selection_(CloudPtr())
00085     {
00086       assert(false);
00087     }
00088 
00090     CutCommand&
00091     operator= (const CutCommand&)
00092     {
00093       assert(false); return (*this);
00094     }
00095 
00097     CopyBuffer cut_cloud_buffer_;
00098 
00101     Selection cut_selection_;
00102 
00104     SelectionPtr selection_ptr_;
00105 
00107     CloudPtr cloud_ptr_;
00108 
00110     CopyBufferPtr copy_buffer_ptr_;
00111 
00112 };
00113 
00114 #endif // CUT_COMMAND_H_


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