comparison layer/RegionLayer.cpp @ 1470:696e569ff21b by-id

Further layer updates for ById
author Chris Cannam
date Fri, 28 Jun 2019 17:37:22 +0100
parents 5b9692768beb
children f2525e6cbdf1
comparison
equal deleted inserted replaced
1469:11a150e65ee1 1470:696e569ff21b
59 m_colourMap(0), 59 m_colourMap(0),
60 m_colourInverted(false), 60 m_colourInverted(false),
61 m_plotStyle(PlotLines) 61 m_plotStyle(PlotLines)
62 { 62 {
63 63
64 }
65
66 int
67 RegionLayer::getCompletion(LayerGeometryProvider *) const
68 {
69 auto model = ModelById::get(m_model);
70 if (model) return model->getCompletion();
71 else return 0;
64 } 72 }
65 73
66 void 74 void
67 RegionLayer::setModel(RegionModel *model) 75 RegionLayer::setModel(RegionModel *model)
68 { 76 {