Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkInteriorExteriorMeshFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkInteriorExteriorMeshFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/09/30 15:24:40 $
00007   Version:   $Revision: 1.6 $
00008 
00009   Copyright (c) 2002 Insight Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm 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 #ifndef __itkInteriorExteriorMeshFilter_h
00018 #define __itkInteriorExteriorMeshFilter_h
00019 
00020 #include "itkMeshToMeshFilter.h"
00021 
00022 namespace itk
00023 {
00024 
00045 template <class TInputMesh, class TOutputMesh, class TSpatialFunction >
00046 class ITK_EXPORT InteriorExteriorMeshFilter : 
00047     public MeshToMeshFilter<TInputMesh,TOutputMesh>
00048 {
00049 public:
00051   typedef InteriorExteriorMeshFilter  Self;
00052   typedef MeshToMeshFilter<TInputMesh,TOutputMesh> Superclass;
00053   typedef SmartPointer<Self>  Pointer;
00054   typedef SmartPointer<const Self>  ConstPointer;
00055   
00056   typedef TInputMesh InputMeshType;
00057   typedef TOutputMesh OutputMeshType;
00058   typedef typename InputMeshType::Pointer InputMeshPointer;
00059   typedef typename OutputMeshType::Pointer OutputMeshPointer;
00060   
00062   typedef typename TInputMesh::CoordRepType  CoordRepType;
00063 
00065   typedef TSpatialFunction  SpatialFunctionType;
00066 
00068   itkNewMacro(Self);
00069   
00071   itkTypeMacro(InteriorExteriorMeshFilter,MeshToMeshFilter);
00072 
00074   itkSetObjectMacro( SpatialFunction, SpatialFunctionType ); 
00075 
00077   itkGetObjectMacro( SpatialFunction, SpatialFunctionType ); 
00078 
00079 protected:
00080   InteriorExteriorMeshFilter();
00081   ~InteriorExteriorMeshFilter() {};
00082   void PrintSelf(std::ostream& os, Indent indent) const;
00083   
00085   virtual void GenerateData( void );
00086 
00088   typename SpatialFunctionType::Pointer   m_SpatialFunction;
00089 
00090 private:
00091   InteriorExteriorMeshFilter(const InteriorExteriorMeshFilter&); //purposely not implemented
00092   void operator=(const InteriorExteriorMeshFilter&); //purposely not implemented
00093   
00094 };
00095 
00096 } // end namespace itk
00097 
00098 #ifndef ITK_MANUAL_INSTANTIATION
00099 #include "itkInteriorExteriorMeshFilter.txx"
00100 #endif
00101 
00102 #endif

Generated at Wed Mar 12 01:13:03 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000