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

itkQuadEdgeMeshFunctionBase.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkQuadEdgeMeshFunctionBase.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-02-07 15:07:58 $
00007   Version:   $Revision: 1.6 $
00008 
00009   Copyright (c) Insight Software 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 
00018 #ifndef __itkQuadEdgeMeshFunctionBase_h
00019 #define __itkQuadEdgeMeshFunctionBase_h
00020 
00021 #include <itkObject.h>
00022 #include <itkObjectFactory.h>
00023 
00024 namespace itk
00025 {
00026 
00054 template < class TMesh, class TOutput >
00055 class ITK_EXPORT QuadEdgeMeshFunctionBase : public Object
00056 {
00057 public:
00058 
00060   typedef QuadEdgeMeshFunctionBase      Self;
00061   typedef Object                        Superclass;
00062   typedef SmartPointer<Self>            Pointer;
00063   typedef SmartPointer<const Self>      ConstPointer;
00064 
00066   itkTypeMacro(QuadEdgeMeshFunctionBase, Object);
00067 
00069   typedef TMesh                           MeshType;
00070   typedef typename MeshType::EdgeCellType EdgeCellType;
00071 
00073   typedef TOutput OutputType;
00074 
00076   virtual void SetInput( MeshType* input )
00077     {
00078     this->m_Mesh = input;
00079     }
00080 
00082   //virtual OutputType Evaluate( )
00083   //  {
00084   //  return( (OutputType) 0 );
00085   //  }
00086 
00087 protected:
00088   QuadEdgeMeshFunctionBase()
00089     {
00090     m_Mesh = (MeshType*) 0;
00091     }
00092   ~QuadEdgeMeshFunctionBase(){};
00093 
00094 private:
00095   QuadEdgeMeshFunctionBase(const Self& ); //purposely not implemented
00096   void operator=(const Self& );   //purposely not implemented
00097 
00098 protected:
00100   MeshType* m_Mesh;
00101 
00102 };
00103 
00104 } // namespace itk
00105 
00106 #endif
00107 
00108 // eof - $RCSfile: itkQuadEdgeMeshFunctionBase.h,v $
00109 

Generated at Mon Jul 12 2010 19:31:49 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000