
#include "Psycho/ArrayCreator.H"#include "Component/ModelOptionDef.H"#include "Util/StringConversions.H"#include "Util/StringUtil.H"#include "Image/DrawOps.H"#include <iostream>#include <fstream>
Go to the source code of this file.
Functions | |
| std::string | convertToString (const ItemType &item) |
| Dims overload: format is "<ItemType>". | |
| void | convertFromString (const std::string &str, ItemType &itemtype) |
| Dims overload: format is "<ItemType>". | |
| std::string | convertToString (const ColorSpace &colorspace) |
| Dims overload: format is "<ColorSpace>". | |
| void | convertFromString (const std::string &str, ColorSpace &itemtype) |
| Dims overload: format is "<ColorSpace>". | |
Variables | |
| const ModelOptionCateg | MOC_PSYCHOARRAYCREATOR |
| Command line options that could be used with the ArrayCreator object. | |
| const ModelOptionDef | OPT_ACFileName |
| const ModelOptionDef | OPT_ACItemRadius |
| const ModelOptionDef | OPT_ACJitterLevel |
| const ModelOptionDef | OPT_ACBackgroundColor |
| const ModelOptionDef | OPT_ACPpdX |
| const ModelOptionDef | OPT_ACPpdY |
| const ModelOptionDef | OPT_ACPermuteTargs |
jittered array of search elements
Definition in file ArrayCreator.C.
| void convertFromString | ( | const std::string & | str, | |
| ColorSpace & | itemtype | |||
| ) |
Dims overload: format is "<ColorSpace>".
Definition at line 158 of file ArrayCreator.C.
| void convertFromString | ( | const std::string & | str, | |
| ItemType & | itemtype | |||
| ) |
Dims overload: format is "<ItemType>".
Definition at line 122 of file ArrayCreator.C.
| std::string convertToString | ( | const ColorSpace & | colorspace | ) |
Dims overload: format is "<ColorSpace>".
Definition at line 139 of file ArrayCreator.C.
| std::string convertToString | ( | const ItemType & | item | ) |
Dims overload: format is "<ItemType>".
Definition at line 99 of file ArrayCreator.C.
{
MOC_SORTPRI_2, "ArrayCreator realted options" }
Command line options that could be used with the ArrayCreator object.
ArrayCreator options
Definition at line 49 of file ArrayCreator.C.
| const ModelOptionDef OPT_ACBackgroundColor |
{ MODOPT_ARG(PixRGB<byte>), "ACBackgroundColor", &MOC_PSYCHOARRAYCREATOR,
OPTEXP_CORE, "value of the default background pixel, in RGB",
"ac-bgcolor", '\0', "<byte,byte,byte>", "128,128,128" }
Definition at line 72 of file ArrayCreator.C.
| const ModelOptionDef OPT_ACFileName |
{ MODOPT_ARG_STRING, "ACFileName", &MOC_PSYCHOARRAYCREATOR, OPTEXP_CORE,
"File name of configuration file for ArrayCreator",
"ac-filename", '\0', "<filename>", "array_config.conf" }
Definition at line 53 of file ArrayCreator.C.
| const ModelOptionDef OPT_ACItemRadius |
{ MODOPT_ARG(uint), "ACItemRadius", &MOC_PSYCHOARRAYCREATOR,
OPTEXP_CORE,
"default radius to use for array items, in degrees of visual angle",
"ac-itemradius", '\0', "<uint>", "2" }
Definition at line 59 of file ArrayCreator.C.
| const ModelOptionDef OPT_ACJitterLevel |
{ MODOPT_ARG(float), "ACJitterLevel", &MOC_PSYCHOARRAYCREATOR,
OPTEXP_CORE, "The default off-grid jitter of the items, "
"in degrees of visual angle", "ac-jitter", '\0', "<float>", "1" }
Definition at line 66 of file ArrayCreator.C.
| const ModelOptionDef OPT_ACPermuteTargs |
{ MODOPT_FLAG, "ACPermuteTargs", &MOC_PSYCHOARRAYCREATOR,
OPTEXP_CORE, "Display more than one target at a time?",
"ac-perm-targs", '\0', "<bool>", "true" }
Definition at line 90 of file ArrayCreator.C.
| const ModelOptionDef OPT_ACPpdX |
{ MODOPT_ARG(float), "ACPpdX", &MOC_PSYCHOARRAYCREATOR,
OPTEXP_CORE, "pixels per degree for x direction",
"ac-ppdx", '\0', "<float>", "10.0" }
Definition at line 78 of file ArrayCreator.C.
| const ModelOptionDef OPT_ACPpdY |
{ MODOPT_ARG(float), "ACPpdY", &MOC_PSYCHOARRAYCREATOR,
OPTEXP_CORE, "pixels per degree for y direction",
"ac-ppdy", '\0', "<float>", "10.0" }
Definition at line 84 of file ArrayCreator.C.
1.6.3