|
| | CameraTool (std::string prefix="") |
| |
| virtual | ~CameraTool () |
| |
| virtual const ToolInfo | getToolInfo ()=0 |
| | 获取工具的信息。
|
| |
| virtual std::map< std::string, BasicParameterInfo > | getAllParamInfo ()=0 |
| | 获取所有参数的基本信息。如果想要获取某个参数的详细信息,请参考 CameraTool::getParamInfo 。
|
| |
| virtual bool | getParamInfo (const std::string name, IntParameterInfo &info)=0 |
| | 获取一个参数的详细信息。
|
| |
| virtual bool | getParamInfo (const std::string name, FloatParameterInfo &info)=0 |
| |
| virtual bool | getParamInfo (const std::string name, BoolParameterInfo &info)=0 |
| |
| virtual bool | getParamInfo (const std::string name, EnumParameterInfo &info)=0 |
| |
| virtual bool | getParam (const std::string name, int &value) |
| | 获取一个参数的值。
|
| |
| virtual bool | getParam (const std::string name, float &value) |
| |
| virtual bool | getParam (const std::string name, bool &value) |
| |
| virtual bool | getParam (const std::string name, std::string &value) |
| |
| virtual bool | setParam (const std::string name, const int &value) |
| | 设置一个参数的值。
|
| |
| virtual bool | setParam (const std::string name, const float &value) |
| |
| virtual bool | setParam (const std::string name, const double &value) |
| |
| virtual bool | setParam (const std::string name, const bool &value) |
| |
| virtual bool | setParam (const std::string name, const char *value) |
| |
| virtual bool | setParam (const std::string name, const std::string &value) |
| |
相机工具的基类。工具指的是用来控制相机的抽象概念,可以用来设置各种相机参数、获取相机参数信息、进行数据处理等。