Classes | Public Types | Public Member Functions | Public Attributes
vcg::tri::FourPCS< MeshType > Class Template Reference

#include <autoalign_4pcs.h>

List of all members.

Classes

struct  Candidate
class  Couple
struct  EPoint
struct  Param
class  PFace
class  PMesh
class  PUsedTypes
class  PVertex
struct  Stat

Public Types

typedef vcg::Box3< ScalarTypeBox3x
typedef MeshType::CoordType CoordType
typedef vcg::Point4
< vcg::Point3< ScalarType > > 
FourPoints
typedef vcg::GridStaticPtr
< typename PMesh::VertexType,
ScalarType
GridType
typedef vcg::Matrix44< ScalarTypeMatrix44x
typedef MeshType::ScalarType ScalarType
typedef MeshType::VertexIterator VertexIterator
typedef MeshType::VertexPointer VertexPointer
typedef MeshType::VertexType VertexType

Public Member Functions

bool Align (Matrix44x &result, vcg::CallBackPos *cb)
bool Align (int L, Matrix44x &result, vcg::CallBackPos *cb)
void ComputeR1 (std::vector< Couple > &R1)
void EvaluateAlignment (Candidate &fp)
int EvaluateSample (Candidate &fp, const CoordType &tp, const CoordType &np)
bool FindCongruent (const std::vector< Couple > &R1, const FourPoints &B, const ScalarType r1, const ScalarType r2)
void Init (MeshType &_movP, MeshType &_fixQ)
void IntersectionLineLine (const CoordType &x1, const CoordType &x2, const CoordType &x3, const CoordType &x4, CoordType &x)
bool IsTransfCongruent (const FourPoints &B, const FourPoints &fp, vcg::Matrix44< ScalarType > &mat)
bool SelectCoplanarBase (FourPoints &B, ScalarType &r1, ScalarType &r2)
void TestAlignment (Candidate &fp)

Public Attributes

std::vector< FourPointsbases
std::vector< VertexType * > ExtB [4]
PMesh Invr
int iwinner
MeshType * P
Param par
MeshType * Q
math::MarsenneTwisterRNG rnd
ScalarType side
Stat stat
 parameters
std::vector< VertexPointersubsetP
std::vector< VertexPointersubsetQ
std::vector< CandidateU
vcg::GridStaticPtr< typename
MeshType::VertexType,
ScalarType
ugridP
vcg::GridStaticPtr< typename
MeshType::VertexType,
ScalarType
ugridQ

Detailed Description

template<class MeshType>
class vcg::tri::FourPCS< MeshType >

Definition at line 44 of file autoalign_4pcs.h.


Member Typedef Documentation

template<class MeshType >
typedef vcg::Box3<ScalarType> vcg::tri::FourPCS< MeshType >::Box3x

Definition at line 60 of file autoalign_4pcs.h.

template<class MeshType >
typedef MeshType::CoordType vcg::tri::FourPCS< MeshType >::CoordType

Definition at line 58 of file autoalign_4pcs.h.

template<class MeshType >
typedef vcg::Point4< vcg::Point3<ScalarType> > vcg::tri::FourPCS< MeshType >::FourPoints

Definition at line 65 of file autoalign_4pcs.h.

template<class MeshType >
typedef vcg::GridStaticPtr<typename PMesh::VertexType, ScalarType > vcg::tri::FourPCS< MeshType >::GridType

Definition at line 66 of file autoalign_4pcs.h.

template<class MeshType >
typedef vcg::Matrix44<ScalarType> vcg::tri::FourPCS< MeshType >::Matrix44x

Definition at line 59 of file autoalign_4pcs.h.

template<class MeshType >
typedef MeshType::ScalarType vcg::tri::FourPCS< MeshType >::ScalarType

Definition at line 57 of file autoalign_4pcs.h.

template<class MeshType >
typedef MeshType::VertexIterator vcg::tri::FourPCS< MeshType >::VertexIterator

Definition at line 62 of file autoalign_4pcs.h.

template<class MeshType >
typedef MeshType::VertexPointer vcg::tri::FourPCS< MeshType >::VertexPointer

Definition at line 63 of file autoalign_4pcs.h.

template<class MeshType >
typedef MeshType::VertexType vcg::tri::FourPCS< MeshType >::VertexType

Definition at line 64 of file autoalign_4pcs.h.


Member Function Documentation

template<class MeshType >
bool vcg::tri::FourPCS< MeshType >::Align ( Matrix44x result,
vcg::CallBackPos cb 
) [inline]

Definition at line 484 of file autoalign_4pcs.h.

template<class MeshType >
bool vcg::tri::FourPCS< MeshType >::Align ( int  L,
Matrix44x result,
vcg::CallBackPos cb 
) [inline]

Definition at line 514 of file autoalign_4pcs.h.

template<class MeshType >
void vcg::tri::FourPCS< MeshType >::ComputeR1 ( std::vector< Couple > &  R1) [inline]

Compute the vector R1 of couple of points on FixQ at a given distance. Used by FindCongruent

Definition at line 319 of file autoalign_4pcs.h.

template<class MeshType >
void vcg::tri::FourPCS< MeshType >::EvaluateAlignment ( Candidate fp) [inline]

Definition at line 460 of file autoalign_4pcs.h.

template<class MeshType >
int vcg::tri::FourPCS< MeshType >::EvaluateSample ( Candidate fp,
const CoordType tp,
const CoordType np 
) [inline]

Definition at line 442 of file autoalign_4pcs.h.

template<class MeshType >
bool vcg::tri::FourPCS< MeshType >::FindCongruent ( const std::vector< Couple > &  R1,
const FourPoints B,
const ScalarType  r1,
const ScalarType  r2 
) [inline]

Definition at line 337 of file autoalign_4pcs.h.

template<class MeshType >
void vcg::tri::FourPCS< MeshType >::Init ( MeshType &  _movP,
MeshType &  _fixQ 
) [inline]

Definition at line 171 of file autoalign_4pcs.h.

template<class MeshType >
void vcg::tri::FourPCS< MeshType >::IntersectionLineLine ( const CoordType x1,
const CoordType x2,
const CoordType x3,
const CoordType x4,
CoordType x 
) [inline]

Definition at line 164 of file autoalign_4pcs.h.

template<class MeshType >
bool vcg::tri::FourPCS< MeshType >::IsTransfCongruent ( const FourPoints B,
const FourPoints fp,
vcg::Matrix44< ScalarType > &  mat 
) [inline]

Definition at line 293 of file autoalign_4pcs.h.

template<class MeshType >
bool vcg::tri::FourPCS< MeshType >::SelectCoplanarBase ( FourPoints B,
ScalarType r1,
ScalarType r2 
) [inline]

Definition at line 195 of file autoalign_4pcs.h.

template<class MeshType >
void vcg::tri::FourPCS< MeshType >::TestAlignment ( Candidate fp) [inline]

Definition at line 470 of file autoalign_4pcs.h.


Member Data Documentation

template<class MeshType >
std::vector<FourPoints> vcg::tri::FourPCS< MeshType >::bases

Definition at line 157 of file autoalign_4pcs.h.

template<class MeshType >
std::vector<VertexType*> vcg::tri::FourPCS< MeshType >::ExtB[4]

Definition at line 158 of file autoalign_4pcs.h.

template<class MeshType >
PMesh vcg::tri::FourPCS< MeshType >::Invr

Definition at line 154 of file autoalign_4pcs.h.

template<class MeshType >
int vcg::tri::FourPCS< MeshType >::iwinner

Definition at line 156 of file autoalign_4pcs.h.

template<class MeshType >
MeshType* vcg::tri::FourPCS< MeshType >::P

Definition at line 144 of file autoalign_4pcs.h.

template<class MeshType >
Param vcg::tri::FourPCS< MeshType >::par

Definition at line 141 of file autoalign_4pcs.h.

template<class MeshType >
MeshType* vcg::tri::FourPCS< MeshType >::Q

Definition at line 145 of file autoalign_4pcs.h.

template<class MeshType >
math::MarsenneTwisterRNG vcg::tri::FourPCS< MeshType >::rnd

Definition at line 147 of file autoalign_4pcs.h.

template<class MeshType >
ScalarType vcg::tri::FourPCS< MeshType >::side

Definition at line 152 of file autoalign_4pcs.h.

template<class MeshType >
Stat vcg::tri::FourPCS< MeshType >::stat

parameters

Definition at line 142 of file autoalign_4pcs.h.

template<class MeshType >
std::vector<VertexPointer> vcg::tri::FourPCS< MeshType >::subsetP

Definition at line 150 of file autoalign_4pcs.h.

template<class MeshType >
std::vector<VertexPointer> vcg::tri::FourPCS< MeshType >::subsetQ

Definition at line 149 of file autoalign_4pcs.h.

template<class MeshType >
std::vector< Candidate > vcg::tri::FourPCS< MeshType >::U

Definition at line 155 of file autoalign_4pcs.h.

template<class MeshType >
vcg::GridStaticPtr<typename MeshType::VertexType, ScalarType > vcg::tri::FourPCS< MeshType >::ugridP

Definition at line 161 of file autoalign_4pcs.h.

template<class MeshType >
vcg::GridStaticPtr<typename MeshType::VertexType, ScalarType > vcg::tri::FourPCS< MeshType >::ugridQ

Definition at line 160 of file autoalign_4pcs.h.


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


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:42:23