plastimatch
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Pointset< T > Class Template Reference

#include <pointset.h>

Public Member Functions

 SMART_POINTER_SUPPORT (Pointset)
 
 Pointset ()
 
 Pointset (const std::string &s)
 
 ~Pointset ()
 
void load (const std::string &s)
 
void load (const char *fn)
 
void load_txt (const char *fn)
 
void load_fcsv (const char *fn)
 
void save (const char *fn)
 
void save_fcsv (const char *fn)
 
void save_fcsv (const std::string &fn)
 
void save_txt (const char *fn)
 
void insert_ras (const std::string &p)
 
void insert_lps (const std::string &label, float x, float y, float z)
 
void insert_lps (const float *xyz)
 
void insert_lps (const std::string &label, const float *xyz)
 
void insert_ras (const std::string &label, float x, float y, float z)
 
void insert_ras (const float *xyz)
 
const Tpoint (int idx) const
 
float point (int idx, int dim) const
 
size_t get_count (void) const
 
void truncate (size_t new_length)
 
void debug () const
 

Public Attributes

std::vector< Tpoint_list
 

Constructor & Destructor Documentation

◆ Pointset() [1/2]

template<class T >
Pointset< T >::Pointset ( )

◆ Pointset() [2/2]

template<class T >
Pointset< T >::Pointset ( const std::string &  s)

◆ ~Pointset()

template<class T >
Pointset< T >::~Pointset ( )

Member Function Documentation

◆ debug()

template<class T >
void Pointset< T >::debug ( ) const

◆ get_count()

template<class T >
size_t Pointset< T >::get_count ( void  ) const

◆ insert_lps() [1/3]

template<class T >
void Pointset< T >::insert_lps ( const float xyz)

◆ insert_lps() [2/3]

template<class T >
void Pointset< T >::insert_lps ( const std::string &  label,
const float xyz 
)

◆ insert_lps() [3/3]

template<class T >
void Pointset< T >::insert_lps ( const std::string &  label,
float  x,
float  y,
float  z 
)

◆ insert_ras() [1/3]

template<class T >
void Pointset< T >::insert_ras ( const float xyz)

◆ insert_ras() [2/3]

template<class T >
void Pointset< T >::insert_ras ( const std::string &  label,
float  x,
float  y,
float  z 
)

◆ insert_ras() [3/3]

template<class T >
void Pointset< T >::insert_ras ( const std::string &  p)

◆ load() [1/2]

template<class T >
void Pointset< T >::load ( const char fn)

◆ load() [2/2]

template<class T >
void Pointset< T >::load ( const std::string &  s)

◆ load_fcsv()

template<class T >
void Pointset< T >::load_fcsv ( const char fn)

◆ load_txt()

template<class T >
void Pointset< T >::load_txt ( const char fn)

◆ point() [1/2]

template<class T >
const T & Pointset< T >::point ( int  idx) const
inline

◆ point() [2/2]

template<class T >
float Pointset< T >::point ( int  idx,
int  dim 
) const
inline

◆ save()

template<class T >
void Pointset< T >::save ( const char fn)

◆ save_fcsv() [1/2]

template<class T >
void Pointset< T >::save_fcsv ( const char fn)

◆ save_fcsv() [2/2]

template<class T >
void Pointset< T >::save_fcsv ( const std::string &  fn)

◆ save_txt()

template<class T >
void Pointset< T >::save_txt ( const char fn)

◆ SMART_POINTER_SUPPORT()

template<class T >
Pointset< T >::SMART_POINTER_SUPPORT ( Pointset< T )

◆ truncate()

template<class T >
void Pointset< T >::truncate ( size_t  new_length)

Member Data Documentation

◆ point_list

template<class T >
std::vector<T> Pointset< T >::point_list

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