Jafar
|
This template class is the base for all Image3D class. More...
This template class is the base for all Image3D class.
it takes as parameter the class of the points.
Definition at line 51 of file Image3DTemplate.hpp.
#include <Image3DTemplate.hpp>
Public Types | |
enum | ROBOT_TYPE { NIL_ROBOT, ROBOT_ADAM, ROBOT_HILARE, ROBOT_HILARE2, ROBOT_LAMA, ROBOT_EVE, ROBOT_DALA, ROBOT_DILIGENT, ROBOT_INCONNU } |
enum | CAPTEUR_TYPE { NIL_CAPTEUR, CAPTEUR_LASER1, CAPTEUR_LASER2, CAPTEUR_STEREO, CAPTEUR_STEREO_GEROMS94, CAPTEUR_LASER_SIMULATION, CAPTEUR_STEREO_SIMULATION } |
enum | REPERE_TYPE { NIL_REPERE, REPERE_CAPTEUR, REPERE_AUTRE } |
enum | COORDINATES_TYPE { NIL_COORDONNEES, COORDONNEES_CARTESIENNES, COORDONNEES_CYLINDRIQUES, COORDONNEES_SPHERIQUES } |
Public Member Functions | |
PointType * | operator() (int i, int j) |
by this member : we can access the points of the image as (i,j) i : index of lines j : index of columns | |
void | initialize (int nWidth_, int nHeight_) |
Sets the width and the height of the image and Reserve the memory for the points. | |
void | clear () |
set the width and the height of the image to ZERO and release the memory of the points | |
void | info () |
print to the standard output a discription of the data members. | |
void | readBrutData (int nWidth_, char *xFile, char *yFiel, char *zFile) |
void | minMax () |
Calculates the min and max of each coordinate X,Y,and Z of the points. | |
void | minMaxFilteredPoints () |
void | lowPassfilter (double maxX_) |
Low pass filter. | |
void | dropOuterPoints (double x_min, double x_max, double y_min, double y_max, double z_min, double z_max) |
void | dropOuterPoints (double rho_min, double rho_max) |
void | saveToFile (char *fileName) |
void | readFromFile (char *fileName) |
Public Attributes | |
std::vector< PointType > | m_vPoints |
the array of points | |
std::vector< PointType > | m_vFilteredPoints |
array of filtered Good points | |
int | m_nNumberOfGoodPoints |
number of GOOD points | |
int | m_nWidth |
Width of the image : number of columns. | |
int | m_nHeight |
Height of the image : number of lines. | |
double | minX |
min X | |
double | minY |
min Y | |
double | minZ |
min Z | |
double | maxX |
max X | |
double | maxY |
max Y | |
double | maxZ |
max Z | |
double | fminX |
filtered min X | |
double | fminY |
filtered min Y | |
double | fminZ |
filtered min Z | |
double | fmaxX |
filtered max X | |
double | fmaxY |
filtered max Y | |
double | fmaxZ |
filtered max Z | |
ROBOT_TYPE | robot_type |
CAPTEUR_TYPE | capteur_type |
REPERE_TYPE | repere_type |
COORDINATES_TYPE | coordinates_type |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Image3DTemplate< PointType > &im3d) |
implements << operator | |
std::istream & | operator>> (std::istream &is, Image3DTemplate< PointType > &im3d) |
implements >> operator |
void jafar::model3d::Image3DTemplate< PointType >::lowPassfilter | ( | double | maxX_ | ) |
Low pass filter.
Definition at line 408 of file Image3DTemplate.hpp.
void jafar::model3d::Image3DTemplate< PointType >::minMax | ( | ) |
Calculates the min and max of each coordinate X,Y,and Z of the points.
The results are saved in the corresponding data members.
Definition at line 327 of file Image3DTemplate.hpp.
PointType* jafar::model3d::Image3DTemplate< PointType >::operator() | ( | int | i, |
int | j | ||
) | [inline] |
by this member : we can access the points of the image as (i,j) i : index of lines j : index of columns
Definition at line 99 of file Image3DTemplate.hpp.
References jafar::model3d::Image3DTemplate< PointType >::m_nWidth, and jafar::model3d::Image3DTemplate< PointType >::m_vPoints.
std::ostream& operator<< | ( | std::ostream & | os, |
const Image3DTemplate< PointType > & | im3d | ||
) | [friend] |
implements << operator
std::istream& operator>> | ( | std::istream & | is, |
Image3DTemplate< PointType > & | im3d | ||
) | [friend] |
implements >> operator
int jafar::model3d::Image3DTemplate< PointType >::m_nHeight |
Height of the image : number of lines.
Definition at line 190 of file Image3DTemplate.hpp.
int jafar::model3d::Image3DTemplate< PointType >::m_nNumberOfGoodPoints |
number of GOOD points
Definition at line 179 of file Image3DTemplate.hpp.
int jafar::model3d::Image3DTemplate< PointType >::m_nWidth |
Width of the image : number of columns.
Definition at line 186 of file Image3DTemplate.hpp.
Referenced by jafar::model3d::Image3DTemplate< PointType >::operator()().
std::vector<PointType> jafar::model3d::Image3DTemplate< PointType >::m_vFilteredPoints |
array of filtered Good points
Definition at line 174 of file Image3DTemplate.hpp.
std::vector<PointType> jafar::model3d::Image3DTemplate< PointType >::m_vPoints |
the array of points
Definition at line 169 of file Image3DTemplate.hpp.
Referenced by jafar::model3d::Image3DTemplate< PointType >::operator()(), jafar::model3d::operator<<(), and jafar::model3d::operator>>().
Generated on Wed Oct 15 2014 00:37:42 for Jafar by doxygen 1.7.6.1 |