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

itkQuadEdgeMeshEulerOperatorDeleteCenterVertexFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkQuadEdgeMeshEulerOperatorDeleteCenterVertexFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-02-07 15:07:57 $
00007   Version:   $Revision: 1.3 $
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 #ifndef __itkQuadEdgeMeshEulerOperatorDeleteCenterVertexFunction_h
00018 #define __itkQuadEdgeMeshEulerOperatorDeleteCenterVertexFunction_h
00019 
00020 #include "itkQuadEdgeMeshFunctionBase.h"
00021 
00022 namespace itk
00023 {
00031 template < class TMesh, class TQEType >
00032 class ITK_EXPORT QuadEdgeMeshEulerOperatorDeleteCenterVertexFunction :
00033    public QuadEdgeMeshFunctionBase< TMesh, TQEType* >
00034 {
00035 public:
00036 
00038   typedef QuadEdgeMeshEulerOperatorDeleteCenterVertexFunction     Self;
00039   typedef QuadEdgeMeshFunctionBase< TMesh, TQEType* >             Superclass;
00040   typedef SmartPointer< Self >                                    Pointer;
00041   typedef SmartPointer< const Self >                              ConstPointer;
00042 
00043   itkNewMacro( Self );
00045   itkTypeMacro( QuadEdgeMeshEulerOperatorDeleteCenterVertexFunction, QuadEdgeMeshFunctionBase );
00046 
00048   typedef TQEType QEType;
00049 
00050   typedef typename Superclass::MeshType   MeshType;
00051   typedef typename Superclass::OutputType OutputType;
00052 
00053   typedef typename MeshType::PointIdentifier PointIdentifier;
00054   typedef typename MeshType::FaceRefType     FaceRefType;
00055 
00057   virtual OutputType Evaluate( QEType* e );
00058   PointIdentifier GetOldPointID( )
00059     {
00060     return( this->m_OldPointID );
00061     }
00062 protected:
00063   QuadEdgeMeshEulerOperatorDeleteCenterVertexFunction(){};
00064   ~QuadEdgeMeshEulerOperatorDeleteCenterVertexFunction(){};
00066 
00067 private:
00068   QuadEdgeMeshEulerOperatorDeleteCenterVertexFunction(const Self& );
00069   //purposely not implemented
00070   void operator=(const Self& );
00071   //purposely not implemented
00072   PointIdentifier m_OldPointID;
00073 
00074 };
00075 
00076 } // namespace itk
00077 
00078 #include "itkQuadEdgeMeshEulerOperatorDeleteCenterVertexFunction.txx"
00079 
00080 #endif
00081 
00082 // eof - $RCSfile: itkQuadEdgeMeshEulerOperatorDeleteCenterVertexFunction.h,v $
00083 

Generated at Tue Sep 15 04:27:13 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000