#include <sessionInformation.h>
Public Types | |
enum | spikeDisplayType { RASTER = 0, WAVEFORMS = 1, LINES = 2, RASTER = 0, WAVEFORMS = 1, LINES = 2 } |
Type of spike display. | |
enum | mode { SINGLE = 0, MULTIPLE = 1, SINGLE = 0, MULTIPLE = 1 } |
Presentation mode. | |
enum | spikeDisplayType { RASTER = 0, WAVEFORMS = 1, LINES = 2, RASTER = 0, WAVEFORMS = 1, LINES = 2 } |
Type of spike display. | |
enum | mode { SINGLE = 0, MULTIPLE = 1, SINGLE = 0, MULTIPLE = 1 } |
Presentation mode. | |
Public Member Functions | |
DisplayInformation () | |
Constructor, sets defaults:
| |
void | addSpikeDisplayType (spikeDisplayType type) |
Adds a type of spike display (see DisplayInformation::displayType). | |
void | setMode (mode modeOfPresentation) |
Sets the mode of presentation (see DisplayInformation::mode). | |
void | setRasterHeight (int height) |
Sets the height of the rasters. | |
void | setGreyScale (int value) |
Sets the grey-scale value. | |
void | setSelectedClusters (QString clusterFile, QValueList< int > clusterIds) |
Sets the selected clusters by cluster file. | |
void | setSelectedEvents (QString eventFile, QValueList< int > eventIds) |
Sets the selected events by event file. | |
void | setSkippedClusters (QString clusterFile, QValueList< int > clusterIds) |
Sets the skipped clusters by cluster file. | |
void | setSkippedEvents (QString eventFile, QValueList< int > eventIds) |
Sets the skipped events by event file. | |
void | setSelectedSpikeFiles (QValueList< QString > files) |
Sets the list of the spike files shown in the display (without cluster file associated). | |
void | setPositions (QValueList< TracePosition > positions) |
Sets the list of TracePosition. | |
void | setChannelIds (QValueList< int > ids) |
Sets the list of channel ids shown in the display. | |
void | setSelectedChannelIds (QValueList< int > ids) |
Sets the list channel ids selected in the display. | |
void | setStartTime (long start) |
Sets the starting time in miliseconds. | |
void | setTimeWindow (long duration) |
Sets the time window in miliseconds. | |
void | setTabLabel (QString newLabel) |
Sets the label for the display when in tab page mode. | |
void | setLabelStatus (int value) |
Sets if the labels next to the traces have to be displayed. | |
void | setPositionView (int present) |
Sets if a PositionView is displayed. | |
void | setEventsInPositionView (int shown) |
Sets if events are displayed in the PositionView. | |
QValueList< spikeDisplayType > | getSpikeDisplayTypes () const |
Gets the list of type of spike display used (see DisplayInformation::displayType). | |
mode | getMode () const |
Gets the mode of presentation (see DisplayInformation::mode). | |
int | getRasterHeight () const |
Gets the height of the rasters. | |
int | getGreyScale () const |
Gets the grey-scale value. | |
QMap< QString, QValueList< int > > | getSelectedClusters () const |
Gets the selected clusters by cluster file. | |
QMap< QString, QValueList< int > > | getSelectedEvents () const |
Gets the selected events by event file. | |
QMap< QString, QValueList< int > > | getSkippedClusters () const |
Gets the skipped clusters by cluster file. | |
QMap< QString, QValueList< int > > | getSkippedEvents () const |
Gets the skipped events by event file. | |
QValueList< QString > | getSelectedSpikeFiles () const |
Gets the list of the spike files shown in the display (without cluster file associated). | |
QValueList< TracePosition > | getPositions () const |
Gets the list of TracePosition. | |
QValueList< int > | getChannelIds () const |
Gets the list of channel ids shown in the display. | |
QValueList< int > | getSelectedChannelIds () const |
Gets the list channel ids selected in the display. | |
QString | getTabLabel () const |
Gets the label for the display when in tab page mode. | |
int | getLabelStatus () const |
Gets if the information as if the labels next to the traces have to be displayed. | |
long | getStartTime () const |
Gets the starting time in miliseconds. | |
long | getTimeWindow () const |
Gets the time window in miliseconds. | |
int | isAPositionView () const |
Returns if a PositionView is displayed in the view. | |
int | isEventsDisplayedInPositionView () const |
Returns if events are displayed in the PositionView. | |
DisplayInformation () | |
Constructor, sets defaults:
| |
void | addSpikeDisplayType (spikeDisplayType type) |
Adds a type of spike display (see DisplayInformation::displayType). | |
void | setMode (mode modeOfPresentation) |
Sets the mode of presentation (see DisplayInformation::mode). | |
void | setRasterHeight (int height) |
Sets the height of the rasters. | |
void | setGreyScale (int value) |
Sets the grey-scale value. | |
void | setSelectedClusters (QString clusterFile, QValueList< int > clusterIds) |
Sets the selected clusters by cluster file. | |
void | setSelectedEvents (QString eventFile, QValueList< int > eventIds) |
Sets the selected events by event file. | |
void | setSkippedClusters (QString clusterFile, QValueList< int > clusterIds) |
Sets the skipped clusters by cluster file. | |
void | setSkippedEvents (QString eventFile, QValueList< int > eventIds) |
Sets the skipped events by event file. | |
void | setSelectedSpikeFiles (QValueList< QString > files) |
Sets the list of the spike files shown in the display (without cluster file associated). | |
void | setPositions (QValueList< TracePosition > positions) |
Sets the list of TracePosition. | |
void | setChannelIds (QValueList< int > ids) |
Sets the list of channel ids shown in the display. | |
void | setSelectedChannelIds (QValueList< int > ids) |
Sets the list channel ids selected in the display. | |
void | setStartTime (long start) |
Sets the starting time in miliseconds. | |
void | setTimeWindow (long duration) |
Sets the time window in miliseconds. | |
void | setTabLabel (QString newLabel) |
Sets the label for the display when in tab page mode. | |
void | setLabelStatus (int value) |
Sets if the labels next to the traces have to be displayed. | |
void | setPositionView (int present) |
Sets if a PositionView is displayed. | |
void | setEventsInPositionView (int shown) |
Sets if events are displayed in the PositionView. | |
QValueList< spikeDisplayType > | getSpikeDisplayTypes () const |
Gets the list of type of spike display used (see DisplayInformation::displayType). | |
mode | getMode () const |
Gets the mode of presentation (see DisplayInformation::mode). | |
int | getRasterHeight () const |
Gets the height of the rasters. | |
int | getGreyScale () const |
Gets the grey-scale value. | |
QMap< QString, QValueList< int > > | getSelectedClusters () const |
Gets the selected clusters by cluster file. | |
QMap< QString, QValueList< int > > | getSelectedEvents () const |
Gets the selected events by event file. | |
QMap< QString, QValueList< int > > | getSkippedClusters () const |
Gets the skipped clusters by cluster file. | |
QMap< QString, QValueList< int > > | getSkippedEvents () const |
Gets the skipped events by event file. | |
QValueList< QString > | getSelectedSpikeFiles () const |
Gets the list of the spike files shown in the display (without cluster file associated). | |
QValueList< TracePosition > | getPositions () const |
Gets the list of TracePosition. | |
QValueList< int > | getChannelIds () const |
Gets the list of channel ids shown in the display. | |
QValueList< int > | getSelectedChannelIds () const |
Gets the list channel ids selected in the display. | |
QString | getTabLabel () const |
Gets the label for the display when in tab page mode. | |
int | getLabelStatus () const |
Gets if the information as if the labels next to the traces have to be displayed. | |
long | getStartTime () const |
Gets the starting time in miliseconds. | |
long | getTimeWindow () const |
Gets the time window in miliseconds. | |
int | isAPositionView () const |
Returns if a PositionView is displayed in the view. | |
int | isEventsDisplayedInPositionView () const |
Returns if events are displayed in the PositionView. |
DisplayInformation::DisplayInformation | ( | ) | [inline] |
Constructor, sets defaults:
DisplayInformation::DisplayInformation | ( | ) | [inline] |
Constructor, sets defaults:
void DisplayInformation::addSpikeDisplayType | ( | spikeDisplayType | type | ) | [inline] |
Adds a type of spike display (see DisplayInformation::displayType).
type | type of spike displays. |
void DisplayInformation::setMode | ( | mode | modeOfPresentation | ) | [inline] |
Sets the mode of presentation (see DisplayInformation::mode).
modeOfPresentation | mode of presentation. |
void DisplayInformation::setRasterHeight | ( | int | height | ) | [inline] |
Sets the height of the rasters.
height | height of the rasters. |
void DisplayInformation::setGreyScale | ( | int | value | ) | [inline] |
Sets the grey-scale value.
value | 1 if the grey-scale is used to the view 0, otherwise. |
void DisplayInformation::setSelectedClusters | ( | QString | clusterFile, | |
QValueList< int > | clusterIds | |||
) | [inline] |
Sets the selected clusters by cluster file.
clusterFile | cluster file url. | |
clusterIds | list of selected cluster ids. |
void DisplayInformation::setSelectedEvents | ( | QString | eventFile, | |
QValueList< int > | eventIds | |||
) | [inline] |
Sets the selected events by event file.
eventFile | event file url. | |
eventIds | list of selected eventIds. |
void DisplayInformation::setSkippedClusters | ( | QString | clusterFile, | |
QValueList< int > | clusterIds | |||
) | [inline] |
Sets the skipped clusters by cluster file.
clusterFile | cluster file url. | |
clusterIds | list of cluster ids to skip while browsing. |
void DisplayInformation::setSkippedEvents | ( | QString | eventFile, | |
QValueList< int > | eventIds | |||
) | [inline] |
Sets the skipped events by event file.
eventFile | event file url. | |
eventIds | list of eventIds to skip while browsing. |
void DisplayInformation::setSelectedSpikeFiles | ( | QValueList< QString > | files | ) | [inline] |
Sets the list of the spike files shown in the display (without cluster file associated).
files | list of the spike files. |
void DisplayInformation::setPositions | ( | QValueList< TracePosition > | positions | ) | [inline] |
void DisplayInformation::setChannelIds | ( | QValueList< int > | ids | ) | [inline] |
Sets the list of channel ids shown in the display.
ids | list of channel ids. |
void DisplayInformation::setSelectedChannelIds | ( | QValueList< int > | ids | ) | [inline] |
Sets the list channel ids selected in the display.
ids | list of channel ids. |
void DisplayInformation::setStartTime | ( | long | start | ) | [inline] |
Sets the starting time in miliseconds.
start | starting time. |
void DisplayInformation::setTimeWindow | ( | long | duration | ) | [inline] |
Sets the time window in miliseconds.
duration | time window. |
void DisplayInformation::setTabLabel | ( | QString | newLabel | ) | [inline] |
Sets the label for the display when in tab page mode.
newLabel | the new label for the display. |
void DisplayInformation::setLabelStatus | ( | int | value | ) | [inline] |
Sets if the labels next to the traces have to be displayed.
value | 1 if the labels are displayed in the view, 0 otherwise. |
void DisplayInformation::setPositionView | ( | int | present | ) | [inline] |
Sets if a PositionView is displayed.
present | 1 if a PositionView is displayed in the view, 0 otherwise. |
void DisplayInformation::setEventsInPositionView | ( | int | shown | ) | [inline] |
Sets if events are displayed in the PositionView.
shown | 1 if events are displayed in the PositionView, 0 otherwise. |
QValueList<spikeDisplayType> DisplayInformation::getSpikeDisplayTypes | ( | ) | const [inline] |
Gets the list of type of spike display used (see DisplayInformation::displayType).
mode DisplayInformation::getMode | ( | ) | const [inline] |
int DisplayInformation::getRasterHeight | ( | ) | const [inline] |
Gets the height of the rasters.
int DisplayInformation::getGreyScale | ( | ) | const [inline] |
Gets the grey-scale value.
QMap<QString, QValueList<int> > DisplayInformation::getSelectedClusters | ( | ) | const [inline] |
Gets the selected clusters by cluster file.
QMap<QString, QValueList<int> > DisplayInformation::getSelectedEvents | ( | ) | const [inline] |
Gets the selected events by event file.
QMap<QString, QValueList<int> > DisplayInformation::getSkippedClusters | ( | ) | const [inline] |
Gets the skipped clusters by cluster file.
QMap<QString, QValueList<int> > DisplayInformation::getSkippedEvents | ( | ) | const [inline] |
Gets the skipped events by event file.
QValueList<QString> DisplayInformation::getSelectedSpikeFiles | ( | ) | const [inline] |
Gets the list of the spike files shown in the display (without cluster file associated).
QValueList<TracePosition> DisplayInformation::getPositions | ( | ) | const [inline] |
QValueList<int> DisplayInformation::getChannelIds | ( | ) | const [inline] |
Gets the list of channel ids shown in the display.
QValueList<int> DisplayInformation::getSelectedChannelIds | ( | ) | const [inline] |
Gets the list channel ids selected in the display.
QString DisplayInformation::getTabLabel | ( | ) | const [inline] |
Gets the label for the display when in tab page mode.
int DisplayInformation::getLabelStatus | ( | ) | const [inline] |
Gets if the information as if the labels next to the traces have to be displayed.
long DisplayInformation::getStartTime | ( | ) | const [inline] |
Gets the starting time in miliseconds.
long DisplayInformation::getTimeWindow | ( | ) | const [inline] |
Gets the time window in miliseconds.
int DisplayInformation::isAPositionView | ( | ) | const [inline] |
Returns if a PositionView is displayed in the view.
int DisplayInformation::isEventsDisplayedInPositionView | ( | ) | const [inline] |
Returns if events are displayed in the PositionView.
void DisplayInformation::addSpikeDisplayType | ( | spikeDisplayType | type | ) | [inline] |
Adds a type of spike display (see DisplayInformation::displayType).
type | type of spike displays. |
void DisplayInformation::setMode | ( | mode | modeOfPresentation | ) | [inline] |
Sets the mode of presentation (see DisplayInformation::mode).
modeOfPresentation | mode of presentation. |
void DisplayInformation::setRasterHeight | ( | int | height | ) | [inline] |
Sets the height of the rasters.
height | height of the rasters. |
void DisplayInformation::setGreyScale | ( | int | value | ) | [inline] |
Sets the grey-scale value.
value | 1 if the grey-scale is used to the view 0, otherwise. |
void DisplayInformation::setSelectedClusters | ( | QString | clusterFile, | |
QValueList< int > | clusterIds | |||
) | [inline] |
Sets the selected clusters by cluster file.
clusterFile | cluster file url. | |
clusterIds | list of selected cluster ids. |
void DisplayInformation::setSelectedEvents | ( | QString | eventFile, | |
QValueList< int > | eventIds | |||
) | [inline] |
Sets the selected events by event file.
eventFile | event file url. | |
eventIds | list of selected eventIds. |
void DisplayInformation::setSkippedClusters | ( | QString | clusterFile, | |
QValueList< int > | clusterIds | |||
) | [inline] |
Sets the skipped clusters by cluster file.
clusterFile | cluster file url. | |
clusterIds | list of cluster ids to skip while browsing. |
void DisplayInformation::setSkippedEvents | ( | QString | eventFile, | |
QValueList< int > | eventIds | |||
) | [inline] |
Sets the skipped events by event file.
eventFile | event file url. | |
eventIds | list of eventIds to skip while browsing. |
void DisplayInformation::setSelectedSpikeFiles | ( | QValueList< QString > | files | ) | [inline] |
Sets the list of the spike files shown in the display (without cluster file associated).
files | list of the spike files. |
void DisplayInformation::setPositions | ( | QValueList< TracePosition > | positions | ) | [inline] |
void DisplayInformation::setChannelIds | ( | QValueList< int > | ids | ) | [inline] |
Sets the list of channel ids shown in the display.
ids | list of channel ids. |
void DisplayInformation::setSelectedChannelIds | ( | QValueList< int > | ids | ) | [inline] |
Sets the list channel ids selected in the display.
ids | list of channel ids. |
void DisplayInformation::setStartTime | ( | long | start | ) | [inline] |
Sets the starting time in miliseconds.
start | starting time. |
void DisplayInformation::setTimeWindow | ( | long | duration | ) | [inline] |
Sets the time window in miliseconds.
duration | time window. |
void DisplayInformation::setTabLabel | ( | QString | newLabel | ) | [inline] |
Sets the label for the display when in tab page mode.
newLabel | the new label for the display. |
void DisplayInformation::setLabelStatus | ( | int | value | ) | [inline] |
Sets if the labels next to the traces have to be displayed.
value | 1 if the labels are displayed in the view, 0 otherwise. |
void DisplayInformation::setPositionView | ( | int | present | ) | [inline] |
Sets if a PositionView is displayed.
present | 1 if a PositionView is displayed in the view, 0 otherwise. |
void DisplayInformation::setEventsInPositionView | ( | int | shown | ) | [inline] |
Sets if events are displayed in the PositionView.
shown | 1 if events are displayed in the PositionView, 0 otherwise. |
QValueList<spikeDisplayType> DisplayInformation::getSpikeDisplayTypes | ( | ) | const [inline] |
Gets the list of type of spike display used (see DisplayInformation::displayType).
mode DisplayInformation::getMode | ( | ) | const [inline] |
int DisplayInformation::getRasterHeight | ( | ) | const [inline] |
Gets the height of the rasters.
int DisplayInformation::getGreyScale | ( | ) | const [inline] |
Gets the grey-scale value.
QMap<QString, QValueList<int> > DisplayInformation::getSelectedClusters | ( | ) | const [inline] |
Gets the selected clusters by cluster file.
QMap<QString, QValueList<int> > DisplayInformation::getSelectedEvents | ( | ) | const [inline] |
Gets the selected events by event file.
QMap<QString, QValueList<int> > DisplayInformation::getSkippedClusters | ( | ) | const [inline] |
Gets the skipped clusters by cluster file.
QMap<QString, QValueList<int> > DisplayInformation::getSkippedEvents | ( | ) | const [inline] |
Gets the skipped events by event file.
QValueList<QString> DisplayInformation::getSelectedSpikeFiles | ( | ) | const [inline] |
Gets the list of the spike files shown in the display (without cluster file associated).
QValueList<TracePosition> DisplayInformation::getPositions | ( | ) | const [inline] |
QValueList<int> DisplayInformation::getChannelIds | ( | ) | const [inline] |
Gets the list of channel ids shown in the display.
QValueList<int> DisplayInformation::getSelectedChannelIds | ( | ) | const [inline] |
Gets the list channel ids selected in the display.
QString DisplayInformation::getTabLabel | ( | ) | const [inline] |
Gets the label for the display when in tab page mode.
int DisplayInformation::getLabelStatus | ( | ) | const [inline] |
Gets if the information as if the labels next to the traces have to be displayed.
long DisplayInformation::getStartTime | ( | ) | const [inline] |
Gets the starting time in miliseconds.
long DisplayInformation::getTimeWindow | ( | ) | const [inline] |
Gets the time window in miliseconds.
int DisplayInformation::isAPositionView | ( | ) | const [inline] |
Returns if a PositionView is displayed in the view.
int DisplayInformation::isEventsDisplayedInPositionView | ( | ) | const [inline] |
Returns if events are displayed in the PositionView.