MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / setCurrentLayer

Method setCurrentLayer

src/openms_gui/source/VISUAL/PlotCanvas.cpp:890–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888 }
889
890 void LayerStack::setCurrentLayer(Size index)
891 {
892 if (index >= layers_.size())
893 {
894 throw Exception::IndexOverflow(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, index, layers_.size());
895 }
896 current_layer_ = index;
897 }
898
899 Size LayerStack::getCurrentLayerIndex() const
900 {

Callers 3

activateLayerMethod · 0.80
activateLayerMethod · 0.80
activateLayerMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected