MCPcopy Create free account
hub / github.com/MITK/MITK / SetClosed

Method SetClosed

Modules/ContourModel/src/DataManagement/mitkContourModel.cpp:273–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273void mitk::ContourModel::SetClosed(bool isClosed, TimeStepType timestep)
274{
275 if (!this->IsEmptyTimeStep(timestep))
276 {
277 this->m_ContourSeries[timestep]->SetClosed(isClosed);
278 this->InvokeEvent(ContourModelClosedEvent());
279 this->Modified();
280 this->m_UpdateBoundingBox = true;
281 }
282}
283
284bool mitk::ContourModel::IsEmptyTimeStep(unsigned int t) const
285{

Callers 12

InitializeMethod · 0.95
CreateBrushContourMethod · 0.45
CreateGapContourMethod · 0.45
OnMousePressedMethod · 0.45
MouseMovedMethod · 0.45
OnDeletePointMethod · 0.45
OnMovePointMethod · 0.45
GenerateDataMethod · 0.45
OpenAndCloseMethod · 0.45
TestInvalidTimeStepFunction · 0.45

Calls 2

IsEmptyTimeStepMethod · 0.95
ModifiedMethod · 0.45

Tested by 2

OpenAndCloseMethod · 0.36
TestInvalidTimeStepFunction · 0.36