pasteCommand.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 
00042 #ifndef PASTE_COMMAND_H_
00043 #define PASTE_COMMAND_H_
00044 
00045 #include <pcl/apps/point_cloud_editor/command.h>
00046 #include <pcl/apps/point_cloud_editor/localTypes.h>
00047 
00048 class PasteCommand : public Command
00049 {
00050   public:
00055     PasteCommand (ConstCopyBufferPtr copy_buffer_ptr,
00056                   SelectionPtr selection_ptr, CloudPtr cloud_ptr);
00057     // comment that the selection is updated (also resets the matrix in cloud)
00058 
00060     ~PasteCommand ()
00061     {
00062     }
00063   
00064   protected:
00069     void
00070     execute ();
00071 
00073     void
00074     undo ();
00075 
00076   private:
00078     PasteCommand ()
00079     {
00080     }
00081     
00083     PasteCommand (const PasteCommand&)
00084     {
00085       assert(false);
00086     }
00087 
00089     PasteCommand&
00090     operator= (const PasteCommand&)
00091     {
00092       assert(false); return (*this);
00093     }
00094 
00098     unsigned int prev_cloud_size_;
00099 
00101     SelectionPtr selection_ptr_;
00102 
00104     CloudPtr cloud_ptr_;
00105 
00107     ConstCopyBufferPtr copy_buffer_ptr_;
00108 };
00109 #endif // PASTE_COMMAND_H_


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:27:52