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

itkQuadEdgeMeshEulerOperatorSplitVertexFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkQuadEdgeMeshEulerOperatorSplitVertexFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-09-30 18:07:03 $
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 __itkQuadEdgeMeshEulerOperatorSplitVertexFunction_h
00018 #define __itkQuadEdgeMeshEulerOperatorSplitVertexFunction_h
00019 
00020 #include "itkQuadEdgeMeshFunctionBase.h"
00021 
00022 namespace itk
00023 {
00034 template < class TMesh, class TQEType >
00035 class ITK_EXPORT QuadEdgeMeshEulerOperatorSplitVertexFunction :
00036    public QuadEdgeMeshFunctionBase< TMesh, TQEType* >
00037 {
00038 public:
00039 
00041   typedef QuadEdgeMeshEulerOperatorSplitVertexFunction     Self;
00042   typedef QuadEdgeMeshFunctionBase< TMesh, TQEType* >      Superclass;
00043   typedef SmartPointer< Self >                             Pointer;
00044   typedef SmartPointer< const Self >                       ConstPointer;
00045 
00046   itkNewMacro( Self );
00048   itkTypeMacro( QuadEdgeMeshEulerOperatorSplitVertexFunction, QuadEdgeMeshFunctionBase );
00049 
00051   typedef TQEType QEType;
00052 
00053   typedef typename Superclass::MeshType      MeshType;
00054   typedef typename Superclass::OutputType    OutputType;
00055   typedef typename MeshType::VertexRefType   VertexRefType;
00056   typedef typename MeshType::EdgeCellType    EdgeCellType;
00057   typedef typename MeshType::PointIdentifier PointIdentifier;
00058   
00060   virtual OutputType Evaluate( QEType* e, QEType* f );
00061   PointIdentifier GetNewPointID( )
00062     {
00063     return( this->m_NewPoint );
00064     }
00066 
00067 protected:
00068   QuadEdgeMeshEulerOperatorSplitVertexFunction()
00069     {
00070     m_NewPoint = (PointIdentifier)0;
00071     }
00072   ~QuadEdgeMeshEulerOperatorSplitVertexFunction(){};
00073 
00074 private:
00075   QuadEdgeMeshEulerOperatorSplitVertexFunction(const Self& ); //purposely not implemented
00076   void operator=(const Self& );        //purposely not implemented
00077 
00078   PointIdentifier m_NewPoint; // stock newly created point ID for user.
00079 
00080 };
00081 
00082 } // namespace itk
00083 
00084 #include "itkQuadEdgeMeshEulerOperatorSplitVertexFunction.txx"
00085 
00086 #endif
00087 
00088 // eof - $RCSfile: itkQuadEdgeMeshEulerOperatorSplitVertexFunction.h,v $
00089 

Generated at Wed Nov 5 23:41:47 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000