00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision$ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 00019 #include <mitkDrawOperation.h> 00020 00021 00022 mitk::DrawOperation::DrawOperation(OperationType operationType, Point3D point, Point3D last_point, int draw_state, int radius) 00023 : Operation(operationType), m_Point(point), m_LastPoint(last_point), m_DrawState(draw_state), m_Radius(radius) 00024 {} 00025 00026 00027 mitk::DrawOperation::~DrawOperation() 00028 { 00029 } 00030 00031 00032 mitk::Point3D mitk::DrawOperation::GetPoint() 00033 { 00034 return m_Point; 00035 } 00036 00037 mitk::Point3D mitk::DrawOperation::GetLastPoint() 00038 { 00039 return m_LastPoint; 00040 } 00041 00042 int mitk::DrawOperation::GetDrawState() 00043 { 00044 return m_DrawState; 00045 } 00046 00047 int mitk::DrawOperation::GetRadius() 00048 { 00049 return m_Radius; 00050 } 00051 00052 mitk::SeedsImage::Pointer mitk::DrawOperation::GetSeedsImage() 00053 { 00054 return m_SeedsImage; 00055 } 00056 00057 mitk::SeedsImage::Pointer mitk::DrawOperation::GetLastSeedsImage() 00058 { 00059 return m_LastSeedsImage; 00060 }