holder class for parameters used in StimMaker More...
#include <Psycho/StimMakerParam.H>
Public Member Functions | |
StimMakerParam () | |
default constructor | |
~StimMakerParam () | |
default destructor | |
void | setDemoParams1 () |
set values for a nice default demo | |
void | setDemoParams2 () |
set values for a nice default demo | |
void | setDemoParams3 () |
set values for a nice default demo | |
void | setDemoParams4 () |
set values for a nice default demo | |
void | setBasicParams1 () |
set values for a nice default, some basics | |
Public Attributes | |
bool | SMP_distOn |
should the distractors be on (visible) at start | |
bool | SMP_targetOn |
should the target be on (visible) at the start | |
unsigned char | SMP_distSizeX |
the width of the distractors in pixels (if zero then random) | |
unsigned char | SMP_distSizeY |
the height of the distractors in pixels (if zero then random) | |
unsigned char | SMP_distColor |
the color of the distractors from the table , 0 for random | |
unsigned char | SMP_distShape |
the shape of the distractors from the table , 0 for random | |
unsigned char | SMP_distRate |
the rate of blink for distractors from the table | |
unsigned char | SMP_distState |
the state change to the distractor from the table | |
unsigned char | SMP_targetSizeX |
the width of the target in pixels (if zero then random) | |
unsigned char | SMP_targetSizeY |
the height of the target in pixels (if zero then random) | |
unsigned char | SMP_targetColor |
the color of the target from the table in, 0 for random | |
unsigned char | SMP_targetShape |
the shape of the target from the table in , 0 for random | |
unsigned char | SMP_targetRate |
the rate of blink for target from the table in | |
unsigned char | SMP_targetState |
the state change to the target from the table in | |
unsigned char | SMP_useRandomStart |
should the start "on" times be randomized | |
unsigned char | SMP_useSmoothRateChange |
should we change rates gradually | |
unsigned char | SMP_useHexagon |
what kind of latice should we use | |
unsigned short | SMP_targetPosI |
the targets position row item number (not pixels in rows) | |
unsigned short | SMP_targetPosJ |
the targets position column item number (not pixels in column) | |
unsigned short | SMP_distPerRow |
the number of distractors per row | |
unsigned short | SMP_distPerCol |
the number of distractors per column | |
unsigned int | SMP_randomSeed |
random number seed to use, if 0 then ignore | |
float | SMP_distOri |
orientation of the distractors in radians 0.0F for no rotation | |
float | SMP_targetOri |
orientation of the target in radians 0.0F for no rotation | |
float | SMP_shapePositionJitter |
jitter the position of objects in the video by this much | |
float | SMP_shapeOrientationJitter |
jitter the orientation of objects in the video by this much | |
float | SMP_shapePositionJitterStatic |
jitter the position of objects in the video by this much | |
float | SMP_shapeOrientationJitterStatic |
jitter the orientation of objects in the video by this much |
holder class for parameters used in StimMaker
Definition at line 114 of file StimMakerParam.H.
StimMakerParam::StimMakerParam | ( | ) |
default constructor
Definition at line 46 of file StimMakerParam.C.
StimMakerParam::~StimMakerParam | ( | ) |
default destructor
Definition at line 51 of file StimMakerParam.C.
void StimMakerParam::setBasicParams1 | ( | ) |
set values for a nice default, some basics
Definition at line 192 of file StimMakerParam.C.
References SMP_distOn, SMP_distPerCol, SMP_distPerRow, SMP_distSizeX, SMP_distSizeY, SMP_randomSeed, SMP_targetOn, SMP_targetPosI, SMP_targetPosJ, SMP_targetSizeX, SMP_targetSizeY, SMP_useHexagon, SMP_useRandomStart, and SMP_useSmoothRateChange.
void StimMakerParam::setDemoParams1 | ( | ) |
set values for a nice default demo
Definition at line 56 of file StimMakerParam.C.
References SMP_distColor, SMP_distOn, SMP_distOri, SMP_distPerCol, SMP_distPerRow, SMP_distRate, SMP_distShape, SMP_distSizeX, SMP_distSizeY, SMP_distState, SMP_randomSeed, SMP_shapeOrientationJitter, SMP_shapeOrientationJitterStatic, SMP_shapePositionJitter, SMP_shapePositionJitterStatic, SMP_targetColor, SMP_targetOn, SMP_targetOri, SMP_targetPosI, SMP_targetPosJ, SMP_targetRate, SMP_targetShape, SMP_targetSizeX, SMP_targetSizeY, SMP_targetState, SMP_useHexagon, SMP_useRandomStart, and SMP_useSmoothRateChange.
void StimMakerParam::setDemoParams2 | ( | ) |
set values for a nice default demo
Definition at line 90 of file StimMakerParam.C.
References SMP_distColor, SMP_distOn, SMP_distOri, SMP_distPerCol, SMP_distPerRow, SMP_distRate, SMP_distShape, SMP_distSizeX, SMP_distSizeY, SMP_distState, SMP_randomSeed, SMP_shapeOrientationJitter, SMP_shapeOrientationJitterStatic, SMP_shapePositionJitter, SMP_shapePositionJitterStatic, SMP_targetColor, SMP_targetOn, SMP_targetOri, SMP_targetPosI, SMP_targetPosJ, SMP_targetRate, SMP_targetShape, SMP_targetSizeX, SMP_targetSizeY, SMP_targetState, SMP_useHexagon, SMP_useRandomStart, and SMP_useSmoothRateChange.
void StimMakerParam::setDemoParams3 | ( | ) |
set values for a nice default demo
Definition at line 124 of file StimMakerParam.C.
References SMP_distColor, SMP_distOn, SMP_distOri, SMP_distPerCol, SMP_distPerRow, SMP_distRate, SMP_distShape, SMP_distSizeX, SMP_distSizeY, SMP_distState, SMP_randomSeed, SMP_shapeOrientationJitter, SMP_shapeOrientationJitterStatic, SMP_shapePositionJitter, SMP_shapePositionJitterStatic, SMP_targetColor, SMP_targetOn, SMP_targetOri, SMP_targetPosI, SMP_targetPosJ, SMP_targetRate, SMP_targetShape, SMP_targetSizeX, SMP_targetSizeY, SMP_targetState, SMP_useHexagon, SMP_useRandomStart, and SMP_useSmoothRateChange.
void StimMakerParam::setDemoParams4 | ( | ) |
set values for a nice default demo
Definition at line 158 of file StimMakerParam.C.
References SMP_distColor, SMP_distOn, SMP_distOri, SMP_distPerCol, SMP_distPerRow, SMP_distRate, SMP_distShape, SMP_distSizeX, SMP_distSizeY, SMP_distState, SMP_randomSeed, SMP_shapeOrientationJitter, SMP_shapeOrientationJitterStatic, SMP_shapePositionJitter, SMP_shapePositionJitterStatic, SMP_targetColor, SMP_targetOn, SMP_targetOri, SMP_targetPosI, SMP_targetPosJ, SMP_targetRate, SMP_targetShape, SMP_targetSizeX, SMP_targetSizeY, SMP_targetState, SMP_useHexagon, SMP_useRandomStart, and SMP_useSmoothRateChange.
unsigned char StimMakerParam::SMP_distColor |
the color of the distractors from the table , 0 for random
Definition at line 126 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
should the distractors be on (visible) at start
Definition at line 118 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
orientation of the distractors in radians 0.0F for no rotation
Definition at line 162 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned short StimMakerParam::SMP_distPerCol |
the number of distractors per column
Definition at line 158 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned short StimMakerParam::SMP_distPerRow |
the number of distractors per row
Definition at line 156 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_distRate |
the rate of blink for distractors from the table
Definition at line 130 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_distShape |
the shape of the distractors from the table , 0 for random
Definition at line 128 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_distSizeX |
the width of the distractors in pixels (if zero then random)
Definition at line 122 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_distSizeY |
the height of the distractors in pixels (if zero then random)
Definition at line 124 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_distState |
the state change to the distractor from the table
Definition at line 132 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned int StimMakerParam::SMP_randomSeed |
random number seed to use, if 0 then ignore
Definition at line 160 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
jitter the orientation of objects in the video by this much
Definition at line 168 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
jitter the orientation of objects in the video by this much
Definition at line 172 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
jitter the position of objects in the video by this much
Definition at line 166 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
jitter the position of objects in the video by this much
Definition at line 170 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_targetColor |
the color of the target from the table in, 0 for random
Definition at line 138 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
should the target be on (visible) at the start
Definition at line 120 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
orientation of the target in radians 0.0F for no rotation
Definition at line 164 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned short StimMakerParam::SMP_targetPosI |
the targets position row item number (not pixels in rows)
Definition at line 152 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned short StimMakerParam::SMP_targetPosJ |
the targets position column item number (not pixels in column)
Definition at line 154 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_targetRate |
the rate of blink for target from the table in
Definition at line 142 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_targetShape |
the shape of the target from the table in , 0 for random
Definition at line 140 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_targetSizeX |
the width of the target in pixels (if zero then random)
Definition at line 134 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_targetSizeY |
the height of the target in pixels (if zero then random)
Definition at line 136 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_targetState |
the state change to the target from the table in
Definition at line 144 of file StimMakerParam.H.
Referenced by setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_useHexagon |
what kind of latice should we use
Definition at line 150 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_useRandomStart |
should the start "on" times be randomized
Definition at line 146 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().
unsigned char StimMakerParam::SMP_useSmoothRateChange |
should we change rates gradually
Definition at line 148 of file StimMakerParam.H.
Referenced by setBasicParams1(), setDemoParams1(), setDemoParams2(), setDemoParams3(), setDemoParams4(), and StimMaker::SM_makeUniformStim().