Medical Imaging Interaction Toolkit  2025.12.02
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
14 #define mitkLineOperation_h
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
#define MITKDATATYPESEXT_EXPORT
Operation, that holds everything necessary for an operation on a cell.
Operation, that holds everything necessary for an operation on a line. Stores everything for de-/ sel...
LineOperation(OperationType operationType, int cellId=-1, int pIdA=-1, int pIdB=-1, int id=-1)
LineOperation(OperationType operationType, int cellId, Vector3D vector, int pIdA=-1, int pIdB=-1, int id=-1)
constructor.
mitkClassMacro(LineOperation, CellOperation)
Find image slices visible on a given plane.
int OperationType
Definition: mitkOperation.h:23