| 362 | } |
| 363 | |
| 364 | mitk::Point3D mitk::Label::GetCenterOfMassIndex() const |
| 365 | { |
| 366 | mitk::Point3dProperty *property = dynamic_cast<mitk::Point3dProperty *>(GetProperty("center.index")); |
| 367 | if (nullptr!= property) |
| 368 | return property->GetValue(); |
| 369 | |
| 370 | Point3D pnt(0, 0, 0); |
| 371 | |
| 372 | return pnt; |
| 373 | } |
| 374 | |
| 375 | void mitk::Label::SetCenterOfMassCoordinates(const mitk::Point3D ¢er) |
| 376 | { |