Jafar
|
Mixer has nothing to do with the mathematician. More...
Mixer has nothing to do with the mathematician.
It permits [retouching] of an existing mesh i.e. adding vertices or updating existing from at least two images.
Two images are the minimum required number since we need at least 2 images to compute new vertices coordinates.
#include <mixer.hpp>
Public Types | |
typedef fdetect_v2::InterestFeature < fdetect_v2::FloatDescriptor > | Feature |
Public Member Functions | |
Mixer (JfrMesh &_mesh, camera::CameraType _type, const jblas::vec &_params, fdetect_v2::Detector< Feature > *_detector, gfm_v2::Matcher< Feature > *_matcher) | |
Full parameters constructor for a single camera. | |
Mixer (JfrMesh &_mesh, fdetect_v2::Detector< Feature > *_detector, gfm_v2::Matcher< Feature > *_matcher) | |
Full parameters constructor for multi cameras. | |
Mixer (JfrMesh &_mesh, camera::CameraType _type, const jblas::vec &_params) | |
Mixer (const std::string &ply_mesh_file, camera::CameraType _type, const jblas::vec &_params) | |
Mixer (JfrMesh &_mesh) | |
Mixer (const std::string &ply_mesh_file) | |
void | setDetector (fdetect_v2::Detector< Feature > *_detector) |
set the detector to _detector | |
void | setMatcher (gfm_v2::Matcher< Feature > *_matcher) |
set the matcher to _matcher | |
bool | update () |
If a mesh can be updated then. | |
Private Attributes | |
bool | is_updatable |
tells if a mesh needs to be updated | |
gfm_v2::MatchingResult< Feature > | current_result |
the current matching result | |
unsigned int | first_new_vertex_id |
the first new id for vertices and features | |
unsigned int | first_new_shot_id |
the first new id for poses, shots and detections | |
std::vector< unsigned int > | transient_vertices |
vcg::tri::FourPCS< JfrMesh > | icp |
JfrMesh | m_model |
jafar::modeler::Mixer::Mixer | ( | JfrMesh & | _mesh, |
camera::CameraType | _type, | ||
const jblas::vec & | _params, | ||
fdetect_v2::Detector< Feature > * | _detector, | ||
gfm_v2::Matcher< Feature > * | _matcher | ||
) | [inline] |
Full parameters constructor for a single camera.
_mesh | existing mesh to update |
_type | camera type |
_params | camera intrinsics |
_detector | detector that will process images to find interest features |
_matcher | interest feature matching engine |
Definition at line 53 of file mixer.hpp.
References JFR_POSTCOND.
jafar::modeler::Mixer::Mixer | ( | JfrMesh & | _mesh, |
fdetect_v2::Detector< Feature > * | _detector, | ||
gfm_v2::Matcher< Feature > * | _matcher | ||
) | [inline] |
Full parameters constructor for multi cameras.
_mesh | existing mesh to update |
_detector | detector that will process images to find interest features |
_matcher | interest feature matching engine |
Definition at line 68 of file mixer.hpp.
References JFR_POSTCOND.
jafar::modeler::Mixer::Mixer | ( | JfrMesh & | _mesh, |
camera::CameraType | _type, | ||
const jblas::vec & | _params | ||
) | [inline] |
_mesh | existing mesh to update |
_type | camera type |
_params | camera intrinsics |
Definition at line 82 of file mixer.hpp.
References JFR_POSTCOND.
jafar::modeler::Mixer::Mixer | ( | const std::string & | ply_mesh_file, |
camera::CameraType | _type, | ||
const jblas::vec & | _params | ||
) | [inline] |
ply_mesh_file | existing mesh to update saved in a ply file format |
_type | camera type |
_params | camera intrinsics |
Definition at line 94 of file mixer.hpp.
References jafar::modeler::ModelerException::FILE_READING_ERROR, JFR_ERROR, and JFR_POSTCOND.
jafar::modeler::Mixer::Mixer | ( | JfrMesh & | _mesh | ) | [inline] |
_mesh | existing mesh to update |
Definition at line 110 of file mixer.hpp.
References JFR_POSTCOND.
jafar::modeler::Mixer::Mixer | ( | const std::string & | ply_mesh_file | ) | [inline] |
ply_mesh_file | existing mesh to update saved in a ply file format |
Definition at line 120 of file mixer.hpp.
References jafar::modeler::ModelerException::FILE_READING_ERROR, JFR_ERROR, and JFR_POSTCOND.
bool jafar::modeler::Mixer::update | ( | ) |
If a mesh can be updated then.
Generated on Wed Oct 15 2014 00:37:43 for Jafar by doxygen 1.7.6.1 |