CAPD RedHom Library
|
#include <capd/persistence/PointCloud.h>
Public Types | |
typedef Metric::Scalar | Scalar |
typedef Metric::Distance | Distance |
typedef capd::vectalg::Vector< Scalar, DIM > | Point |
typedef std::vector< Point > | Points |
typedef boost::adjacency_list< boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::no_property, boost::no_property, boost::listS > | Graph |
typedef size_t | Id |
Public Member Functions | |
template<typename Iterator > | |
PointCloud (Iterator begin, Iterator end, Metric metric=Metric()) | |
virtual | ~PointCloud () |
void | setNeighbour (Id idxI, Id idxJ, double weight) |
size_t | size () const |
const Point & | operator[] (size_t idx) const |
void | neighbours (Id idxI, std::vector< Id > &result) const |
size_t | edges () |
Distance | distance (Id p1, Id p2) const |
virtual std::vector< Id > | neighbours (Id idxI) const |
Static Public Attributes | |
static const size_t | DIM = _DIM |
typedef Metric::Distance capd::persistence::PointCloud< Metric, _DIM >::Distance |
typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::no_property, boost::no_property, boost::listS> capd::persistence::PointCloud< Metric, _DIM >::Graph |
|
inherited |
typedef capd::vectalg::Vector<Scalar, DIM> capd::persistence::PointCloud< Metric, _DIM >::Point |
typedef std::vector<Point> capd::persistence::PointCloud< Metric, _DIM >::Points |
typedef Metric::Scalar capd::persistence::PointCloud< Metric, _DIM >::Scalar |
|
inline |
|
inlinevirtual |
|
virtual |
Implements capd::persistence::AbstractPointCloud.
|
virtual |
Implements capd::persistence::AbstractPointCloud.
|
inlinevirtualinherited |
|
virtual |
Implements capd::persistence::AbstractPointCloud.
|
inline |
void capd::persistence::PointCloud< ScalarT, _DIM >::setNeighbour | ( | Id | idxI, |
Id | idxJ, | ||
double | weight | ||
) |
|
inlinevirtual |
Implements capd::persistence::AbstractPointCloud.
|
static |