SearchArray represents an 2-D spatial array of search items. More...
#include <Psycho/SearchArray.H>
Public Member Functions | |
SearchArray (const Dims &dims=Dims(512, 512), double gridSpacing=48.0, double minSpacing=36.0, double margin=0.0) | |
void | addElement (const rutz::shared_ptr< SearchItem > &e, bool displace=false) const |
size_t | numElements () const |
void | replaceElementAtSamePos (size_t i, const rutz::shared_ptr< SearchItem > &e) |
void | generateBackground (SearchItemFactory &factory, const int diffusionCycles=10, const bool doFinalFill=true, const int jitterIters=1000, const bool doJitterForeground=false, const int backgSeed=0) const |
Image< byte > | getImage (const double lo=-1.0, const double hi=1.0, const double bg=0.0, bool doTagLast=false) const |
void | pareBackground (const uint shrunkSize) const |
void | clear () const |
void | saveCoords (const std::string &filename) const |
Rectangle | itemBounds () const |
SearchArray represents an 2-D spatial array of search items.
The array has manipulable spacing properties.
Definition at line 63 of file SearchArray.H.