Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkCellOperation.cpp
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 #include "mitkCellOperation.h"
18 
19 mitk::CellOperation::CellOperation(OperationType operationType, int cellId, Vector3D vector)
20  : mitk::Operation(operationType), m_CellId(cellId), m_Vector(vector)
21 {
22 }
23 
25  : mitk::Operation(operationType), m_CellId(cellId)
26 {
27  m_Vector.Fill(0);
28 }
Base class of all Operation-classes.
Definition: mitkOperation.h:33
DataCollection - Class to facilitate loading/accessing structured data.
CellOperation(OperationType operationType, int cellId, Vector3D vector)
constructor
int OperationType
Definition: mitkOperation.h:27