ArrayCreator Class Reference

Collaboration diagram for ArrayCreator:
Collaboration graph
[legend]

List of all members.

Classes

struct  RF

Public Member Functions

 ArrayCreator (const std::string &filename, const float &radius, const float &noise, const Dims &dims, const float &ppdx, const float &ppdy, const PixRGB< byte > &background, const float &fixation_size, const bool permTargs=true)
 constructor
 ~ArrayCreator ()
 destructor
uint size () const
 get the total number of stims
Image< PixRGB< byte > > draw (const uint permnum) const
 draw the specified array in the permutation sequence
void draw (Image< PixRGB< byte > > &dst, const uint permnum) const
 draw the specified array in the permutation sequence
std::string toString (const uint permnum) const
 Write out our whole array as a string. First we will have a ':'.

Detailed Description

Definition at line 192 of file ArrayCreator.H.


Constructor & Destructor Documentation

ArrayCreator::ArrayCreator ( const std::string filename,
const float &  radius,
const float &  noise,
const Dims dims,
const float &  ppdx,
const float &  ppdy,
const PixRGB< byte > &  background,
const float &  fixation_size,
const bool  permTargs = true 
)

constructor

Definition at line 333 of file ArrayCreator.C.

ArrayCreator::~ArrayCreator (  ) 

destructor

Definition at line 350 of file ArrayCreator.C.


Member Function Documentation

void ArrayCreator::draw ( Image< PixRGB< byte > > &  dst,
const uint  permnum 
) const

draw the specified array in the permutation sequence

Definition at line 373 of file ArrayCreator.C.

References drawFilledRect(), Dims::h(), size(), Rectangle::tlbrI(), and Dims::w().

Image< PixRGB< byte > > ArrayCreator::draw ( const uint  permnum  )  const

draw the specified array in the permutation sequence

Definition at line 364 of file ArrayCreator.C.

References ZEROS.

uint ArrayCreator::size (  )  const

get the total number of stims

Definition at line 358 of file ArrayCreator.C.

Referenced by draw().

std::string ArrayCreator::toString ( const uint  permnum  )  const

Write out our whole array as a string. First we will have a ':'.

Definition at line 399 of file ArrayCreator.C.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:06 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3