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

itkQuadEdgeMeshEulerOperatorFlipEdgeFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkQuadEdgeMeshEulerOperatorFlipEdgeFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-02-10 05:07:49 $
00007   Version:   $Revision: 1.5 $
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 __itkQuadEdgeMeshEulerOperatorFlipEdgeFunction_h
00018 #define __itkQuadEdgeMeshEulerOperatorFlipEdgeFunction_h
00019 
00020 #include "itkQuadEdgeMeshFunctionBase.h"
00021 
00022 namespace itk
00023 {
00037 template < class TMesh, class TQEType >
00038 class ITK_EXPORT QuadEdgeMeshEulerOperatorFlipEdgeFunction :
00039    public QuadEdgeMeshFunctionBase< TMesh, TQEType* >
00040 {
00041 public:
00042 
00044   typedef QuadEdgeMeshEulerOperatorFlipEdgeFunction       Self;
00045   typedef QuadEdgeMeshFunctionBase< TMesh, TQEType* >     Superclass;
00046   typedef SmartPointer< Self >                            Pointer;
00047   typedef SmartPointer< const Self >                      ConstPointer;
00048 
00049   itkNewMacro( Self );
00051   itkTypeMacro( QuadEdgeMeshEulerOperatorFlipEdgeFunction,
00052     QuadEdgeMeshFunctionBase );
00053 
00055   typedef TQEType QEType;
00056 
00057   typedef typename Superclass::MeshType   MeshType;
00058   typedef typename Superclass::OutputType OutputType;
00059 
00060   enum EdgeStatusType
00061   {
00062     STANDARD_CONFIG = 0,
00063     EDGE_NULL,
00064     MESH_NULL,
00065     NON_INTERNAL_EDGE,
00066     NON_TRIANGULAR_RIGHT_FACE,
00067     NON_TRIANGULAR_LEFT_FACE,
00068     EXISTING_OPPOSITE_EDGE
00069   };
00070 
00072   virtual OutputType Evaluate( QEType* h );
00073 
00074   // itkGetMacro( EdgeStatus, EdgeStatusType );
00075 
00076 protected:
00077   QuadEdgeMeshEulerOperatorFlipEdgeFunction();
00078   ~QuadEdgeMeshEulerOperatorFlipEdgeFunction(){}
00079 
00080   void PrintSelf(std::ostream& os, Indent indent) const;
00081   EdgeStatusType m_EdgeStatus;
00082 
00083   void CheckStatus( QEType* h );
00084 
00085   OutputType Process( QEType* h );
00086 
00087 private:
00088   //purposely not implemented
00089   QuadEdgeMeshEulerOperatorFlipEdgeFunction(const Self& );
00090   //purposely not implemented
00091   void operator=(const Self& );
00092 
00093 };
00094 
00095 } // namespace itkQE
00096 
00097 #include "itkQuadEdgeMeshEulerOperatorFlipEdgeFunction.txx"
00098 
00099 #endif
00100 
00101 // eof - $RCSfile: itkQuadEdgeMeshEulerOperatorFlipEdgeFunction.h,v $
00102 

Generated at Sat Feb 28 13:20:00 2009 for ITK by doxygen 1.5.6 written by Dimitri van Heesch, © 1997-2000