Medical Imaging Interaction Toolkit  2021.10.99-fd647480
Medical Imaging Interaction Toolkit
mitkLineOperation.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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef MITKLINEOPERATION_H_INCLUDED
14 #define MITKLINEOPERATION_H_INCLUDED
15 
17 #include "mitkCellOperation.h"
18 #include "mitkCommon.h"
19 
20 namespace mitk
21 {
27  {
28  public:
38  LineOperation(OperationType operationType, int cellId, Vector3D vector, int pIdA = -1, int pIdB = -1, int id = -1);
39  LineOperation(OperationType operationType, int cellId = -1, int pIdA = -1, int pIdB = -1, int id = -1);
40 
41  ~LineOperation() override{};
42 
43  // int GetCellId();
44  int GetPIdA();
45  int GetPIdB();
46  int GetId();
47 
48  protected:
49  // int m_CellId;
50  int m_PIdA;
51  int m_PIdB;
52  int m_Id;
53  };
54 } // namespace mitk
55 #endif /* MITKLINEOPERATION_H_INCLUDED*/
#define MITKDATATYPESEXT_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Operation, that holds everything necessary for an operation on a line. Stores everything for de-/ sel...
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
Operation, that holds everything necessary for an operation on a cell.
int OperationType
Definition: mitkOperation.h:23