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

Method GetCenterOfMassMTime

Modules/Multilabel/src/mitkLabel.cpp:407–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407itk::ModifiedTimeType mitk::Label::GetCenterOfMassMTime() const
408{
409 auto centerProp = this->GetConstProperty("center.index");
410 if (centerProp.IsNotNull())
411 return centerProp->GetMTime();
412
413 return 0;
414}
415
416void mitk::Label::UpdateCenterOfMass(const mitk::Point3D& index, const mitk::Point3D& coordinates)
417{

Callers 2

UpdateCenterOfMassMethod · 0.80

Calls 3

GetConstPropertyMethod · 0.95
IsNotNullMethod · 0.80
GetMTimeMethod · 0.45

Tested by

no test coverage detected