Point Cloud Library (PCL)
1.10.0
|
86 push (std::vector<T>& data) = 0;
106 template <
typename T>
122 push (std::vector<T>& data)
override;
126 std::vector<T> data_;
127 mutable std::mutex data_mutex_;
146 template <
typename T>
174 push (std::vector<T>& data)
override;
184 static int compare (T a, T b);
186 const unsigned char window_size_;
187 const unsigned char midpoint_;
191 std::vector<std::vector<T> > data_;
194 unsigned char data_current_idx_;
198 std::vector<std::vector<unsigned char> > data_argsort_indices_;
201 std::vector<unsigned char> data_invalid_count_;
203 mutable std::mutex data_mutex_;
222 template <
typename T>
250 push (std::vector<T>& data)
override;
254 const unsigned char window_size_;
258 std::vector<std::vector<T> > data_;
261 unsigned char data_current_idx_;
264 std::vector<T> data_sum_;
267 std::vector<unsigned char> data_invalid_count_;
269 mutable std::mutex data_mutex_;
279 #include <pcl/io/impl/buffers.hpp>
A simple buffer that only stores data.
This file defines compatibility wrappers for low level I/O functions.
T operator[](std::size_t idx) const override
Access an element at a given index.
An abstract base class for fixed-size data buffers.
std::size_t size() const
Get the size of the buffer.
SingleBuffer(std::size_t size)
Construct a buffer of given size.
AverageBuffer(std::size_t size, unsigned char window_size)
Construct a buffer of given size with given running window size.
void push(std::vector< T > &data) override
Insert a new chunk of data into the buffer.
A buffer that computes running window average of the data inserted.
virtual T operator[](std::size_t idx) const =0
Access an element at a given index.
T operator[](std::size_t idx) const override
Access an element at a given index.
virtual void push(std::vector< T > &data)=0
Insert a new chunk of data into the buffer.
void push(std::vector< T > &data) override
Insert a new chunk of data into the buffer.