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

Method InitializeEmpty

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

Source from the content-addressed store, hash-verified

639}
640
641void mitk::ContourModel::InitializeEmpty()
642{
643 // clear data at timesteps
644 this->m_ContourSeries.resize(0);
645 this->m_ContourSeries.push_back(ContourElement::New());
646
647 // set number of timesteps to one
648 this->InitializeTimeGeometry(1);
649
650 m_SelectedVertex = nullptr;
651 this->m_lineInterpolation = ContourModel::LINEAR;
652}
653
654void mitk::ContourModel::UpdateOutputInformation()
655{

Callers 3

ContourModelMethod · 0.95
ClearMethod · 0.95
InitializeMethod · 0.95

Calls 2

NewFunction · 0.50

Tested by

no test coverage detected