Visual Servoing Platform  version 3.2.0
vpMbtXmlGenericParser Class Reference

#include <vpMbtXmlGenericParser.h>

+ Inheritance diagram for vpMbtXmlGenericParser:

Public Types

enum  vpParserType {
  EDGE_PARSER = 1 << 0, KLT_PARSER = 1 << 1, DEPTH_NORMAL_PARSER = 1 << 2, DEPTH_DENSE_PARSER = 1 << 3,
  PROJECTION_ERROR_PARSER = 0
}
 

Public Member Functions

Public Member Functions Inherited from vpXmlParser
void parse (const std::string &filename)
 
void save (const std::string &filename, const bool append=false)
 
void setMap (const std::map< std::string, int > &_map)
 
void setMainTag (const std::string &tag)
 

Static Public Member Functions

Static Public Member Functions Inherited from vpXmlParser
static void cleanup ()
 

Protected Types

enum  vpDataToParseMb {
  conf, face, angle_appear, angle_disappear,
  near_clipping, far_clipping, fov_clipping, camera,
  height, width, u0, v0,
  px, py, lod, use_lod,
  min_line_length_threshold, min_polygon_area_threshold, ecm, mask,
  size, nb_mask, range, tracking,
  contrast, edge_threshold, mu1, mu2,
  sample, step, klt, mask_border,
  max_features, window_size, quality, min_distance,
  harris, size_block, pyramid_lvl, depth_normal,
  feature_estimation_method, PCL_plane_estimation, PCL_plane_estimation_method, PCL_plane_estimation_ransac_max_iter,
  PCL_plane_estimation_ransac_threshold, depth_sampling_step, depth_sampling_step_X, depth_sampling_step_Y,
  depth_dense, depth_dense_sampling_step, depth_dense_sampling_step_X, depth_dense_sampling_step_Y,
  projection_error, projection_error_sample_step, projection_error_kernel_size
}
 

Protected Attributes

vpParserType m_parserType
 
vpCameraParameters m_cam
 
double m_angleAppear
 
double m_angleDisappear
 
bool m_hasNearClipping
 
double m_nearClipping
 
bool m_hasFarClipping
 
double m_farClipping
 
bool m_fovClipping
 
bool m_useLod
 
double m_minLineLengthThreshold
 
double m_minPolygonAreaThreshold
 
vpMe m_ecm
 
unsigned int m_kltMaskBorder
 
unsigned int m_kltMaxFeatures
 
unsigned int m_kltWinSize
 
double m_kltQualityValue
 
double m_kltMinDist
 
double m_kltHarrisParam
 
unsigned int m_kltBlockSize
 
unsigned int m_kltPyramidLevels
 
vpMbtFaceDepthNormal::vpFeatureEstimationType m_depthNormalFeatureEstimationMethod
 
int m_depthNormalPclPlaneEstimationMethod
 
int m_depthNormalPclPlaneEstimationRansacMaxIter
 
double m_depthNormalPclPlaneEstimationRansacThreshold
 
unsigned int m_depthNormalSamplingStepX
 
unsigned int m_depthNormalSamplingStepY
 
unsigned int m_depthDenseSamplingStepX
 
unsigned int m_depthDenseSamplingStepY
 
vpMe m_projectionErrorMe
 
unsigned int m_projectionErrorKernelSize
 

Protected Member Functions Inherited from vpXmlParser

std::map< std::string, int > nodeMap
 
std::string main_tag
 
bool xmlReadBoolChild (xmlDocPtr doc, xmlNodePtr node)
 
char * xmlReadCharChild (xmlDocPtr doc, xmlNodePtr node)
 
double xmlReadDoubleChild (xmlDocPtr doc, xmlNodePtr node)
 
float xmlReadFloatChild (xmlDocPtr doc, xmlNodePtr node)
 
int xmlReadIntChild (xmlDocPtr doc, xmlNodePtr node)
 
std::string xmlReadStringChild (xmlDocPtr doc, xmlNodePtr node)
 
unsigned int xmlReadUnsignedIntChild (xmlDocPtr doc, xmlNodePtr node)
 
void xmlWriteBoolChild (xmlNodePtr node, const char *label, const bool value)
 
void xmlWriteCharChild (xmlNodePtr node, const char *label, const char *value)
 
void xmlWriteDoubleChild (xmlNodePtr node, const char *label, const double value)
 
void xmlWriteFloatChild (xmlNodePtr node, const char *label, const float value)
 
void xmlWriteIntChild (xmlNodePtr node, const char *label, const int value)
 
void xmlWriteStringChild (xmlNodePtr node, const char *label, const std::string &value)
 
void xmlWriteUnsignedIntChild (xmlNodePtr node, const char *label, const unsigned int value)
 

Public Member Functions Inherited from vpMbtXmlGenericParser

 vpMbtXmlGenericParser (const vpParserType &type=EDGE_PARSER)
 
virtual ~vpMbtXmlGenericParser ()
 
double getAngleAppear () const
 
double getAngleDisappear () const
 
void getCameraParameters (vpCameraParameters &_cam) const
 
void getEdgeMe (vpMe &_ecm) const
 
unsigned int getDepthDenseSamplingStepX () const
 
unsigned int getDepthDenseSamplingStepY () const
 
vpMbtFaceDepthNormal::vpFeatureEstimationType getDepthNormalFeatureEstimationMethod () const
 
int getDepthNormalPclPlaneEstimationMethod () const
 
int getDepthNormalPclPlaneEstimationRansacMaxIter () const
 
double getDepthNormalPclPlaneEstimationRansacThreshold () const
 
unsigned int getDepthNormalSamplingStepX () const
 
unsigned int getDepthNormalSamplingStepY () const
 
double getFarClippingDistance () const
 
bool getFovClipping () const
 
unsigned int getKltBlockSize () const
 
double getKltHarrisParam () const
 
unsigned int getKltMaskBorder () const
 
unsigned int getKltMaxFeatures () const
 
double getKltMinDistance () const
 
unsigned int getKltPyramidLevels () const
 
double getKltQuality () const
 
unsigned int getKltWindowSize () const
 
bool getLodState () const
 
double getLodMinLineLengthThreshold () const
 
double getLodMinPolygonAreaThreshold () const
 
double getNearClippingDistance () const
 
void getProjectionErrorMe (vpMe &me) const
 
unsigned int getProjectionErrorKernelSize () const
 
bool hasFarClippingDistance () const
 
bool hasNearClippingDistance () const
 
virtual void readMainClass (xmlDocPtr doc, xmlNodePtr node)
 
void setAngleAppear (const double &aappear)
 
void setAngleDisappear (const double &adisappear)
 
void setCameraParameters (const vpCameraParameters &_cam)
 
void setDepthDenseSamplingStepX (const unsigned int stepX)
 
void setDepthDenseSamplingStepY (const unsigned int stepY)
 
void setDepthNormalFeatureEstimationMethod (const vpMbtFaceDepthNormal::vpFeatureEstimationType &method)
 
void setDepthNormalPclPlaneEstimationMethod (const int method)
 
void setDepthNormalPclPlaneEstimationRansacMaxIter (const int maxIter)
 
void setDepthNormalPclPlaneEstimationRansacThreshold (const double threshold)
 
void setDepthNormalSamplingStepX (const unsigned int stepX)
 
void setDepthNormalSamplingStepY (const unsigned int stepY)
 
void setEdgeMe (const vpMe &_ecm)
 
void setFarClippingDistance (const double &fclip)
 
void setKltBlockSize (const unsigned int &bs)
 
void setKltHarrisParam (const double &hp)
 
void setKltMaskBorder (const unsigned int &mb)
 
void setKltMaxFeatures (const unsigned int &mF)
 
void setKltMinDistance (const double &mD)
 
void setKltPyramidLevels (const unsigned int &pL)
 
void setKltQuality (const double &q)
 
void setKltWindowSize (const unsigned int &w)
 
void setNearClippingDistance (const double &nclip)
 
void setProjectionErrorMe (const vpMe &me)
 
void setProjectionErrorKernelSize (const unsigned int &size)
 
void writeMainClass (xmlNodePtr node)
 
void init ()
 
void read_camera (xmlDocPtr doc, xmlNodePtr node)
 
void read_face (xmlDocPtr doc, xmlNodePtr node)
 
void read_lod (xmlDocPtr doc, xmlNodePtr node)
 
void read_ecm (xmlDocPtr doc, xmlNodePtr node)
 
void read_ecm_sample (xmlDocPtr doc, xmlNodePtr node)
 
void read_sample_deprecated (xmlDocPtr doc, xmlNodePtr node)
 
void read_ecm_mask (xmlDocPtr doc, xmlNodePtr node)
 
void read_ecm_range (xmlDocPtr doc, xmlNodePtr node)
 
void read_ecm_contrast (xmlDocPtr doc, xmlNodePtr node)
 
void read_klt (xmlDocPtr doc, xmlNodePtr node)
 
void read_depth_normal (xmlDocPtr doc, xmlNodePtr node)
 
void read_depth_normal_PCL (xmlDocPtr doc, xmlNodePtr node)
 
void read_depth_normal_sampling_step (xmlDocPtr doc, xmlNodePtr node)
 
void read_depth_dense (xmlDocPtr doc, xmlNodePtr node)
 
void read_depth_dense_sampling_step (xmlDocPtr doc, xmlNodePtr node)
 
void read_projection_error (xmlDocPtr doc, xmlNodePtr node)
 

Detailed Description

Parse an Xml file to extract configuration parameters of a mbtConfig object.

Data parser for the model-based tracker.

Definition at line 63 of file vpMbtXmlGenericParser.h.

Member Enumeration Documentation

◆ vpDataToParseMb

Enumerator
conf 
face 
angle_appear 
angle_disappear 
near_clipping 
far_clipping 
fov_clipping 
camera 
height 
width 
u0 
v0 
px 
py 
lod 
use_lod 
min_line_length_threshold 
min_polygon_area_threshold 
ecm 
mask 
size 
nb_mask 
range 
tracking 
contrast 
edge_threshold 
mu1 
mu2 
sample 
step 
klt 
mask_border 
max_features 
window_size 
quality 
min_distance 
harris 
size_block 
pyramid_lvl 
depth_normal 
feature_estimation_method 
PCL_plane_estimation 
PCL_plane_estimation_method 
PCL_plane_estimation_ransac_max_iter 
PCL_plane_estimation_ransac_threshold 
depth_sampling_step 
depth_sampling_step_X 
depth_sampling_step_Y 
depth_dense 
depth_dense_sampling_step 
depth_dense_sampling_step_X 
depth_dense_sampling_step_Y 
projection_error 
projection_error_sample_step 
projection_error_kernel_size 

Definition at line 147 of file vpMbtXmlGenericParser.h.

◆ vpParserType

Enumerator
EDGE_PARSER 

Parser for model-based tracking using moving edges features.

KLT_PARSER 

Parser for model-based tracking using KLT features.

DEPTH_NORMAL_PARSER 

Parser for model-based tracking using depth normal features.

DEPTH_DENSE_PARSER 

Parser for model-based tracking using depth dense features.

PROJECTION_ERROR_PARSER 

Parser for projection error computation parameters.

Definition at line 66 of file vpMbtXmlGenericParser.h.

Constructor & Destructor Documentation

◆ vpMbtXmlGenericParser()

vpMbtXmlGenericParser::vpMbtXmlGenericParser ( const vpParserType type = EDGE_PARSER)
explicit

Definition at line 45 of file vpMbtXmlGenericParser.cpp.

References init().

◆ ~vpMbtXmlGenericParser()

vpMbtXmlGenericParser::~vpMbtXmlGenericParser ( )
virtual

Definition at line 71 of file vpMbtXmlGenericParser.cpp.

Member Function Documentation

◆ cleanup()

static void vpXmlParser::cleanup ( )
inlinestaticinherited

As stated in http://xmlsoft.org/html/libxml-parser.html#xmlCleanupParser to clean up memory allocated by the xml2 library itself, the user should call xmlCleanupParser() only when the process has finished using the xml2 library. In case of doubt abstain from calling this function or do it just before calling exit() to avoid leak reports from valgrind ! That's why in ViSP the destructor doesn't call xmlCleanupParser(). Rather we provide the static function vpXmlParser::cleanup() that calls xmlCleanupParser() that could be called just before exit().

Examples
mbtEdgeKltMultiTracking.cpp, mbtEdgeKltTracking.cpp, mbtEdgeMultiTracking.cpp, mbtEdgeTracking.cpp, mbtGenericTracking.cpp, mbtGenericTracking2.cpp, mbtGenericTrackingDepth.cpp, mbtGenericTrackingDepthOnly.cpp, mbtKltMultiTracking.cpp, mbtKltTracking.cpp, testGenericTracker.cpp, testGenericTrackerDepth.cpp, testXmlParser.cpp, tutorial-detection-object-mbt-deprecated.cpp, tutorial-detection-object-mbt.cpp, tutorial-detection-object-mbt2-deprecated.cpp, tutorial-detection-object-mbt2.cpp, tutorial-mb-edge-tracker.cpp, tutorial-mb-generic-tracker-full.cpp, tutorial-mb-hybrid-tracker.cpp, tutorial-mb-klt-tracker.cpp, and tutorial-mb-tracker-full.cpp.

Definition at line 309 of file vpXmlParser.h.

◆ getAngleAppear()

double vpMbtXmlGenericParser::getAngleAppear ( ) const
inline

Get the angle to determine if a face appeared.

Definition at line 222 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile(), and vpMbDepthNormalTracker::loadConfigFile().

◆ getAngleDisappear()

double vpMbtXmlGenericParser::getAngleDisappear ( ) const
inline

Get the angle to determine if a face disappeared.

Definition at line 227 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile(), and vpMbDepthNormalTracker::loadConfigFile().

◆ getCameraParameters()

void vpMbtXmlGenericParser::getCameraParameters ( vpCameraParameters _cam) const
inline

◆ getDepthDenseSamplingStepX()

unsigned int vpMbtXmlGenericParser::getDepthDenseSamplingStepX ( ) const
inline

Get depth dense sampling step in X.

Definition at line 239 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile().

◆ getDepthDenseSamplingStepY()

unsigned int vpMbtXmlGenericParser::getDepthDenseSamplingStepY ( ) const
inline

Get depth dense sampling step in Y.

Definition at line 244 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile().

◆ getDepthNormalFeatureEstimationMethod()

vpMbtFaceDepthNormal::vpFeatureEstimationType vpMbtXmlGenericParser::getDepthNormalFeatureEstimationMethod ( ) const
inline

Get depth normal feature estimation method.

Definition at line 249 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ getDepthNormalPclPlaneEstimationMethod()

int vpMbtXmlGenericParser::getDepthNormalPclPlaneEstimationMethod ( ) const
inline

Get depth normal PCL plane estimation method.

Definition at line 257 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ getDepthNormalPclPlaneEstimationRansacMaxIter()

int vpMbtXmlGenericParser::getDepthNormalPclPlaneEstimationRansacMaxIter ( ) const
inline

Get depth normal PCL maximum number of iterations.

Definition at line 262 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ getDepthNormalPclPlaneEstimationRansacThreshold()

double vpMbtXmlGenericParser::getDepthNormalPclPlaneEstimationRansacThreshold ( ) const
inline

Get depth normal PCL RANSAC threshold.

Definition at line 270 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ getDepthNormalSamplingStepX()

unsigned int vpMbtXmlGenericParser::getDepthNormalSamplingStepX ( ) const
inline

Get depth normal sampling step in X.

Definition at line 278 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ getDepthNormalSamplingStepY()

unsigned int vpMbtXmlGenericParser::getDepthNormalSamplingStepY ( ) const
inline

Get depth normal sampling step in Y.

Definition at line 283 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ getEdgeMe()

void vpMbtXmlGenericParser::getEdgeMe ( vpMe _ecm) const
inline

Get moving edge parameters.

Definition at line 234 of file vpMbtXmlGenericParser.h.

◆ getFarClippingDistance()

double vpMbtXmlGenericParser::getFarClippingDistance ( ) const
inline

Get the far clipping distance.

Definition at line 288 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile(), and vpMbDepthNormalTracker::loadConfigFile().

◆ getFovClipping()

bool vpMbtXmlGenericParser::getFovClipping ( ) const
inline

Get if FOV clipping should be used or not.

Definition at line 293 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile(), and vpMbDepthNormalTracker::loadConfigFile().

◆ getKltBlockSize()

unsigned int vpMbtXmlGenericParser::getKltBlockSize ( ) const
inline

Get the size of a block.

Definition at line 298 of file vpMbtXmlGenericParser.h.

◆ getKltHarrisParam()

double vpMbtXmlGenericParser::getKltHarrisParam ( ) const
inline

Get the Harris free parameter.

Definition at line 303 of file vpMbtXmlGenericParser.h.

◆ getKltMaskBorder()

unsigned int vpMbtXmlGenericParser::getKltMaskBorder ( ) const
inline

Get the Border of the mask.

Definition at line 308 of file vpMbtXmlGenericParser.h.

◆ getKltMaxFeatures()

unsigned int vpMbtXmlGenericParser::getKltMaxFeatures ( ) const
inline

Get the maximum number of features for the KLT.

Definition at line 313 of file vpMbtXmlGenericParser.h.

◆ getKltMinDistance()

double vpMbtXmlGenericParser::getKltMinDistance ( ) const
inline

Get the minimum distance between KLT points.

Definition at line 318 of file vpMbtXmlGenericParser.h.

◆ getKltPyramidLevels()

unsigned int vpMbtXmlGenericParser::getKltPyramidLevels ( ) const
inline

Get the number of pyramid levels

Definition at line 323 of file vpMbtXmlGenericParser.h.

◆ getKltQuality()

double vpMbtXmlGenericParser::getKltQuality ( ) const
inline

Get the quality of the KLT.

Definition at line 328 of file vpMbtXmlGenericParser.h.

◆ getKltWindowSize()

unsigned int vpMbtXmlGenericParser::getKltWindowSize ( ) const
inline

Get the size of the window used in the KLT tracker.

Definition at line 333 of file vpMbtXmlGenericParser.h.

◆ getLodMinLineLengthThreshold()

double vpMbtXmlGenericParser::getLodMinLineLengthThreshold ( ) const
inline

Get the minimum line length to track a segment when LOD is enabled.

Definition at line 343 of file vpMbtXmlGenericParser.h.

◆ getLodMinPolygonAreaThreshold()

double vpMbtXmlGenericParser::getLodMinPolygonAreaThreshold ( ) const
inline

Get the minimum polygon area to track a face when LOD is enabled.

Definition at line 348 of file vpMbtXmlGenericParser.h.

◆ getLodState()

bool vpMbtXmlGenericParser::getLodState ( ) const
inline

Get the state of LOD setting.

Definition at line 338 of file vpMbtXmlGenericParser.h.

◆ getNearClippingDistance()

double vpMbtXmlGenericParser::getNearClippingDistance ( ) const
inline

Get the near clipping distance.

Definition at line 353 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile(), and vpMbDepthNormalTracker::loadConfigFile().

◆ getProjectionErrorKernelSize()

unsigned int vpMbtXmlGenericParser::getProjectionErrorKernelSize ( ) const
inline

Definition at line 360 of file vpMbtXmlGenericParser.h.

Referenced by vpMbTracker::loadConfigFile().

◆ getProjectionErrorMe()

void vpMbtXmlGenericParser::getProjectionErrorMe ( vpMe me) const
inline

Get ME parameters for projection error computation.

Definition at line 358 of file vpMbtXmlGenericParser.h.

Referenced by vpMbTracker::loadConfigFile().

◆ hasFarClippingDistance()

bool vpMbtXmlGenericParser::hasFarClippingDistance ( ) const
inline

Has Far clipping been specified?

Returns
True if yes, False otherwise.

Definition at line 367 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile(), and vpMbDepthNormalTracker::loadConfigFile().

◆ hasNearClippingDistance()

bool vpMbtXmlGenericParser::hasNearClippingDistance ( ) const
inline

Has Near clipping been specified?

Returns
True if yes, False otherwise.

Definition at line 374 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile(), and vpMbDepthNormalTracker::loadConfigFile().

◆ init()

void vpMbtXmlGenericParser::init ( void  )
protected

Initialise internal variables (including the map).

Definition at line 76 of file vpMbtXmlGenericParser.cpp.

Referenced by vpMbtXmlGenericParser().

◆ parse()

void vpXmlParser::parse ( const std::string &  filename)
inherited

parse the document. The data in the file are stored in the attributes of the child class. This method calls the readMainClass method which has to be implemented for every child class depending on the content to parse.

Parameters
filename: name of the file to parse

Definition at line 420 of file vpXmlParser.cpp.

Referenced by vpMbDepthDenseTracker::loadConfigFile(), vpMbDepthNormalTracker::loadConfigFile(), and vpMbTracker::loadConfigFile().

◆ read_camera()

void vpMbtXmlGenericParser::read_camera ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read camera information.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node of the camera information.

Definition at line 321 of file vpMbtXmlGenericParser.cpp.

◆ read_depth_dense()

void vpMbtXmlGenericParser::read_depth_dense ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read depth dense information.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node of the ecm information.

Definition at line 569 of file vpMbtXmlGenericParser.cpp.

◆ read_depth_dense_sampling_step()

void vpMbtXmlGenericParser::read_depth_dense_sampling_step ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read depth dense sampling step.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node of the range information.

Definition at line 604 of file vpMbtXmlGenericParser.cpp.

◆ read_depth_normal()

void vpMbtXmlGenericParser::read_depth_normal ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read depth normal information.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node information.

Definition at line 397 of file vpMbtXmlGenericParser.cpp.

◆ read_depth_normal_PCL()

void vpMbtXmlGenericParser::read_depth_normal_PCL ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read depth normal PCL properties.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node information.

Definition at line 460 of file vpMbtXmlGenericParser.cpp.

◆ read_depth_normal_sampling_step()

void vpMbtXmlGenericParser::read_depth_normal_sampling_step ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read depth normal sampling step.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node information.

Definition at line 523 of file vpMbtXmlGenericParser.cpp.

◆ read_ecm()

void vpMbtXmlGenericParser::read_ecm ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read ecm information.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node of the ecm information.

Definition at line 650 of file vpMbtXmlGenericParser.cpp.

◆ read_ecm_contrast()

void vpMbtXmlGenericParser::read_ecm_contrast ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read the contrast information from the xml file.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node of the contrast information.

Definition at line 717 of file vpMbtXmlGenericParser.cpp.

◆ read_ecm_mask()

void vpMbtXmlGenericParser::read_ecm_mask ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read mask information for the vpMeSite.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node of the mask information.

Definition at line 783 of file vpMbtXmlGenericParser.cpp.

◆ read_ecm_range()

void vpMbtXmlGenericParser::read_ecm_range ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read range information for the vpMeSite.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node of the range information.

Definition at line 842 of file vpMbtXmlGenericParser.cpp.

◆ read_ecm_sample()

void vpMbtXmlGenericParser::read_ecm_sample ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read sample information.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node of the sample information.

Definition at line 882 of file vpMbtXmlGenericParser.cpp.

◆ read_face()

void vpMbtXmlGenericParser::read_face ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read face information.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node of the camera information.

Definition at line 922 of file vpMbtXmlGenericParser.cpp.

◆ read_klt()

void vpMbtXmlGenericParser::read_klt ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read klt information.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node of the camera information.

Definition at line 1006 of file vpMbtXmlGenericParser.cpp.

◆ read_lod()

void vpMbtXmlGenericParser::read_lod ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

◆ read_projection_error()

◆ read_sample_deprecated()

void vpMbtXmlGenericParser::read_sample_deprecated ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protected

Read sample information.

Exceptions
vpException::fatalErrorif there was an unexpected number of data.
Parameters
doc: Pointer to the document.
node: Pointer to the node of the sample information.

Definition at line 1230 of file vpMbtXmlGenericParser.cpp.

◆ readMainClass()

void vpMbtXmlGenericParser::readMainClass ( xmlDocPtr  doc,
xmlNodePtr  node 
)
virtual

Read the parameters of the class from the file given by its document pointer and by its root node.

Parameters
doc: Document to parse.
node: Root node.

Implements vpXmlParser.

Definition at line 163 of file vpMbtXmlGenericParser.cpp.

◆ save()

void vpXmlParser::save ( const std::string &  filename,
const bool  append = false 
)
inherited

Save the content of the class in the file given in parameters. The data of the class are in the child class. This method calls the write_main_class method which has to be implemented for every class depending on the data to save.

Parameters
filename: the name of the file used to record the data
append: if true and if the file exists, the data will be added to the data already in the file

Definition at line 452 of file vpXmlParser.cpp.

◆ setAngleAppear()

void vpMbtXmlGenericParser::setAngleAppear ( const double &  aappear)
inline

Set the angle to determine if a face appeared.

Parameters
aappear: New angleAppear

Definition at line 383 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile(), and vpMbDepthNormalTracker::loadConfigFile().

◆ setAngleDisappear()

void vpMbtXmlGenericParser::setAngleDisappear ( const double &  adisappear)
inline

Set the angle to determine if a face disappeared.

Parameters
adisappear: New angleDisappear

Definition at line 390 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile(), and vpMbDepthNormalTracker::loadConfigFile().

◆ setCameraParameters()

void vpMbtXmlGenericParser::setCameraParameters ( const vpCameraParameters _cam)
inline

Set camera parameters.

Parameters
_cam: New camera parameters

Definition at line 397 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile(), and vpMbDepthNormalTracker::loadConfigFile().

◆ setDepthDenseSamplingStepX()

void vpMbtXmlGenericParser::setDepthDenseSamplingStepX ( const unsigned int  stepX)
inline

Set depth dense sampling step in X.

Parameters
stepX: New sampling step

Definition at line 404 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile().

◆ setDepthDenseSamplingStepY()

void vpMbtXmlGenericParser::setDepthDenseSamplingStepY ( const unsigned int  stepY)
inline

Set depth dense sampling step in Y.

Parameters
stepY: New sampling step

Definition at line 411 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthDenseTracker::loadConfigFile().

◆ setDepthNormalFeatureEstimationMethod()

void vpMbtXmlGenericParser::setDepthNormalFeatureEstimationMethod ( const vpMbtFaceDepthNormal::vpFeatureEstimationType method)
inline

Set depth normal feature estimation method.

Parameters
method: New feature estimation method

Definition at line 418 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ setDepthNormalPclPlaneEstimationMethod()

void vpMbtXmlGenericParser::setDepthNormalPclPlaneEstimationMethod ( const int  method)
inline

Set depth normal PCL plane estimation method.

Parameters
method: New PCL plane estimation method

Definition at line 428 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ setDepthNormalPclPlaneEstimationRansacMaxIter()

void vpMbtXmlGenericParser::setDepthNormalPclPlaneEstimationRansacMaxIter ( const int  maxIter)
inline

Set depth normal PCL RANSAC maximum number of iterations.

Parameters
maxIter: New maximum number of iterations

Definition at line 438 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ setDepthNormalPclPlaneEstimationRansacThreshold()

void vpMbtXmlGenericParser::setDepthNormalPclPlaneEstimationRansacThreshold ( const double  threshold)
inline

Set depth normal PCL RANSAC threshold.

Parameters
threshold: New RANSAC threshold

Definition at line 448 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ setDepthNormalSamplingStepX()

void vpMbtXmlGenericParser::setDepthNormalSamplingStepX ( const unsigned int  stepX)
inline

Set depth normal sampling step in X.

Parameters
stepX: New sampling step

Definition at line 458 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ setDepthNormalSamplingStepY()

void vpMbtXmlGenericParser::setDepthNormalSamplingStepY ( const unsigned int  stepY)
inline

Set depth normal sampling step in Y.

Parameters
stepY: New sampling step

Definition at line 465 of file vpMbtXmlGenericParser.h.

Referenced by vpMbDepthNormalTracker::loadConfigFile().

◆ setEdgeMe()

void vpMbtXmlGenericParser::setEdgeMe ( const vpMe _ecm)
inline

Set moving edge parameters.

Parameters
_ecm: New moving edge parameters

Definition at line 472 of file vpMbtXmlGenericParser.h.

◆ setFarClippingDistance()

void vpMbtXmlGenericParser::setFarClippingDistance ( const double &  fclip)
inline

Set the far clipping distance.

Parameters
fclip: New farClipping

Definition at line 479 of file vpMbtXmlGenericParser.h.

◆ setKltBlockSize()

void vpMbtXmlGenericParser::setKltBlockSize ( const unsigned int &  bs)
inline

Set the size of a block.

Parameters
bs: New blockSize

Definition at line 486 of file vpMbtXmlGenericParser.h.

◆ setKltHarrisParam()

void vpMbtXmlGenericParser::setKltHarrisParam ( const double &  hp)
inline

Set the Harris free parameter.

Parameters
hp: New harrisParam

Definition at line 493 of file vpMbtXmlGenericParser.h.

◆ setKltMaskBorder()

void vpMbtXmlGenericParser::setKltMaskBorder ( const unsigned int &  mb)
inline

Set the Border of the mask.

Parameters
mb= new maskBorder

Definition at line 500 of file vpMbtXmlGenericParser.h.

◆ setKltMaxFeatures()

void vpMbtXmlGenericParser::setKltMaxFeatures ( const unsigned int &  mF)
inline

Set the maximum number of features for the KLT.

Parameters
mF: New maxFeatures

Definition at line 507 of file vpMbtXmlGenericParser.h.

◆ setKltMinDistance()

void vpMbtXmlGenericParser::setKltMinDistance ( const double &  mD)
inline

Set the minimum distance between KLT points.

Parameters
mD: New minDist

Definition at line 514 of file vpMbtXmlGenericParser.h.

◆ setKltPyramidLevels()

void vpMbtXmlGenericParser::setKltPyramidLevels ( const unsigned int &  pL)
inline

Set the number of pyramid levels

Parameters
pL: New pyramidLevels

Definition at line 521 of file vpMbtXmlGenericParser.h.

◆ setKltQuality()

void vpMbtXmlGenericParser::setKltQuality ( const double &  q)
inline

Set the quality of the KLT.

Parameters
q: New quality

Definition at line 528 of file vpMbtXmlGenericParser.h.

◆ setKltWindowSize()

void vpMbtXmlGenericParser::setKltWindowSize ( const unsigned int &  w)
inline

Set the size of the window used in the KLT tracker.

Parameters
w: New winSize

Definition at line 535 of file vpMbtXmlGenericParser.h.

◆ setMainTag()

void vpXmlParser::setMainTag ( const std::string &  tag)
inlineinherited

set the name of the main tag

The main tag corresponds to the name of the root node

Parameters
tag: name of the root node of the document

Definition at line 294 of file vpXmlParser.h.

◆ setMap()

void vpXmlParser::setMap ( const std::map< std::string, int > &  _map)
inlineinherited

Set the map describing the data to parse. This map stores the name of each node and an associated key used to simplify the parsing of the file.

If the following file want to be parsed:

<config>
<range>5</range>
<step>7</step>
<size_filter>3</size_filter>
</config>

The following map has to be declared:

std::map dataToParse;
dataToParse["config"] = 0;
dataToParse["range"] = 1;
dataToParse["step"] = 2;
dataToParse["size_filter"] = 3;

Or, you can use keyzord instead of number as key but it implies to declare in the child class an enumeration type of the name. For example:

typedef enum{
config,
size_filter} data_enum;
std::map dataToParse;
dataToParse["config"] = config;
dataToParse["range"] = range;
dataToParse["step"] = step;
dataToParse["size_filter"] = size_filter;
Parameters
_map: the map describing the data to parse

Definition at line 285 of file vpXmlParser.h.

◆ setNearClippingDistance()

void vpMbtXmlGenericParser::setNearClippingDistance ( const double &  nclip)
inline

Set the near clipping distance.

Parameters
nclip: New nearClipping

Definition at line 542 of file vpMbtXmlGenericParser.h.

◆ setProjectionErrorKernelSize()

void vpMbtXmlGenericParser::setProjectionErrorKernelSize ( const unsigned int &  size)
inline

Set kernel size used for projection error computation.

Parameters
size: Kernel size computed as kernel_size = size*2 + 1

Definition at line 556 of file vpMbtXmlGenericParser.h.

Referenced by vpMbTracker::loadConfigFile().

◆ setProjectionErrorMe()

void vpMbtXmlGenericParser::setProjectionErrorMe ( const vpMe me)
inline

Set ME parameters for projection error computation.

Parameters
me: ME parameters

Definition at line 549 of file vpMbtXmlGenericParser.h.

Referenced by vpMbTracker::loadConfigFile().

◆ writeMainClass()

void vpMbtXmlGenericParser::writeMainClass ( xmlNodePtr  node)
virtual

Write info to file.

Warning
Useless, so not yet implemented => Throw exception.

Implements vpXmlParser.

Definition at line 151 of file vpMbtXmlGenericParser.cpp.

◆ xmlReadBoolChild()

bool vpXmlParser::xmlReadBoolChild ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protectedinherited

read a boolean

Warning
throw a vpException::ioError if the value cannot be parsed to a bool
Parameters
doc: The main xml document
node: a pointer to the node to read value
Returns
the bool value in the node

Definition at line 281 of file vpXmlParser.cpp.

◆ xmlReadCharChild()

char * vpXmlParser::xmlReadCharChild ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protectedinherited

Read an array of character.

Warning
The array of characters is allocated and must be explicitly freed to avoid memory leak.
Parameters
doc: The main xml document
node: a pointer to the node to read value
Returns
pointer to an allocated array of character.

Definition at line 99 of file vpXmlParser.cpp.

Referenced by read_projection_error().

◆ xmlReadDoubleChild()

double vpXmlParser::xmlReadDoubleChild ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protectedinherited

read a double

Warning
throw a vpException::ioError if the value cannot be parsed to a double
Parameters
doc: The main xml document
node: a pointer to the node to read value
Returns
the double value in the node

Definition at line 211 of file vpXmlParser.cpp.

Referenced by vpMbXmlParser::read_lod(), and read_lod().

◆ xmlReadFloatChild()

float vpXmlParser::xmlReadFloatChild ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protectedinherited

read a float

Warning
throw a vpException::ioError if the value cannot be parsed to a float
Parameters
doc: The main xml document
node: a pointer to the node to read value
Returns
the float value in the node

Definition at line 244 of file vpXmlParser.cpp.

◆ xmlReadIntChild()

int vpXmlParser::xmlReadIntChild ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protectedinherited

read an int

Warning
throw a vpException::ioError if the value cannot be parsed to an integer
Parameters
doc: The main xml document
node: a pointer to the node to read value
Returns
the integer value in the node

Definition at line 143 of file vpXmlParser.cpp.

Referenced by vpMbXmlParser::read_lod(), read_lod(), and read_projection_error().

◆ xmlReadStringChild()

std::string vpXmlParser::xmlReadStringChild ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protectedinherited

Read an array of character.

Parameters
doc: The main xml document
node: a pointer to the node to read value
Returns
std::string representing the value.

Definition at line 119 of file vpXmlParser.cpp.

◆ xmlReadUnsignedIntChild()

unsigned int vpXmlParser::xmlReadUnsignedIntChild ( xmlDocPtr  doc,
xmlNodePtr  node 
)
protectedinherited

read an int

Warning
throw a vpException::ioError if the value cannot be parsed to an unsigned integer
Parameters
doc: The main xml document
node: a pointer to the node to read value
Returns
the unsigned integer value in the node

Definition at line 177 of file vpXmlParser.cpp.

◆ xmlWriteBoolChild()

void vpXmlParser::xmlWriteBoolChild ( xmlNodePtr  node,
const char *  label,
const bool  value 
)
protectedinherited

write a bool.

Parameters
node: a pointer to the node to read value
label: label (name of the data) of the node
value: boolean to write (true or false)

Definition at line 397 of file vpXmlParser.cpp.

◆ xmlWriteCharChild()

void vpXmlParser::xmlWriteCharChild ( xmlNodePtr  node,
const char *  label,
const char *  value 
)
protectedinherited

write an array of character.

Parameters
node: a pointer to the node to read value
label: label (name of the data) of the node
value: pointer to the array of character to write

Definition at line 305 of file vpXmlParser.cpp.

◆ xmlWriteDoubleChild()

void vpXmlParser::xmlWriteDoubleChild ( xmlNodePtr  node,
const char *  label,
const double  value 
)
protectedinherited

write a double.

Parameters
node: a pointer to the node to read value
label: label (name of the data) of the node
value: double to write

Definition at line 365 of file vpXmlParser.cpp.

◆ xmlWriteFloatChild()

void vpXmlParser::xmlWriteFloatChild ( xmlNodePtr  node,
const char *  label,
const float  value 
)
protectedinherited

write a float.

Parameters
node: a pointer to the node to read value
label: label (name of the data) of the node
value: float to write

Definition at line 381 of file vpXmlParser.cpp.

◆ xmlWriteIntChild()

void vpXmlParser::xmlWriteIntChild ( xmlNodePtr  node,
const char *  label,
const int  value 
)
protectedinherited

write an integer.

Parameters
node: a pointer to the node to read value
label: label (name of the data) of the node
value: integer to write

Definition at line 333 of file vpXmlParser.cpp.

◆ xmlWriteStringChild()

void vpXmlParser::xmlWriteStringChild ( xmlNodePtr  node,
const char *  label,
const std::string &  value 
)
protectedinherited

write an array of character.

Parameters
node: a pointer to the node to read value
label: label (name of the data) of the node
value: std::string to write;

Definition at line 319 of file vpXmlParser.cpp.

◆ xmlWriteUnsignedIntChild()

void vpXmlParser::xmlWriteUnsignedIntChild ( xmlNodePtr  node,
const char *  label,
const unsigned int  value 
)
protectedinherited

write an unsigned integer.

Parameters
node: a pointer to the node to read value
label: label (name of the data) of the node
value: unsigned integer to write

Definition at line 349 of file vpXmlParser.cpp.

Member Data Documentation

◆ m_angleAppear

double vpMbtXmlGenericParser::m_angleAppear
protected

Angle to determine if a face appeared.

Definition at line 83 of file vpMbtXmlGenericParser.h.

◆ m_angleDisappear

double vpMbtXmlGenericParser::m_angleDisappear
protected

Angle to determine if a face disappeared.

Definition at line 85 of file vpMbtXmlGenericParser.h.

◆ m_cam

vpCameraParameters vpMbtXmlGenericParser::m_cam
protected

Camera parameters.

Definition at line 81 of file vpMbtXmlGenericParser.h.

◆ m_depthDenseSamplingStepX

unsigned int vpMbtXmlGenericParser::m_depthDenseSamplingStepX
protected

Sampling step in X.

Definition at line 138 of file vpMbtXmlGenericParser.h.

◆ m_depthDenseSamplingStepY

unsigned int vpMbtXmlGenericParser::m_depthDenseSamplingStepY
protected

Sampling step in Y.

Definition at line 140 of file vpMbtXmlGenericParser.h.

◆ m_depthNormalFeatureEstimationMethod

vpMbtFaceDepthNormal::vpFeatureEstimationType vpMbtXmlGenericParser::m_depthNormalFeatureEstimationMethod
protected

Feature estimation method.

Definition at line 125 of file vpMbtXmlGenericParser.h.

◆ m_depthNormalPclPlaneEstimationMethod

int vpMbtXmlGenericParser::m_depthNormalPclPlaneEstimationMethod
protected

PCL plane estimation method.

Definition at line 127 of file vpMbtXmlGenericParser.h.

◆ m_depthNormalPclPlaneEstimationRansacMaxIter

int vpMbtXmlGenericParser::m_depthNormalPclPlaneEstimationRansacMaxIter
protected

PCL RANSAC maximum number of iterations.

Definition at line 129 of file vpMbtXmlGenericParser.h.

◆ m_depthNormalPclPlaneEstimationRansacThreshold

double vpMbtXmlGenericParser::m_depthNormalPclPlaneEstimationRansacThreshold
protected

PCL RANSAC threshold.

Definition at line 131 of file vpMbtXmlGenericParser.h.

◆ m_depthNormalSamplingStepX

unsigned int vpMbtXmlGenericParser::m_depthNormalSamplingStepX
protected

Sampling step in X.

Definition at line 133 of file vpMbtXmlGenericParser.h.

◆ m_depthNormalSamplingStepY

unsigned int vpMbtXmlGenericParser::m_depthNormalSamplingStepY
protected

Sampling step in Y.

Definition at line 135 of file vpMbtXmlGenericParser.h.

◆ m_ecm

vpMe vpMbtXmlGenericParser::m_ecm
protected

Moving edges parameters.

Definition at line 105 of file vpMbtXmlGenericParser.h.

◆ m_farClipping

double vpMbtXmlGenericParser::m_farClipping
protected

Near clipping distance.

Definition at line 93 of file vpMbtXmlGenericParser.h.

◆ m_fovClipping

bool vpMbtXmlGenericParser::m_fovClipping
protected

Fov Clipping.

Definition at line 95 of file vpMbtXmlGenericParser.h.

◆ m_hasFarClipping

bool vpMbtXmlGenericParser::m_hasFarClipping
protected

Is far clipping distance specified?

Definition at line 91 of file vpMbtXmlGenericParser.h.

◆ m_hasNearClipping

bool vpMbtXmlGenericParser::m_hasNearClipping
protected

Is near clipping distance specified?

Definition at line 87 of file vpMbtXmlGenericParser.h.

◆ m_kltBlockSize

unsigned int vpMbtXmlGenericParser::m_kltBlockSize
protected

Block size.

Definition at line 120 of file vpMbtXmlGenericParser.h.

◆ m_kltHarrisParam

double vpMbtXmlGenericParser::m_kltHarrisParam
protected

Harris free parameters.

Definition at line 118 of file vpMbtXmlGenericParser.h.

◆ m_kltMaskBorder

unsigned int vpMbtXmlGenericParser::m_kltMaskBorder
protected

Border of the mask used on Klt points.

Definition at line 108 of file vpMbtXmlGenericParser.h.

◆ m_kltMaxFeatures

unsigned int vpMbtXmlGenericParser::m_kltMaxFeatures
protected

Maximum of Klt features.

Definition at line 110 of file vpMbtXmlGenericParser.h.

◆ m_kltMinDist

double vpMbtXmlGenericParser::m_kltMinDist
protected

Minimum distance between klt points.

Definition at line 116 of file vpMbtXmlGenericParser.h.

◆ m_kltPyramidLevels

unsigned int vpMbtXmlGenericParser::m_kltPyramidLevels
protected

Number of pyramid levels.

Definition at line 122 of file vpMbtXmlGenericParser.h.

◆ m_kltQualityValue

double vpMbtXmlGenericParser::m_kltQualityValue
protected

Quality of the Klt points.

Definition at line 114 of file vpMbtXmlGenericParser.h.

◆ m_kltWinSize

unsigned int vpMbtXmlGenericParser::m_kltWinSize
protected

Windows size.

Definition at line 112 of file vpMbtXmlGenericParser.h.

◆ m_minLineLengthThreshold

double vpMbtXmlGenericParser::m_minLineLengthThreshold
protected

Minimum line length to track a segment when LOD is enabled.

Definition at line 100 of file vpMbtXmlGenericParser.h.

Referenced by read_lod().

◆ m_minPolygonAreaThreshold

double vpMbtXmlGenericParser::m_minPolygonAreaThreshold
protected

Minimum polygon area to track a face when LOD is enabled.

Definition at line 102 of file vpMbtXmlGenericParser.h.

Referenced by read_lod().

◆ m_nearClipping

double vpMbtXmlGenericParser::m_nearClipping
protected

Near clipping distance.

Definition at line 89 of file vpMbtXmlGenericParser.h.

◆ m_parserType

vpParserType vpMbtXmlGenericParser::m_parserType
protected

Parser type.

Definition at line 79 of file vpMbtXmlGenericParser.h.

◆ m_projectionErrorKernelSize

unsigned int vpMbtXmlGenericParser::m_projectionErrorKernelSize
protected

Kernel size (actual_kernel_size = size*2 + 1) used for projection error computation.

Definition at line 145 of file vpMbtXmlGenericParser.h.

Referenced by read_projection_error().

◆ m_projectionErrorMe

vpMe vpMbtXmlGenericParser::m_projectionErrorMe
protected

ME parameters for projection error computation.

Definition at line 143 of file vpMbtXmlGenericParser.h.

Referenced by read_projection_error().

◆ m_useLod

bool vpMbtXmlGenericParser::m_useLod
protected

If true, the LOD is enabled, otherwise it is not.

Definition at line 98 of file vpMbtXmlGenericParser.h.

Referenced by read_lod().

◆ main_tag

std::string vpXmlParser::main_tag
protectedinherited

The name of the main tag for the file to parse

Definition at line 230 of file vpXmlParser.h.

◆ nodeMap

std::map<std::string, int> vpXmlParser::nodeMap
protectedinherited

The map describing the data to parse

Definition at line 225 of file vpXmlParser.h.

Referenced by vpMbXmlParser::read_lod(), read_lod(), and read_projection_error().

vpMbtXmlGenericParser::range
Definition: vpMbtXmlGenericParser.h:174
vpMbtXmlGenericParser::step
Definition: vpMbtXmlGenericParser.h:181