#include <LayerWidget.h>
Definition at line 47 of file LayerWidget.h.
|
||||||||||||||||
|
Constructor. Definition at line 49 of file LayerWidget.cpp. References addAllLayersToTable(), deleteButt, deleteLayer(), deviceDBInterface, editLayerProperties(), hidePixmap, layerManager, layerPropertiesPopup, layerTable, networkDBInterface, newLayer(), newLayerButt, showPixmap, tableClicked(), tableHeaderClicked(), SpikeStreamMainWindow::workingDirectory, zoomAbovePixmapHighlight, zoomClickCount, zoomLayerRow, zoomToPixmap, and zoomToPixmapHighlight. |
|
|
Destructor. Definition at line 139 of file LayerWidget.cpp. References hidePixmap, layerManager, showPixmap, zoomAbovePixmapHighlight, zoomToPixmap, and zoomToPixmapHighlight. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
|
Works through all the layers and adds them to the table. Definition at line 605 of file LayerWidget.cpp. References addLayerToTable(), clearTable(), and networkDBInterface. Referenced by LayerWidget(), and reloadNeuronGroups(). |
|
|
Adds an individual layer to the table. Definition at line 645 of file LayerWidget.cpp. References getNeuronTypeDescription(), layerTable, networkDBInterface, showPixmap, viewVector, and zoomToPixmap. Referenced by addAllLayersToTable(), editLayerProperties(), and newLayer(). |
|
|
Clears the table and resets the appropriate variables. Definition at line 719 of file LayerWidget.cpp. References layerTable, viewVector, zoomClickCount, and zoomLayerRow. Referenced by addAllLayersToTable(). |
|
|
Deletes a layer from the table and instructs connection manager to delete the layer from the database along with all associated connections. Definition at line 191 of file LayerWidget.cpp. References connectionWidget, ConnectionWidget::deleteLayerConnections(), LayerManager::deleteLayers(), NetworkViewer::deleteNeuronGroup(), SpikeStreamMainWindow::getNetworkViewer(), layerManager, layerTable, NetworkViewer::loadDefaultClippingVolume(), SpikeStreamMainWindow::reloadConnections(), SpikeStreamMainWindow::reloadNeuronGroups(), removeLayerFromTable(), NetworkViewer::resetView(), BusyDialog::showDialog(), SpikeStreamMainWindow::spikeStreamApplication, and SpikeStreamMainWindow::spikeStrMainWin. Referenced by LayerWidget(). |
|
|
|
Returns the description of a particular neuron type. Definition at line 730 of file LayerWidget.cpp. References networkDBInterface. Referenced by addLayerToTable(). |
|
|
Creates a new layer. Definition at line 414 of file LayerWidget.cpp. References addLayerToTable(), LayerManager::createLayer(), deviceDBInterface, SpikeStreamMainWindow::getNetworkViewer(), LayerPropertiesDialog::getNeuronGroup(), layerManager, NetworkViewer::loadDefaultClippingVolume(), NetworkViewer::loadNeuronGroup(), networkDBInterface, SpikeStreamMainWindow::reloadNeuronGroups(), NetworkViewer::resetView(), and SpikeStreamMainWindow::spikeStrMainWin. Referenced by LayerWidget(). |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
|
Reloads neuron groups when database has changed. Definition at line 158 of file LayerWidget.cpp. References addAllLayersToTable(). Referenced by SpikeStreamMainWindow::reloadEverything(). |
|
|
Removes the indicated neuronGrp from the table. Definition at line 762 of file LayerWidget.cpp. References layerTable, and viewVector. Referenced by deleteLayer(), and editLayerProperties(). |
|
|
Need communication between layer widget and connection widget to enable layer widget to delete connections to layers that are being deleted. Definition at line 165 of file LayerWidget.cpp. References connectionWidget, layerManager, and LayerManager::setConnectionWidget(). Referenced by SpikeStreamMainWindow::SpikeStreamMainWindow(). |
|
|
Called when simulation is initialised to disable editing. Definition at line 172 of file LayerWidget.cpp. References deleteButt, and newLayerButt. Referenced by SpikeStreamMainWindow::simulationDestroyed(). |
|
|
Called when simulation is destroyed to enable editing. Definition at line 179 of file LayerWidget.cpp. References deleteButt, and newLayerButt. Referenced by SpikeStreamMainWindow::simulationInitialised(). |
|
||||||||||||||||||||
|
Displays the popup menu if the right mouse button has been clicked. Otherwise controls the zoom and viewing of the layer. Definition at line 473 of file LayerWidget.cpp. References activeRow, SpikeStreamMainWindow::getNetworkViewer(), hidePixmap, layerPropertiesPopup, layerTable, NetworkViewer::setLayerView(), showPixmap, SpikeStreamMainWindow::spikeStrMainWin, viewVector, NetworkViewer::zoomAboveLayer(), zoomAbovePixmapHighlight, zoomClickCount, zoomLayerRow, NetworkViewer::zoomToLayer(), zoomToPixmap, and zoomToPixmapHighlight. Referenced by LayerWidget(). |
|
|
Used to select all layers or deselect all layers for deletion or zooming. Definition at line 552 of file LayerWidget.cpp. References SpikeStreamMainWindow::getNetworkViewer(), hidePixmap, layerTable, NetworkViewer::setLayerView(), showPixmap, SpikeStreamMainWindow::spikeStrMainWin, and viewVector. Referenced by LayerWidget(). |
|
|
Definition at line 82 of file LayerWidget.h. Referenced by editLayerProperties(), and tableClicked(). |
|
|
Definition at line 74 of file LayerWidget.h. Referenced by deleteLayer(), editLayerProperties(), and setConnectionWidget(). |
|
|
Definition at line 86 of file LayerWidget.h. Referenced by LayerWidget(), simulationDestroyed(), and simulationInitialised(). |
|
|
Definition at line 71 of file LayerWidget.h. Referenced by editLayerProperties(), LayerWidget(), and newLayer(). |
|
|
Definition at line 90 of file LayerWidget.h. Referenced by LayerWidget(), tableClicked(), tableHeaderClicked(), and ~LayerWidget(). |
|
|
Definition at line 75 of file LayerWidget.h. Referenced by deleteLayer(), editLayerProperties(), LayerWidget(), newLayer(), setConnectionWidget(), and ~LayerWidget(). |
|
|
Definition at line 81 of file LayerWidget.h. Referenced by LayerWidget(), and tableClicked(). |
|
|
Table holding all the information about the layers. Definition at line 78 of file LayerWidget.h. Referenced by addLayerToTable(), clearTable(), deleteLayer(), editLayerProperties(), LayerWidget(), removeLayerFromTable(), tableClicked(), and tableHeaderClicked(). |
|
|
Definition at line 70 of file LayerWidget.h. Referenced by addAllLayersToTable(), addLayerToTable(), editLayerProperties(), getNeuronTypeDescription(), LayerWidget(), and newLayer(). |
|
|
Definition at line 85 of file LayerWidget.h. Referenced by LayerWidget(), simulationDestroyed(), and simulationInitialised(). |
|
|
Definition at line 89 of file LayerWidget.h. Referenced by addLayerToTable(), LayerWidget(), tableClicked(), tableHeaderClicked(), and ~LayerWidget(). |
|
|
Contains the layer IDs of the visible layers. Should match the list of layer IDs in the network viewer. Definition at line 97 of file LayerWidget.h. Referenced by addLayerToTable(), clearTable(), editLayerProperties(), removeLayerFromTable(), tableClicked(), and tableHeaderClicked(). |
|
|
Definition at line 93 of file LayerWidget.h. Referenced by LayerWidget(), tableClicked(), and ~LayerWidget(). |
|
|
Records how many clicks on a layer. Definition at line 104 of file LayerWidget.h. Referenced by clearTable(), LayerWidget(), and tableClicked(). |
|
|
Records which layer is highlighted. Definition at line 101 of file LayerWidget.h. Referenced by clearTable(), LayerWidget(), and tableClicked(). |
|
|
Definition at line 91 of file LayerWidget.h. Referenced by addLayerToTable(), LayerWidget(), tableClicked(), and ~LayerWidget(). |
|
|
Definition at line 92 of file LayerWidget.h. Referenced by LayerWidget(), tableClicked(), and ~LayerWidget(). |
1.4.4