#include "Image/Point3D.H"
#include "Util/StringConversions.H"
#include "Util/StringUtil.H"
#include "Util/Types.H"
#include "Util/log.H"
#include <iterator>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
template<class T > | |
std::string | convertToString (const Point3D< T > &val) |
Point3D overload: format is "<int>,<int>,<int>". | |
template<class T > | |
void | convertFromString (const std::string &str, Point3D< T > &val) |
Point3D overload: format is "<int>,<int>,<int>". | |
template std::string | convertToString (const Point3D< int > &) |
template void | convertFromString (const std::string &, Point3D< int > &) |
template std::string | convertToString (const Point3D< float > &) |
template void | convertFromString (const std::string &, Point3D< float > &) |
template std::string | convertToString (const Point3D< double > &) |
template void | convertFromString (const std::string &, Point3D< double > &) |
A basic 3D point class
Definition in file Point3D.C.
void convertFromString | ( | const std::string & | str, | |
Point3D< T > & | val | |||
) | [inline] |
Point3D overload: format is "<int>,<int>,<int>".
Point3D<T> overload: format is "<i>,<j>".
Definition at line 60 of file Point3D.C.
References conversion_error::raise(), split(), and Point3D< T >::x.
Referenced by fromStr(), ModelManager::getExtraArgAs(), main(), SpatialMetrics::paramChanged(), World3DInput::setConfigInfo(), World2DInput::setConfigInfo(), RandomInput::setConfigInfo(), GameOfLifeInput::setConfigInfo(), DotStimuli::setConfigInfo(), BarStimuli::setConfigInfo(), NModelParam< uint >::setValString(), OModelParam< Point2D< float > >::setValString(), TrackerHandController::start1(), EyeTrackerEyeHeadController::start1(), and submain().
std::string convertToString | ( | const Point3D< T > & | val | ) | [inline] |
Point3D overload: format is "<int>,<int>,<int>".
Point3D<T> overload: format is "<i>,<j>".
Definition at line 54 of file Point3D.C.
References Point3D< T >::x.