/*============================================================================= NOTE: THIS FILE IS A HANDMADE WRAPPER FOR THE ManagedITK PROJECT. Project: ManagedITK Program: Insight Segmentation & Registration Toolkit Module: itkManagedNeighborhoodOperator.cxx Language: C++/CLI Author: Dan Mueller $Date: 2007-04-11 16:26:16 +1000 (Wed, 11 Apr 2007) $ $Revision: 128 $ 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 __itkManagedNeighborhoodOperator_cxx #define __itkManagedNeighborhoodOperator_cxx // Include some useful ITK headers // Include some useful ManagedITK files #include "itkManagedNeighborhood.cxx" // Use some managed namespaces #using #using using namespace System; using namespace System::IO; using namespace System::Reflection; using namespace System::Diagnostics; namespace itk { /// ///This class is a managed wrapper for itk::Neighborhood. /// public ref class itkNeighborhoodOperator abstract : itk::itkNeighborhood { public: ///Default constructor. itkNeighborhoodOperator(){} ///Get/set the dimensional direction (dimension number) of a directional operator. property unsigned long Direction { virtual unsigned long get()=0; virtual void set(unsigned long value)=0; } /// ///Creates the operator with length only in the specified direction. ///The radius of the operator will be 0 except along the axis on which ///the operator will work. /// virtual void CreateDirectional() = 0; }; // end ref class } // end namespace itk #endif