|
SpikeStream Nemo Plugin
0.2
|
#include <Pattern.h>
Public Member Functions | |
| Pattern () | |
| Pattern (const Pattern &patt) | |
| ~Pattern () | |
| Pattern & | operator= (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) |
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.
| Pattern::Pattern | ( | ) |
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.
| 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] |
| QString spikestream::Pattern::getName | ( | ) | [inline] |
| QList<Point3D> spikestream::Pattern::getPoints | ( | ) | const [inline] |
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] |
| void Pattern::translate | ( | float | dx, |
| float | dy, | ||
| float | dz | ||
| ) |
Translates the pattern by the specified amount.
Definition at line 112 of file Pattern.cpp.