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: 2009-02-25 21:17:07 $
00007   Version:   $Revision: 1.7 $
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 __itkQuadEdgeMeshBoundaryEdgesMeshFunction_h
00018 #define __itkQuadEdgeMeshBoundaryEdgesMeshFunction_h
00019 
00020 #include<itkFunctionBase.h>
00021 
00022 namespace itk
00023 {
00024 
00036 template< class TMesh >
00037 class ITK_EXPORT QuadEdgeMeshBoundaryEdgesMeshFunction
00038    : public FunctionBase< TMesh, typename TMesh::EdgeListPointerType >
00039 {
00040 public:
00041   // Standard types
00042   typedef QuadEdgeMeshBoundaryEdgesMeshFunction  Self;
00043   typedef SmartPointer< Self >                   Pointer;
00044   typedef SmartPointer< const Self >             ConstPointer;
00045   typedef FunctionBase< TMesh,
00046                         typename  TMesh::EdgeListPointerType > Superclass;
00048 
00049   // Types in superclass:
00050   typedef typename Superclass::InputType  InputType;
00051   typedef typename Superclass::OutputType OutputType;
00052 
00053   // Local aliases
00054   typedef InputType                       MeshType;
00055   typedef typename MeshType::QEPrimal     QEPrimal;
00056   typedef typename MeshType::EdgeCellType EdgeCellType;
00057   typedef typename MeshType::EdgeListType EdgeListType;
00058 
00059   itkTypeMacro( QuadEdgeMeshBoundaryEdgesMeshFunction, FunctionBase );
00060   itkNewMacro( Self );
00061 
00062   virtual OutputType Evaluate( const InputType& mesh ) const;
00063 
00064 protected:
00065   QuadEdgeMeshBoundaryEdgesMeshFunction( ) { };
00066 
00067 private:
00068   QuadEdgeMeshBoundaryEdgesMeshFunction( const Self& ); //purposely not implemented 
00069   void operator=( const Self& );     //purposely not implemented 
00070 };
00071 
00072 } 
00073 
00074 #ifndef ITK_MANUAL_INSTANTIATION
00075 #include "itkQuadEdgeMeshBoundaryEdgesMeshFunction.txx"
00076 #endif
00077 
00078 #endif 
00079 

Generated at Tue Sep 15 04:25:14 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000