An Extended point cloud (with point duplication mechanism)
More...
#include <HyperCloud.h>
An Extended point cloud (with point duplication mechanism)
Implements the GenericIndexedCloud interface. A simple point cloud that stores its own point instances and distances in a vector.
◆ PointsContainer
◆ Ptr
◆ HyperCloud()
CCLib::HyperCloud::HyperCloud |
( |
| ) |
|
The PowerfulCloud constructor.
◆ ~HyperCloud()
virtual CCLib::HyperCloud::~HyperCloud |
( |
| ) |
|
|
virtual |
The PowerfulCloud destructor.
◆ addCloud()
◆ addPoint() [1/3]
virtual void CCLib::HyperCloud::addPoint |
( |
const CCVector3 & |
P | ) |
|
|
virtual |
Point insertion mechanism.
The point data will be duplicated in memory.
- Parameters
-
◆ addPoint() [2/3]
virtual void CCLib::HyperCloud::addPoint |
( |
const Eigen::Vector3d & |
p | ) |
|
|
virtual |
◆ addPoint() [3/3]
virtual void CCLib::HyperCloud::addPoint |
( |
const PointCoordinateType |
P[] | ) |
|
|
virtual |
Point insertion mechanism.
The point data will be duplicated in memory.
- Parameters
-
P | the point to insert (as a 3-size array) |
◆ applyTransformation()
virtual void CCLib::HyperCloud::applyTransformation |
( |
PointProjectionTools::Transformation & |
trans | ) |
|
|
virtual |
Applies a rigid transformation to the cloud.
WARNING: THIS METHOD IS NOT COMPATIBLE WITH PARALLEL STRATEGIES
- Parameters
-
trans | transformation (scale * rotation matrix + translation vector) |
◆ clear()
void CCLib::HyperCloud::clear |
( |
| ) |
|
◆ enableScalarField()
virtual bool CCLib::HyperCloud::enableScalarField |
( |
| ) |
|
|
virtual |
◆ forEach()
virtual void CCLib::HyperCloud::forEach |
( |
genericPointAction |
action | ) |
|
|
virtual |
◆ getBaryCenter()
Eigen::Vector3d CCLib::HyperCloud::getBaryCenter |
( |
| ) |
|
◆ getBoundingBox()
virtual void CCLib::HyperCloud::getBoundingBox |
( |
CCVector3 & |
bbMin, |
|
|
CCVector3 & |
bbMax |
|
) |
| |
|
virtual |
◆ getEigenVec()
virtual const Eigen::Vector3d CCLib::HyperCloud::getEigenVec |
( |
unsigned |
index | ) |
|
|
inlinevirtual |
◆ getNextPoint()
virtual const CCVector3* CCLib::HyperCloud::getNextPoint |
( |
| ) |
|
|
virtual |
◆ getOBB()
virtual std::vector<Eigen::Vector3d> CCLib::HyperCloud::getOBB |
( |
| ) |
|
|
virtual |
◆ getPoint() [1/2]
virtual const CCVector3* CCLib::HyperCloud::getPoint |
( |
unsigned |
index | ) |
|
|
inlinevirtual |
◆ getPoint() [2/2]
virtual void CCLib::HyperCloud::getPoint |
( |
unsigned |
index, |
|
|
CCVector3 & |
P |
|
) |
| const |
|
virtual |
◆ getPointPersistentPtr()
virtual const CCVector3* CCLib::HyperCloud::getPointPersistentPtr |
( |
unsigned |
index | ) |
|
|
virtual |
◆ getPointScalarValue()
virtual ScalarType CCLib::HyperCloud::getPointScalarValue |
( |
unsigned |
pointIndex | ) |
const |
|
virtual |
◆ getPointXYZ()
virtual const pcl::PointXYZ CCLib::HyperCloud::getPointXYZ |
( |
unsigned |
index | ) |
|
|
inlinevirtual |
◆ getScalarField() [1/2]
ScalarField* CCLib::HyperCloud::getScalarField |
( |
| ) |
|
|
inline |
Returns associated scalar field (if any)
◆ getScalarField() [2/2]
const ScalarField* CCLib::HyperCloud::getScalarField |
( |
| ) |
const |
|
inline |
Returns associated scalar field (if any) (const version)
◆ isScalarFieldEnabled()
virtual bool CCLib::HyperCloud::isScalarFieldEnabled |
( |
| ) |
const |
|
virtual |
◆ placeIteratorAtBeginning()
virtual void CCLib::HyperCloud::placeIteratorAtBeginning |
( |
| ) |
|
|
virtual |
◆ reserve()
virtual bool CCLib::HyperCloud::reserve |
( |
unsigned |
n | ) |
|
|
virtual |
Reserves some memory for hosting the points.
- Parameters
-
◆ resize()
virtual bool CCLib::HyperCloud::resize |
( |
unsigned |
n | ) |
|
|
virtual |
Presets the size of the vector used to store the points.
- Parameters
-
◆ setPointScalarValue()
virtual void CCLib::HyperCloud::setPointScalarValue |
( |
unsigned |
pointIndex, |
|
|
ScalarType |
value |
|
) |
| |
|
virtual |
◆ size()
virtual unsigned CCLib::HyperCloud::size |
( |
| ) |
const |
|
virtual |
◆ globalIterator
unsigned CCLib::HyperCloud::globalIterator |
|
protected |
Iterator on the points container.
◆ m_points
◆ m_scalarField
ScalarField* CCLib::HyperCloud::m_scalarField |
|
protected |
◆ m_validBB
bool CCLib::HyperCloud::m_validBB |
|
protected |
The documentation for this class was generated from the following file: