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

itkQuadEdgeMeshEulerOperatorCreateCenterVertexFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkQuadEdgeMeshEulerOperatorCreateCenterVertexFunction.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 __itkQuadEdgeMeshEulerOperatorCreateCenterVertexFunction_h
00018 #define __itkQuadEdgeMeshEulerOperatorCreateCenterVertexFunction_h
00019 
00020 #include "itkQuadEdgeMeshFunctionBase.h"
00021 
00022 namespace itk
00023 {
00031 template < class TMesh, class TQEType >
00032 class ITK_EXPORT QuadEdgeMeshEulerOperatorCreateCenterVertexFunction :
00033    public QuadEdgeMeshFunctionBase< TMesh, TQEType* >
00034 {
00035 public:
00036 
00038   typedef QuadEdgeMeshEulerOperatorCreateCenterVertexFunction     Self;
00039   typedef QuadEdgeMeshFunctionBase< TMesh, TQEType* >             Superclass;
00040   typedef SmartPointer< Self >                                    Pointer;
00041   typedef SmartPointer< const Self >                              ConstPointer;
00042 
00043   itkNewMacro( Self );
00045   itkTypeMacro( QuadEdgeMeshEulerOperatorCreateCenterVertexFunction, 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::PointType                 PointType;
00055   typedef typename MeshType::CoordRepType              CoordRepType;
00056   typedef typename MeshType::VectorType                VectorType;
00057 
00059   virtual OutputType Evaluate( QEType* e );
00060   PointIdentifier GetNewPointID( )
00061     {
00062     return( this->m_NewPointID );
00063     };
00065 
00066 protected:
00067   QuadEdgeMeshEulerOperatorCreateCenterVertexFunction( )
00068     {
00069     this->m_NewPointID = (PointIdentifier)0;
00070     }
00071 
00072   ~QuadEdgeMeshEulerOperatorCreateCenterVertexFunction( ) { };
00073 
00074 private:
00075   QuadEdgeMeshEulerOperatorCreateCenterVertexFunction( const Self& );
00076   //purposely not implemented
00077   void operator=( const Self& );
00078   //purposely not implemented
00079   PointIdentifier m_NewPointID;
00080 
00081 };
00082 
00083 } // namespace itk
00084 
00085 #include "itkQuadEdgeMeshEulerOperatorCreateCenterVertexFunction.txx"
00086 
00087 #endif // __ITKQUADEDGEMESH__ITKQEEULEROPERATORCREATECENTERVERTEXFUNCTION__H__
00088 
00089 // eof - $RCSfile: itkQuadEdgeMeshEulerOperatorCreateCenterVertexFunction.h,v $
00090 

Generated at Tue Jul 29 21:50:02 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000