MEPP2 Project
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
RawCloud Class Reference

#include <cloud.h>

Collaboration diagram for RawCloud:
Collaboration graph

Public Member Functions

 RawCloud ()
 
int Read (std::string filepath)
 
void buildTree ()
 
Eigen::Matrix< float, Eigen::Dynamic, 3 > * getPC ()
 
flann::Index< flann::L2< float > > * getTree ()
 
float getResolution ()
 
void rescale ()
 

Public Attributes

Eigen::Matrix< float, Eigen::Dynamic, 3 > * pointcloud_
 

Private Member Functions

int ReadCSV (std::string filepath)
 
float getNearestNeighborDistance (Eigen::Vector3f pt)
 
void SearchFLANNTree (flann::Index< flann::L2< float >> *index, Eigen::Vector3f &input, std::vector< int > &indices, std::vector< float > &dists, int nn)
 

Private Attributes

FEVV::PMapsContainer pmaps_bag
 
flann::Index< flann::L2< float > > * tree_
 

Detailed Description

Definition at line 45 of file cloud.h.

Constructor & Destructor Documentation

◆ RawCloud()

RawCloud::RawCloud ( )
inline

Definition at line 47 of file cloud.h.

Member Function Documentation

◆ buildTree()

void RawCloud::buildTree ( )
inline

Definition at line 95 of file cloud.inl.

Here is the caller graph for this function:

◆ getNearestNeighborDistance()

float RawCloud::getNearestNeighborDistance ( Eigen::Vector3f  pt)
inlineprivate

Definition at line 138 of file cloud.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPC()

Eigen::Matrix<float, Eigen::Dynamic, 3>* RawCloud::getPC ( )
inline

Definition at line 50 of file cloud.h.

Here is the caller graph for this function:

◆ getResolution()

float RawCloud::getResolution ( )
inline

Definition at line 119 of file cloud.inl.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTree()

flann::Index<flann::L2<float> >* RawCloud::getTree ( )
inline

Definition at line 51 of file cloud.h.

Here is the caller graph for this function:

◆ Read()

int RawCloud::Read ( std::string  filepath)

◆ ReadCSV()

int RawCloud::ReadCSV ( std::string  filepath)
inlineprivate

Definition at line 32 of file cloud.inl.

◆ rescale()

void RawCloud::rescale ( )
inline

Definition at line 130 of file cloud.inl.

Here is the call graph for this function:

◆ SearchFLANNTree()

void RawCloud::SearchFLANNTree ( flann::Index< flann::L2< float >> *  index,
Eigen::Vector3f &  input,
std::vector< int > &  indices,
std::vector< float > &  dists,
int  nn 
)
inlineprivate

Definition at line 152 of file cloud.inl.

Here is the caller graph for this function:

Member Data Documentation

◆ pmaps_bag

FEVV::PMapsContainer RawCloud::pmaps_bag
private

Definition at line 59 of file cloud.h.

◆ pointcloud_

Eigen::Matrix<float, Eigen::Dynamic, 3>* RawCloud::pointcloud_

Definition at line 55 of file cloud.h.

◆ tree_

flann::Index<flann::L2<float> >* RawCloud::tree_
private

Definition at line 60 of file cloud.h.


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