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

Method addLayer

src/openms_gui/source/VISUAL/PlotCanvas.cpp:402–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 }
401
402 bool PlotCanvas::addLayer(std::unique_ptr<LayerData1DBase> new_layer)
403 {
404 setBaseLayerParameters(new_layer.get(), param_, new_layer->filename);
405 layers_.addLayer(std::move(new_layer));
406
407 return finishAdding_();
408 }
409
410 bool PlotCanvas::addPeakLayer(const ExperimentSharedPtrType& map, ODExperimentSharedPtrType od_map, const String& filename, const bool use_noise_cutoff)
411 {

Callers 6

addPeakLayerMethod · 0.80
addChromLayerMethod · 0.80
showProjections_Method · 0.80
showSpectrumAsNew1DMethod · 0.80
showSpectrumAsNew1DMethod · 0.80
addDataMethod · 0.80

Calls 6

setBaseLayerParametersFunction · 0.85
getMethod · 0.45
rbeginMethod · 0.45
rendMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45

Tested by 1

showSpectrumAsNew1DMethod · 0.64