39 #ifndef PCL_OCTREE_CONTAINER_H
40 #define PCL_OCTREE_CONTAINER_H
46 #include <pcl/pcl_macros.h>
89 return (!
operator== (other));
190 assert(
"getPointIndex: undefined point index");
273 data_vector_arg.push_back (
data_);
282 return data_<0 ? 0 : 1;
OctreeContainerPointIndex()
Empty constructor.
virtual ~OctreeContainerBase()
Empty deconstructor.
virtual size_t getSize()
Pure abstract method to get size of container (number of indices)
void addPointIndex(int)
Empty addPointIndex implementation.
int getPointIndex() const
Retrieve point index from container.
OctreeContainerBase()
Empty constructor.
OctreeContainerPointIndices()
Empty constructor.
virtual OctreeContainerPointIndex * deepCopy() const
Octree deep copy method.
void getPointIndices(std::vector< int > &data_vector_arg) const
Retrieve point indices from container.
void addPointIndex(int data_arg)
Add point index to container memory.
virtual OctreeContainerEmpty * deepCopy() const
Octree deep copy method.
virtual bool operator==(const OctreeContainerBase &other) const
Equal comparison operator.
void addPointIndex(const int &)
Empty addPointIndex implementation.
Octree container class that does store a vector of point indices.
virtual bool operator==(const OctreeContainerBase &) const
Equal comparison operator.
void getPointIndices(std::vector< int > &) const
Empty getPointIndices implementation as this leaf node does not store any data.
void getPointIndices(std::vector< int > &) const
Empty getPointIndices implementation as this leaf node does not store any data.
std::vector< int > & getPointIndicesVector()
Retrieve reference to point indices vector.
OctreeContainerBase(const OctreeContainerBase &)
Empty constructor.
virtual void reset()=0
Pure abstract reset leaf node implementation.
virtual void reset()
Reset leaf node memory to zero.
virtual void reset()
Reset leaf node.
OctreeContainerPointIndices(const OctreeContainerPointIndices &source)
Empty constructor.
void getPointIndices(std::vector< int > &data_vector_arg) const
Retrieve point indices from container.
size_t getSize() const
Get size of container (number of indices)
virtual size_t getSize() const
Abstract get size of container (number of DataT objects)
virtual ~OctreeContainerPointIndex()
Empty deconstructor.
virtual void reset()
Abstract reset leaf node implementation.
OctreeContainerEmpty(const OctreeContainerEmpty &)
Empty constructor.
void addPointIndex(int data_arg)
Add point index to container memory.
size_t getSize() const
Get size of container (number of DataT objects)
Octree container class that does store a single point index.
Octree container class that can serve as a base to construct own leaf node container classes...
virtual bool operator==(const OctreeContainerBase &other) const
Equal comparison operator.
std::vector< int > leafDataTVector_
Leaf node DataT vector.
OctreeContainerEmpty()
Empty constructor.
int getPointIndex() const
Retrieve point index from container.
Octree container class that does not store any information.
int data_
Point index stored in octree.
virtual ~OctreeContainerPointIndices()
Empty deconstructor.
virtual ~OctreeContainerEmpty()
Empty deconstructor.
bool operator!=(const OctreeContainerBase &other) const
Inequal comparison operator.
int getPointIndex() const
Empty getPointIndex implementation as this leaf node does not store any point indices.
virtual OctreeContainerPointIndices * deepCopy() const
Octree deep copy method.
void getPointIndex(int &) const
Empty getPointIndex implementation as this leaf node does not store any point indices.
OctreeContainerPointIndex(const OctreeContainerPointIndex &source)
Empty constructor.