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

itkQuadEdgeMeshBoundaryEdgesMeshFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkQuadEdgeMeshBoundaryEdgesMeshFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007/02/26 15:46:55 $
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 // -------------------------------------------------------------------------
00018 // This code is an implementation of the well known quad edge (QE) data
00019 // structure in the ITK library. Although the original QE can handle non
00020 // orientable 2-manifolds and its dual and its mirror, this implementation
00021 // is specifically dedicated to handle orientable 2-manifolds along with
00022 // their dual.
00023 //
00024 // Any comment, criticism and/or donation is welcome.
00025 //
00026 // Please contact any member of the team:
00027 //
00028 // - The frog master (Eric Boix)       eboix@ens-lyon.fr
00029 // - The duck master (Alex Gouaillard) alexandre.gouaillard@sun.com
00030 // - The cow  master (Leonardo Florez) florez@creatis.insa-lyon.fr
00031 // -------------------------------------------------------------------------
00032 #ifndef __itkQuadEdgeMeshBoundaryEdgesMeshFunction_h
00033 #define __itkQuadEdgeMeshBoundaryEdgesMeshFunction_h
00034 
00035 
00036 #include<itkFunctionBase.h>
00037 
00038 namespace itk
00039 {
00040 
00052 template< class TMesh >
00053 class ITK_EXPORT QuadEdgeMeshBoundaryEdgesMeshFunction
00054    : public FunctionBase< TMesh, typename TMesh::EdgeListPointerType >
00055 {
00056 public:
00057   // Standard types
00058   typedef QuadEdgeMeshBoundaryEdgesMeshFunction  Self;
00059   typedef SmartPointer< Self >                   Pointer;
00060   typedef SmartPointer< const Self >             ConstPointer;
00061   typedef FunctionBase< TMesh,
00062                         typename  TMesh::EdgeListPointerType > Superclass;
00064 
00065   // Types in superclass:
00066   typedef typename Superclass::InputType  InputType;
00067   typedef typename Superclass::OutputType OutputType;
00068 
00069   // Local aliases
00070   typedef InputType                       MeshType;
00071   typedef typename MeshType::QEPrimal     QEPrimal;
00072   typedef typename MeshType::EdgeListType EdgeListType;
00073 
00074   itkNewMacro( Self );
00075   itkTypeMacro( QuadEdgeMeshBoundaryEdgesMeshFunction, FunctionBase );
00076 
00077   virtual OutputType Evaluate( const InputType& mesh ) const;
00078 
00079 protected:
00080   QuadEdgeMeshBoundaryEdgesMeshFunction( ) { };
00081 
00082 private:
00083   QuadEdgeMeshBoundaryEdgesMeshFunction( const Self& ); //purposely not implemented 
00084   void operator=( const Self& );     //purposely not implemented 
00085 };
00086 
00087 } 
00088 
00089 #ifndef ITK_MANUAL_INSTANTIATION
00090 #include "itkQuadEdgeMeshBoundaryEdgesMeshFunction.txx"
00091 #endif
00092 
00093 #endif 
00094 

Generated at Mon Mar 12 02:22:54 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000