a buffer holding the points being copied and a set of operations for manipulating the buffer. More...
|Removes all the points from the copy buffer. |
|CopyBuffer (bool register_stats=false)|
|Default Constructor. |
|CopyBuffer (const CopyBuffer ©)|
|Copy Constructor. |
|bool||empty () const|
|Returns true if the buffer is empty, false otherwise. |
|const Cloud &||get () const|
|Returns the points stored in the internal buffer as a const Cloud. |
|Cloud &||get ()|
|Returns the points stored in the internal buffer as a Cloud. |
|std::string||getStat () const|
|Get the statistics of the copied points in string. |
|CopyBuffer &||operator= (const CopyBuffer ©_buffer)|
|Equal Operator. |
|void||set (ConstCloudPtr cloud_ptr, const Selection &selection)|
|Sets the points in the copy buffer. |
|a cloud object holding all the copied points. |
a buffer holding the points being copied and a set of operations for manipulating the buffer.
|CopyBuffer::CopyBuffer||(||bool||register_stats = ||)||
|bool CopyBuffer::empty||(||)|| const
Sets the points in the copy buffer.
The passed selection pointer is used to get specified points from the stored cloud pointer and copy them into the internal buffer. Any points that currently exist in this buffer are removed and replaced with those passed. Note that this buffer is cleared prior to any checking of the state of the passed parameters.
|cloud_ptr||a pointer to a cloud object whose points are to be copied|
|selection||a const reference to the selected points object|