#include <TriSparse.h>
|
| TriSparse (pcl::PointCloud< pcl::PointNormal >::Ptr _body, MyMeshPtr _head) |
|
void | setParam (const double _THRESHOLD, const double _THETA, const double _LAMDA_MIN, const double _LAMDA_MAX, const double _ETA, bool _doubleCheck) |
|
void | setParam (const ParamItem &_param, bool _doubleCheck) |
|
void | printParam () |
|
void | setInput (pcl::PointCloud< pcl::PointNormal >::Ptr _body, MyMeshPtr _head) |
|
void | setA (Eigen::SparseMatrix< double > &_A) |
|
void | setB (Eigen::VectorXd &_B) |
|
void | updateHead (pcl::PointCloud< pcl::PointXYZ >::Ptr &head_cloud) |
|
double | getLAMDA (unsigned index) |
|
MyMesh & | getHead () |
|
pcl::PointCloud< pcl::PointNormal > & | getBody () |
|
std::unordered_map< unsigned, unsigned > & | getMap () |
|
bool | construct () |
|
bool | solve (Eigen::VectorXd &x) |
|
bool | solveToCloud (pcl::PointCloud< pcl::PointXYZ >::Ptr &cloud) |
|
| ~TriSparse () |
|
|
static bool | solveTriSparse (Eigen::SparseMatrix< double > &A, Eigen::VectorXd &B, Eigen::VectorXd &x) |
|
static void | confirmNearestNeighbor (pcl::PointCloud< pcl::PointNormal > &body, MyMesh &head_mesh, std::unordered_map< unsigned, unsigned > &maping, double threshold) |
|
static void | confirmNearestNeighbor (pcl::PointCloud< pcl::PointXYZ > &from, pcl::PointCloud< pcl::PointNormal > &to, std::unordered_map< unsigned, unsigned > &maping, double threshold) |
|
static void | findNearestNeighbor (pcl::PointCloud< pcl::PointNormal > &body, MyMesh &head, std::unordered_map< unsigned, unsigned > &maping, double threshold, bool doubleCheck) |
|
static void | findNearestNeighbor2 (pcl::PointCloud< pcl::PointXYZ > &body, pcl::PointCloud< pcl::PointXYZ > &head, std::unordered_map< unsigned, unsigned > &maping, double threshold, bool doubleCheck) |
|
static void | confirmNearestNeighbor2 (pcl::PointCloud< pcl::PointXYZ > &from, pcl::PointCloud< pcl::PointXYZ > &to, std::unordered_map< unsigned, unsigned > &maping, double threshold) |
|
static void | updateMesh (MyMesh &mesh, pcl::PointCloud< pcl::PointXYZ >::Ptr &cloud) |
|
◆ TriSparse()
Inshape::TriSparse::TriSparse |
( |
pcl::PointCloud< pcl::PointNormal >::Ptr |
_body, |
|
|
MyMeshPtr |
_head |
|
) |
| |
|
inline |
◆ ~TriSparse()
Inshape::TriSparse::~TriSparse |
( |
| ) |
|
|
inline |
◆ confirmNearestNeighbor() [1/2]
static void Inshape::TriSparse::confirmNearestNeighbor |
( |
pcl::PointCloud< pcl::PointNormal > & |
body, |
|
|
MyMesh & |
head_mesh, |
|
|
std::unordered_map< unsigned, unsigned > & |
maping, |
|
|
double |
threshold |
|
) |
| |
|
static |
◆ confirmNearestNeighbor() [2/2]
static void Inshape::TriSparse::confirmNearestNeighbor |
( |
pcl::PointCloud< pcl::PointXYZ > & |
from, |
|
|
pcl::PointCloud< pcl::PointNormal > & |
to, |
|
|
std::unordered_map< unsigned, unsigned > & |
maping, |
|
|
double |
threshold |
|
) |
| |
|
static |
◆ confirmNearestNeighbor2()
static void Inshape::TriSparse::confirmNearestNeighbor2 |
( |
pcl::PointCloud< pcl::PointXYZ > & |
from, |
|
|
pcl::PointCloud< pcl::PointXYZ > & |
to, |
|
|
std::unordered_map< unsigned, unsigned > & |
maping, |
|
|
double |
threshold |
|
) |
| |
|
static |
◆ construct()
bool Inshape::TriSparse::construct |
( |
| ) |
|
◆ findNearestNeighbor()
static void Inshape::TriSparse::findNearestNeighbor |
( |
pcl::PointCloud< pcl::PointNormal > & |
body, |
|
|
MyMesh & |
head, |
|
|
std::unordered_map< unsigned, unsigned > & |
maping, |
|
|
double |
threshold, |
|
|
bool |
doubleCheck |
|
) |
| |
|
static |
◆ findNearestNeighbor2()
static void Inshape::TriSparse::findNearestNeighbor2 |
( |
pcl::PointCloud< pcl::PointXYZ > & |
body, |
|
|
pcl::PointCloud< pcl::PointXYZ > & |
head, |
|
|
std::unordered_map< unsigned, unsigned > & |
maping, |
|
|
double |
threshold, |
|
|
bool |
doubleCheck |
|
) |
| |
|
static |
◆ getBody()
pcl::PointCloud<pcl::PointNormal>& Inshape::TriSparse::getBody |
( |
| ) |
|
|
inline |
◆ getHead()
MyMesh& Inshape::TriSparse::getHead |
( |
| ) |
|
|
inline |
◆ getLAMDA()
double Inshape::TriSparse::getLAMDA |
( |
unsigned |
index | ) |
|
◆ getMap()
std::unordered_map<unsigned, unsigned>& Inshape::TriSparse::getMap |
( |
| ) |
|
|
inline |
◆ printParam()
void Inshape::TriSparse::printParam |
( |
| ) |
|
◆ setA()
void Inshape::TriSparse::setA |
( |
Eigen::SparseMatrix< double > & |
_A | ) |
|
◆ setB()
void Inshape::TriSparse::setB |
( |
Eigen::VectorXd & |
_B | ) |
|
◆ setInput()
void Inshape::TriSparse::setInput |
( |
pcl::PointCloud< pcl::PointNormal >::Ptr |
_body, |
|
|
MyMeshPtr |
_head |
|
) |
| |
|
inline |
◆ setParam() [1/2]
void Inshape::TriSparse::setParam |
( |
const double |
_THRESHOLD, |
|
|
const double |
_THETA, |
|
|
const double |
_LAMDA_MIN, |
|
|
const double |
_LAMDA_MAX, |
|
|
const double |
_ETA, |
|
|
bool |
_doubleCheck |
|
) |
| |
◆ setParam() [2/2]
void Inshape::TriSparse::setParam |
( |
const ParamItem & |
_param, |
|
|
bool |
_doubleCheck |
|
) |
| |
◆ solve()
bool Inshape::TriSparse::solve |
( |
Eigen::VectorXd & |
x | ) |
|
◆ solveToCloud()
bool Inshape::TriSparse::solveToCloud |
( |
pcl::PointCloud< pcl::PointXYZ >::Ptr & |
cloud | ) |
|
◆ solveTriSparse()
static bool Inshape::TriSparse::solveTriSparse |
( |
Eigen::SparseMatrix< double > & |
A, |
|
|
Eigen::VectorXd & |
B, |
|
|
Eigen::VectorXd & |
x |
|
) |
| |
|
static |
◆ updateHead()
void Inshape::TriSparse::updateHead |
( |
pcl::PointCloud< pcl::PointXYZ >::Ptr & |
head_cloud | ) |
|
◆ updateMesh()
static void Inshape::TriSparse::updateMesh |
( |
MyMesh & |
mesh, |
|
|
pcl::PointCloud< pcl::PointXYZ >::Ptr & |
cloud |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: