Point Cloud Library (PCL)
1.11.1-dev
|
71 return (!
operator==(other));
152 assert(
"getPointIndex: undefined point index");
222 data_vector_arg.push_back(
data_);
231 return data_ < 0 ? 0 : 1;
300 data_vector_arg.insert(
int getPointIndex() const
Retrieve point index from container.
void addPointIndex(int data_arg)
Add point index to container memory.
void addPointIndex(const int &)
Empty addPointIndex implementation.
bool operator==(const OctreeContainerBase &other) const override
Equal comparison operator.
bool operator!=(const OctreeContainerBase &other) const
Inequal comparison operator.
virtual OctreeContainerPointIndex * deepCopy() const
Octree deep copy method.
int getPointIndex() const
Empty getPointIndex implementation as this leaf node does not store any point indices.
Octree container class that does store a single point index.
virtual OctreeContainerEmpty * deepCopy() const
Octree deep copy method.
OctreeContainerPointIndex()
Empty constructor.
std::vector< int > & getPointIndicesVector()
Retrieve reference to point indices vector.
void addPointIndex(int data_arg)
Add point index to container memory.
Octree container class that does store a vector of point indices.
virtual void reset()=0
Pure abstract reset leaf node implementation.
void getPointIndices(std::vector< int > &data_vector_arg) const
Retrieve point indices from container.
void reset() override
Reset leaf node.
void getPointIndices(std::vector< int > &) const
Empty getPointIndices implementation as this leaf node does not store any data.
bool operator==(const OctreeContainerBase &other) const override
Equal comparison operator.
int getPointIndex() const
Retrieve point index from container.
void getPointIndices(std::vector< int > &data_vector_arg) const
Retrieve point indices from container.
std::vector< int > leafDataTVector_
Leaf node DataT vector.
void addPointIndex(int)
Empty addPointIndex implementation.
std::size_t getSize() const override
Abstract get size of container (number of DataT objects)
std::size_t getSize() const override
Get size of container (number of DataT objects)
void reset() override
Reset leaf node memory to zero.
std::size_t getSize() const override
Get size of container (number of indices)
int data_
Point index stored in octree.
virtual std::size_t getSize() const
Pure abstract method to get size of container (number of indices)
virtual OctreeContainerPointIndices * deepCopy() const
Octree deep copy method.
void reset() override
Abstract reset leaf node implementation.
void getPointIndices(std::vector< int > &) const
Empty getPointIndices implementation as this leaf node does not store any data.
virtual ~OctreeContainerBase()=default
Octree container class that does not store any information.
void getPointIndex(int &) const
Empty getPointIndex implementation as this leaf node does not store any point indices.
virtual bool operator==(const OctreeContainerBase &) const
Equal comparison operator.
Octree container class that can serve as a base to construct own leaf node container classes.