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.h
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 
17 #ifndef MITKMEASUREMENTFRAMEPROPERTY_H
18 #define MITKMEASUREMENTFRAMEPROPERTY_H
19 
20 #include "mitkBaseProperty.h"
21 #include <vnl/vnl_matrix_fixed.h>
22 
24 
25 namespace mitk
26 {
27 
30  {
31  public:
32  typedef vnl_matrix_fixed< double, 3, 3 > MeasurementFrameType;
34 
35  itkFactorylessNewMacro(Self)
36  itkCloneMacro(Self)
37 
38  mitkNewMacro1Param(MeasurementFrameProperty, const MeasurementFrameProperty&);
39  mitkNewMacro1Param(MeasurementFrameProperty, const MeasurementFrameType&);
40 
41  const MeasurementFrameType &GetMeasurementFrame() const;
42  void SetMeasurementFrame(const MeasurementFrameType & frame);
43 
44  protected:
45 
46  MeasurementFrameProperty();
47  ~MeasurementFrameProperty();
48 
49  MeasurementFrameProperty(const MeasurementFrameProperty& other);
50  MeasurementFrameProperty(const MeasurementFrameType& measurementFrame);
51 
52  virtual bool IsEqual(const BaseProperty& property) const override;
53  virtual bool Assign(const BaseProperty & property) override;
54 
55  MeasurementFrameType m_MeasurementFrame;
56 
57  virtual itk::LightObject::Pointer InternalClone() const override;
58  };
59 }
60 #endif
vnl_matrix_fixed< double, 3, 3 > MeasurementFrameType
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKDIFFUSIONCORE_EXPORT
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44