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-07-02 21:56:53 $
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 // -------------------------------------------------------------------------
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::EdgeCellType EdgeCellType;
00073   typedef typename MeshType::EdgeListType EdgeListType;
00074 
00075   itkNewMacro( Self );
00076   itkTypeMacro( QuadEdgeMeshBoundaryEdgesMeshFunction, FunctionBase );
00077 
00078   virtual OutputType Evaluate( const InputType& mesh ) const;
00079 
00080 protected:
00081   QuadEdgeMeshBoundaryEdgesMeshFunction( ) { };
00082 
00083 private:
00084   QuadEdgeMeshBoundaryEdgesMeshFunction( const Self& ); //purposely not implemented 
00085   void operator=( const Self& );     //purposely not implemented 
00086 };
00087 
00088 } 
00089 
00090 #ifndef ITK_MANUAL_INSTANTIATION
00091 #include "itkQuadEdgeMeshBoundaryEdgesMeshFunction.txx"
00092 #endif
00093 
00094 #endif 
00095 

Generated at Mon Apr 14 14:04:09 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000