/*============================================================================= NOTE: THIS FILE IS A HANDMADE WRAPPER FOR THE ManagedITK PROJECT. Project: ManagedITK Program: Insight Segmentation & Registration Toolkit Module: itkManagedPathSource.cxx Language: C++/CLI Author: Dan Mueller Date: $Date: 2007-09-01 06:17:25 +1000 (Sat, 01 Sep 2007) $ Revision: $Revision: 2 $ Copyright (c) Queensland University of Technology (QUT) 2007. All rights reserved. Portions of this code are covered under the ITK and VTK copyright. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =============================================================================*/ #pragma once #pragma warning( disable : 4635 ) // Disable warnings about XML doc comments #ifndef __itkManagedImageSource_cxx #define __itkManagedImageSource_cxx // Include some useful ManagedITK files #include "itkManagedProcessObject.cxx" #include "itkManagedParametricPath.cxx" // Use some managed namespaces #using #using using namespace System; using namespace System::IO; using namespace System::Reflection; using namespace System::Diagnostics; using namespace System::Collections::Generic; namespace itk { /// ///This class is a managed replacement for itk::PathSource. /// /// ///PathSource is the base class for all process objects that output ///path data. Specifically, this class defines the GetOutput() method ///that returns a pointer to the output path. The class also defines ///some internal private data members that are used to manage streaming ///of data. /// public ref class itkPathSource abstract : itkProcessObject { protected: ///Protected constructor. ///A string representing the name of the ProcessObject. itkPathSource( String^ name ) : itkProcessObject( name ) { } public: ///Get the first output of the filter object. ///The itkParametricPath to make as the output. virtual void GetOutput(itkParametricPath^ output) = 0; ///Get the specified output of the filter object. ///The itkParametricPath to make as the output. virtual void GetOutput(unsigned int index, itkParametricPath^ output) = 0; ///Get the specified output of the filter object. ///The output as an IntPtr. virtual System::IntPtr GetOutput( unsigned int index ) = 0; ///Get the first output of the filter object. ///The output as an IntPtr. virtual System::IntPtr GetOutput( ) = 0; }; // end ref class } // end namespace itk #endif