![]() |
Blue Brain BioExplorer
|
The SpikeSimulationHandler handles the reading of simulation information from the database at a soma level. When attached to a model, the simulation data is communicated to the renderer by Core, and mapped to the geometry by the BioExplorer advanced renderer. More...
#include <SpikeSimulationHandler.h>
Public Member Functions | |
SpikeSimulationHandler (const std::string &populationName, const uint64_t simulationReportId) | |
SpikeSimulationHandler (const SpikeSimulationHandler &rhs) | |
void * | getFrameData (const uint32_t frame) final |
returns a void pointer to the simulation data for the given frame or nullptr if the frame is not loaded yet. More... | |
core::AbstractSimulationHandlerPtr | clone () const final |
void | setVisualizationSettings (const double restVoltage, const double spikingVoltage, const double decaySpeed) |
![]() | |
virtual | ~AbstractSimulationHandler () |
AbstractSimulationHandler & | operator= (const AbstractSimulationHandler &rhs) |
virtual PLATFORM_API void | bind (const MaterialPtr &) |
virtual PLATFORM_API void | unbind (const MaterialPtr &) |
uint32_t | getCurrentFrame () const |
uint64_t | getFrameSize () const |
getFrameSize return the size of the current simulation frame More... | |
void | setFrameSize (const uint64_t frameSize) |
setFrameSize Sets the size of the current simulation frame More... | |
uint32_t | getNbFrames () const |
getNbFrames returns the number of frame for the current simulation More... | |
void | setNbFrames (const uint32_t nbFrames) |
setNbFrames sets the number of frame for the current simulation More... | |
double | getDt () const |
const std::string & | getUnit () const |
virtual bool | isReady () const |
virtual void | waitReady () const |
Additional Inherited Members | |
![]() | |
uint32_t | _getBoundedFrame (const uint32_t frame) const |
![]() | |
uint32_t | _currentFrame {std::numeric_limits<uint32_t>::max()} |
uint32_t | _nbFrames {0} |
uint64_t | _frameSize {0} |
double | _dt {0} |
std::string | _unit |
floats | _frameData |
The SpikeSimulationHandler handles the reading of simulation information from the database at a soma level. When attached to a model, the simulation data is communicated to the renderer by Core, and mapped to the geometry by the BioExplorer advanced renderer.
Definition at line 41 of file SpikeSimulationHandler.h.
bioexplorer::morphology::SpikeSimulationHandler::SpikeSimulationHandler | ( | const std::string & | populationName, |
const uint64_t | simulationReportId | ||
) |
Definition at line 37 of file SpikeSimulationHandler.cpp.
bioexplorer::morphology::SpikeSimulationHandler::SpikeSimulationHandler | ( | const SpikeSimulationHandler & | rhs | ) |
Definition at line 71 of file SpikeSimulationHandler.cpp.
|
finalvirtual |
Implements core::AbstractSimulationHandler.
Definition at line 107 of file SpikeSimulationHandler.cpp.
|
finalvirtual |
returns a void pointer to the simulation data for the given frame or nullptr if the frame is not loaded yet.
Reimplemented from core::AbstractSimulationHandler.
Definition at line 79 of file SpikeSimulationHandler.cpp.
void bioexplorer::morphology::SpikeSimulationHandler::setVisualizationSettings | ( | const double | restVoltage, |
const double | spikingVoltage, | ||
const double | decaySpeed | ||
) |
Sets the visualization settings
Definition at line 112 of file SpikeSimulationHandler.cpp.