Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkMeasurementFrameProperty.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
18 
20  : m_MeasurementFrame()
21 {
22 }
23 
25  : mitk::BaseProperty(other)
26 {
28 }
29 
31 {
32  m_MeasurementFrame = measurementFrame;
33 }
34 
36 {
37 }
38 
40 {
41  return m_MeasurementFrame;
42 }
43 
45 {
46  m_MeasurementFrame = frame;
47 }
48 
50 {
51  return this->m_MeasurementFrame == static_cast<const Self&>(property).m_MeasurementFrame;
52 }
53 
55 {
56  this->m_MeasurementFrame = static_cast<const Self&>(property).m_MeasurementFrame;
57  return true;
58 }
59 
61 {
62  itk::LightObject::Pointer result(new Self(*this));
63  result->UnRegister();
64  return result;
65 }
itk::SmartPointer< Self > Pointer
vnl_matrix_fixed< double, 3, 3 > MeasurementFrameType
virtual itk::LightObject::Pointer InternalClone() const override
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.
const MeasurementFrameType & GetMeasurementFrame() const
virtual bool IsEqual(const BaseProperty &property) const override
virtual bool Assign(const BaseProperty &property) override
void SetMeasurementFrame(const MeasurementFrameType &frame)