SpikeStream Nemo Plugin  0.2
spikestream::Pattern Class Reference

#include <Pattern.h>

List of all members.

Public Member Functions

 Pattern ()
 Pattern (const Pattern &patt)
 ~Pattern ()
Patternoperator= (const Pattern &rhs)
bool operator== (const Pattern &rhs)
void addBox (const Box &box)
void addPoint (const Point3D &point)
bool contains (const Point3D &point)
QList< Box > getBoxes ()
Pattern getAlignedPattern (const Box &box) const
QString getName ()
QList< Point3D > getPoints () const
void print () const
void reset ()
void setName (const QString &name)
void translate (float dx, float dy, float dz)

Detailed Description

Holds information about and data associated with a particular pattern. Patterns can be injected into neuron groups in Nemo. Data in the pattern is stored as a list of boxes and points.

Definition at line 16 of file Pattern.h.


Constructor & Destructor Documentation

Construtor

Definition at line 14 of file Pattern.cpp.

Pattern::Pattern ( const Pattern patt)

Copy constructor

Definition at line 19 of file Pattern.cpp.

Destructor

Definition at line 27 of file Pattern.cpp.


Member Function Documentation

void Pattern::addBox ( const Box &  box)

Adds a box to the pattern

Definition at line 36 of file Pattern.cpp.

void Pattern::addPoint ( const Point3D &  point)

Adds a point to the pattern.

Definition at line 42 of file Pattern.cpp.

bool Pattern::contains ( const Point3D &  point)

Returns true if the pattern contains the specified point.

Definition at line 48 of file Pattern.cpp.

Pattern Pattern::getAlignedPattern ( const Box &  box) const

Returns a copy of this pattern that is centred on the supplied box.

Definition at line 67 of file Pattern.cpp.

QList<Box> spikestream::Pattern::getBoxes ( ) [inline]

Definition at line 26 of file Pattern.h.

QString spikestream::Pattern::getName ( ) [inline]

Definition at line 28 of file Pattern.h.

QList<Point3D> spikestream::Pattern::getPoints ( ) const [inline]

Definition at line 29 of file Pattern.h.

Pattern & Pattern::operator= ( const Pattern rhs)

Assignment operator

Definition at line 128 of file Pattern.cpp.

bool Pattern::operator== ( const Pattern rhs)

Equality operator

Definition at line 141 of file Pattern.cpp.

void Pattern::print ( ) const

Prints out the pattern

Definition at line 89 of file Pattern.cpp.

void Pattern::reset ( )

Resets everything in the pattern

Definition at line 104 of file Pattern.cpp.

void spikestream::Pattern::setName ( const QString &  name) [inline]

Definition at line 32 of file Pattern.h.

void Pattern::translate ( float  dx,
float  dy,
float  dz 
)

Translates the pattern by the specified amount.

Definition at line 112 of file Pattern.cpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Defines