ViennaLS
Loading...
Searching...
No Matches
viennals::PointCloud< T, D > Class Template Reference

Class describing a point cloud, which can be used to create geometries from its convex hull mesh. More...

#include <lsGeometries.hpp>

Public Member Functions

 PointCloud ()
 
 PointCloud (std::vector< hrleVectorType< T, D > > passedPoints)
 
 PointCloud (const std::vector< std::vector< T > > &passedPoints)
 
void insertNextPoint (hrleVectorType< T, D > newPoint)
 
void insertNextPoint (T *newPoint)
 
void insertNextPoint (const std::array< T, D > newPoint)
 
void insertNextPoint (const std::vector< T > &newPoint)
 
std::pair< typename std::vector< hrleVectorType< T, D > >::iterator, bool > insertNextUniquePoint (hrleVectorType< T, D > newPoint)
 
std::vector< hrleVectorType< T, D > >::iterator begin ()
 
std::vector< hrleVectorType< T, D > >::iterator end ()
 
std::size_t size ()
 
hrleVectorType< T, D > & operator[] (std::size_t i)
 

Public Attributes

std::vector< hrleVectorType< T, D > > points
 

Detailed Description

template<class T, int D>
class viennals::PointCloud< T, D >

Class describing a point cloud, which can be used to create geometries from its convex hull mesh.

Constructor & Destructor Documentation

◆ PointCloud() [1/3]

template<class T , int D>
viennals::PointCloud< T, D >::PointCloud ( )
inline

◆ PointCloud() [2/3]

template<class T , int D>
viennals::PointCloud< T, D >::PointCloud ( std::vector< hrleVectorType< T, D > > passedPoints)
inline

◆ PointCloud() [3/3]

template<class T , int D>
viennals::PointCloud< T, D >::PointCloud ( const std::vector< std::vector< T > > & passedPoints)
inline

Member Function Documentation

◆ begin()

template<class T , int D>
std::vector< hrleVectorType< T, D > >::iterator viennals::PointCloud< T, D >::begin ( )
inline

◆ end()

template<class T , int D>
std::vector< hrleVectorType< T, D > >::iterator viennals::PointCloud< T, D >::end ( )
inline

◆ insertNextPoint() [1/4]

template<class T , int D>
void viennals::PointCloud< T, D >::insertNextPoint ( const std::array< T, D > newPoint)
inline

◆ insertNextPoint() [2/4]

template<class T , int D>
void viennals::PointCloud< T, D >::insertNextPoint ( const std::vector< T > & newPoint)
inline

◆ insertNextPoint() [3/4]

template<class T , int D>
void viennals::PointCloud< T, D >::insertNextPoint ( hrleVectorType< T, D > newPoint)
inline

◆ insertNextPoint() [4/4]

template<class T , int D>
void viennals::PointCloud< T, D >::insertNextPoint ( T * newPoint)
inline

◆ insertNextUniquePoint()

template<class T , int D>
std::pair< typename std::vector< hrleVectorType< T, D > >::iterator, bool > viennals::PointCloud< T, D >::insertNextUniquePoint ( hrleVectorType< T, D > newPoint)
inline

◆ operator[]()

template<class T , int D>
hrleVectorType< T, D > & viennals::PointCloud< T, D >::operator[] ( std::size_t i)
inline

◆ size()

template<class T , int D>
std::size_t viennals::PointCloud< T, D >::size ( )
inline

Member Data Documentation

◆ points

template<class T , int D>
std::vector<hrleVectorType<T, D> > viennals::PointCloud< T, D >::points

The documentation for this class was generated from the following file: