Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkPlanarFigureComposite.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 _MITK_PLANARFIGURECOMPOSITE_H
18 #define _MITK_PLANARFIGURECOMPOSITE_H
19 
20 #include "mitkCommon.h"
21 #include "mitkBaseData.h"
22 #include <MitkFiberTrackingExports.h>
23 #include "mitkPlanarFigure.h"
24 #include "itkVectorContainer.h"
25 #include "mitkDataNode.h"
26 
27 
28 namespace mitk {
29 
30 class MITKFIBERTRACKING_EXPORT PlanarFigureComposite : public BaseData
31 {
32 
33 public:
34 
36  AND,
37  OR,
38  NOT
39  };
40 
42  itkFactorylessNewMacro(Self)
43  itkCloneMacro(Self)
44 
45  virtual void SetRequestedRegionToLargestPossibleRegion() override;
46  virtual bool RequestedRegionIsOutsideOfTheBufferedRegion() override;
47  virtual bool VerifyRequestedRegion() override;
48  virtual void SetRequestedRegion(const itk::DataObject*) override;
49 
50  // set if this compsition is AND, OR, NOT
51  void setOperationType(OperationType);
52  OperationType getOperationType() const;
53 
54 protected:
56  virtual ~PlanarFigureComposite();
57 
58  PlanarFigureComposite(const Self& other);
59 
60 private:
61  OperationType m_compOperation;
62 };
63 }
64 
65 #endif
Base of all data objects.
Definition: mitkBaseData.h:39
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
int OperationType
Definition: mitkOperation.h:27