41 #include <pcl/console/print.h>
42 #include <pcl/types.h>
74 return (!
operator==(other));
110 assert(
"getPointIndex: undefined point index");
166 "[pcl::octree::OctreeContainerBase::getPointIndex] Undefined point index!\n");
203 return (this->
data_ == otherConDataT->data_);
234 if (
data_ != static_cast<index_t>(-1))
235 data_vector_arg.push_back(
data_);
279 const auto* otherConDataTVec =
313 data_vector_arg.insert(
index_t getPointIndex() const override
Retrieve point index from container.
virtual OctreeContainerPointIndex * deepCopy() const
Octree deep copy method.
Octree container class that can serve as a base to construct own leaf node container classes...
Octree container class that does store a single point index.
virtual OctreeContainerEmpty * deepCopy() const
Octree deep copy method.
virtual ~OctreeContainerBase()=default
uindex_t getSize() const override
Abstract get size of container (number of DataT objects)
detail::int_type_t< detail::index_type_size, detail::index_type_signed > index_t
Type used for an index in PCL.
void getPointIndices(Indices &) const override
Empty getPointIndices implementation as this leaf node does not store any data.
Indices & getPointIndicesVector()
Retrieve reference to point indices vector.
virtual void getPointIndices(Indices &) const
Empty getPointIndices implementation as this leaf node does not store any data.
void addPointIndex(index_t data_arg) override
Add point index to container memory.
OctreeContainerPointIndex()
Empty constructor.
void getPointIndex(index_t &) const
Empty getPointIndex implementation as this leaf node does not store any point indices.
virtual void reset()=0
Pure abstract reset leaf node implementation.
void reset() override
Reset leaf node.
virtual bool operator==(const OctreeContainerBase &) const
Equal comparison operator.
virtual index_t getPointIndex() const
Empty getPointIndex implementation as this leaf node does not store any point indices.
virtual OctreeContainerPointIndices * deepCopy() const
Octree deep copy method.
index_t getPointIndex() const override
Retrieve point index from container.
bool operator==(const OctreeContainerBase &other) const override
Equal comparison operator.
Octree container class that does store a vector of point indices.
index_t getPointIndex() const override
Empty getPointIndex implementation as this leaf node does not store any point indices.
void addPointIndex(index_t data_arg) override
Add point index to container memory.
void addPointIndex(index_t) override
Empty addPointIndex implementation.
index_t data_
Point index stored in octree.
IndicesAllocator<> Indices
Type used for indices in PCL.
void getPointIndices(Indices &data_vector_arg) const override
Retrieve point indices from container.
uindex_t getSize() const override
Get size of container (number of indices)
virtual void addPointIndex(index_t)
Empty addPointIndex implementation.
void getPointIndices(Indices &data_vector_arg) const override
Retrieve point indices from container.
Indices leafDataTVector_
Leaf node DataT vector.
void reset() override
Reset leaf node memory to zero.
void reset() override
Abstract reset leaf node implementation.
uindex_t getSize() const override
Get size of container (number of DataT objects)
detail::int_type_t< detail::index_type_size, false > uindex_t
Type used for an unsigned index in PCL.
bool operator!=(const OctreeContainerBase &other) const
Inequal comparison operator.
Octree container class that does not store any information.
virtual uindex_t getSize() const
Pure abstract method to get size of container (number of indices)
bool operator==(const OctreeContainerBase &other) const override
Equal comparison operator.