| 388 | } |
| 389 | |
| 390 | mitk::Point3D mitk::Label::GetCenterOfMassCoordinates() const |
| 391 | { |
| 392 | mitk::Point3dProperty *property = dynamic_cast<mitk::Point3dProperty *>(GetProperty("center.coordinates")); |
| 393 | if (nullptr != property) |
| 394 | return property->GetValue(); |
| 395 | |
| 396 | Point3D pnt(0, 0, 0); |
| 397 | |
| 398 | return pnt; |
| 399 | } |
| 400 | |
| 401 | void mitk::Label::ResetCenterOfMass() |
| 402 | { |