00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Module: $RCSfile$ 00005 Language: C++ 00006 Date: $Date$ 00007 Version: $Revision$ 00008 00009 Copyright (c) German Cancer Research Center, Division of Medical and 00010 Biological Informatics. All rights reserved. 00011 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00012 00013 This software is distributed WITHOUT ANY WARRANTY; without even 00014 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00015 PURPOSE. See the above copyright notices for more information. 00016 00017 =========================================================================*/ 00018 00019 00020 #ifndef _mitkpointsettopointsetfilter_h 00021 #define _mitkpointsettopointsetfilter_h 00022 00023 #include "mitkCommon.h" 00024 #include "mitkPointSetSource.h" 00025 00026 namespace mitk 00027 { 00033 class MITK_CORE_EXPORT PointSetToPointSetFilter : public PointSetSource 00034 { 00035 public: 00036 mitkClassMacro( PointSetToPointSetFilter, PointSetSource ); 00037 00038 itkNewMacro( Self ); 00039 00040 typedef mitk::PointSet InputType; 00041 00042 typedef mitk::PointSet OutputType; 00043 00044 typedef InputType::Pointer InputTypePointer; 00045 00046 typedef InputType::ConstPointer InputTypeConstPointer; 00047 00052 virtual void SetInput( const InputType* input ); 00053 00058 virtual void SetInput( const unsigned int& idx, const InputType* input ); 00059 00063 const InputType * GetInput( void ); 00064 00069 const InputType * GetInput( const unsigned int& idx ); 00070 00071 protected: 00072 00076 PointSetToPointSetFilter(); 00077 00081 virtual ~PointSetToPointSetFilter(); 00082 00083 private: 00084 00085 void operator=( const Self& ); //purposely not implemented 00086 } 00087 ; 00088 00089 } //end of namespace mitk 00090 00091 #endif 00092 00093