Medical Imaging Interaction Toolkit  2023.12.99-101158b3
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
mitk::LineOperation
Operation, that holds everything necessary for an operation on a line. Stores everything for de-/ sel...
Definition: mitkLineOperation.h:26
mitk::CellOperation
Operation, that holds everything necessary for an operation on a cell.
Definition: mitkCellOperation.h:27
mitk::LineOperation::~LineOperation
~LineOperation() override
Definition: mitkLineOperation.h:41
MitkDataTypesExtExports.h
MITKDATATYPESEXT_EXPORT
#define MITKDATATYPESEXT_EXPORT
Definition: MitkDataTypesExtExports.h:15
mitk::LineOperation::m_PIdA
int m_PIdA
Definition: mitkLineOperation.h:50
mitk::LineOperation::m_PIdB
int m_PIdB
Definition: mitkLineOperation.h:51
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::LineOperation::m_Id
int m_Id
Definition: mitkLineOperation.h:52
mitk::Vector< ScalarType, 3 >
mitkCommon.h
mitk::OperationType
int OperationType
Definition: mitkOperation.h:23
mitkCellOperation.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36