YaDICs
V04.14.a
Yet another Digital Image Correlation software: platform dedicated to 2/3D Fluid and Solid kinematics field measurements.
|
This factory create a pointer toward the required ShapeFunction class. The pointer creation could only be done through parameter.nc file. It is composed by 4 main functions : (1) create from (argc,argv), the path of parameter.nc file is provided through the command line or a default path is set. (2) create from (CParameterNetCDF), the parameter file already opened and its id is known. (3) create from (std::string), the parameter.nc is opened and the type of Shape function is known. (4) create from (int), the parameter.nc is opened and the shape function type id is known. More...
#include <CshapeFunction_factory.h>
Public Member Functions | |
CshapeFunction_factory (std::string name) | |
CshapeFunction< T, Timg > * | create (const int &number) |
CshapeFunction< T, Timg > * | create (const std::string &type) |
CshapeFunction< T, Timg > * | create (CParameterNetCDF ¶mFile) |
CshapeFunction< T, Timg > * | create (int argc, char *argv[]) |
void | commandLine (int argc, char *argv[]) |
void | stringSplit (std::string manyString, std::vector< std::string > value) |
void | info () |
Public Attributes | |
std::vector< std::string > | m_infos |
std::string | class_name |
std::string | m_variable |
std::string | m_type |
CParameterNetCDF | m_paramFile |
const char * | m_paramPath |
bool | m_verbose |
This factory create a pointer toward the required ShapeFunction class. The pointer creation could only be done through parameter.nc file. It is composed by 4 main functions : (1) create from (argc,argv), the path of parameter.nc file is provided through the command line or a default path is set. (2) create from (CParameterNetCDF), the parameter file already opened and its id is known. (3) create from (std::string), the parameter.nc is opened and the type of Shape function is known. (4) create from (int), the parameter.nc is opened and the shape function type id is known.
[in] | m_variable | : std::string. This the name of the variable associated to shape function within the netcdf parameter file. It is pass through the constructor by user. |