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 #ifndef MITKANGLECORRECTBYPOINTFILTER_H_HEADER_INCLUDED_C1F48A22 00020 #define MITKANGLECORRECTBYPOINTFILTER_H_HEADER_INCLUDED_C1F48A22 00021 00022 #include "mitkCommon.h" 00023 #include "MitkExtExports.h" 00024 #include "mitkImageToImageFilter.h" 00025 #include "mitkVector.h" 00026 00027 namespace mitk { 00028 00029 //##Documentation 00030 //## @brief 00031 //## @ingroup Process 00032 class MitkExt_EXPORT AngleCorrectByPointFilter : public ImageToImageFilter 00033 { 00034 public: 00035 mitkClassMacro(AngleCorrectByPointFilter, ImageToImageFilter); 00036 00037 itkNewMacro(Self); 00038 00039 itkSetMacro(Center, Point3D); 00040 itkGetConstReferenceMacro(Center, Point3D); 00041 00042 itkSetMacro(TransducerPosition, Point3D); 00043 itkGetConstReferenceMacro(TransducerPosition, Point3D); 00044 00045 itkSetMacro(PreferTransducerPositionFromProperty, bool); 00046 itkGetMacro(PreferTransducerPositionFromProperty, bool); 00047 00048 protected: 00049 00050 //##Description 00051 //## @brief Time when Header was last initialized 00052 itk::TimeStamp m_TimeOfHeaderInitialization; 00053 00054 protected: 00055 AngleCorrectByPointFilter(); 00056 00057 ~AngleCorrectByPointFilter(); 00058 00059 virtual void GenerateData(); 00060 00061 virtual void GenerateOutputInformation(); 00062 00063 virtual void GenerateInputRequestedRegion(); 00064 00065 Point3D m_TransducerPosition; 00066 Point3D m_Center; 00067 00068 bool m_PreferTransducerPositionFromProperty; 00069 }; 00070 00071 } // namespace mitk 00072 00073 #endif /* MITKANGLECORRECTBYPOINTFILTER_H_HEADER_INCLUDED_C1F48A22 */ 00074 00075