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

itkQuadraticEdgeCell.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkQuadraticEdgeCell.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:23 $ 00007 Version: $Revision: 1.8 $ 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 __itkQuadraticEdgeCell_h 00018 #define __itkQuadraticEdgeCell_h 00019 00020 #include "itkCellInterface.h" 00021 #include "itkVertexCell.h" 00022 00023 namespace itk 00024 { 00025 00041 template < typename TCellInterface > 00042 class ITK_EXPORT QuadraticEdgeCell: public TCellInterface 00043 { 00044 public: 00046 itkCellCommonTypedefs(QuadraticEdgeCell); 00047 itkCellInheritedTypedefs(TCellInterface); 00048 00050 itkTypeMacro(QuadraticEdgeCell, CellInterface); 00051 00053 typedef VertexCell< TCellInterface > VertexType; 00054 typedef typename VertexType::SelfAutoPointer VertexAutoPointer; 00055 00057 itkStaticConstMacro(NumberOfPoints, unsigned int, 3); 00058 itkStaticConstMacro(NumberOfVertices, unsigned int, 2); 00059 itkStaticConstMacro(CellDimension, unsigned int, 1); 00060 00062 virtual CellGeometry GetType(void) const 00063 {return Superclass::QUADRATIC_EDGE_CELL;} 00064 virtual void MakeCopy( CellAutoPointer & ) const; 00065 virtual unsigned int GetDimension(void) const; 00066 virtual unsigned int GetNumberOfPoints(void) const; 00067 virtual CellFeatureCount GetNumberOfBoundaryFeatures(int dimension) const; 00068 virtual bool GetBoundaryFeature(int dimension, CellFeatureIdentifier,CellAutoPointer &); 00069 virtual void SetPointIds(PointIdConstIterator first); 00070 virtual void SetPointIds(PointIdConstIterator first, 00071 PointIdConstIterator last); 00072 virtual void SetPointId(int localId, PointIdentifier); 00073 virtual PointIdIterator PointIdsBegin(void); 00074 virtual PointIdConstIterator PointIdsBegin(void) const; 00075 virtual PointIdIterator PointIdsEnd(void); 00076 virtual PointIdConstIterator PointIdsEnd(void) const; 00077 00079 virtual CellFeatureCount GetNumberOfVertices(void) const; 00080 virtual bool GetVertex(CellFeatureIdentifier, VertexAutoPointer &); 00081 00083 itkCellVisitMacro(QUADRATIC_EDGE_CELL); 00084 00085 QuadraticEdgeCell() {} 00086 ~QuadraticEdgeCell() {} 00087 00090 virtual void EvaluateShapeFunctions( 00091 const ParametricCoordArrayType & parametricCoordinates, 00092 ShapeFunctionsArrayType & weights) const; 00093 00094 00095 protected: 00097 PointIdentifier m_PointIds[NumberOfPoints]; 00098 00099 private: 00100 QuadraticEdgeCell(const Self&); //purposely not implemented 00101 void operator=(const Self&); //purposely not implemented 00102 }; 00103 00104 } // end namespace itk 00105 00106 #ifndef ITK_MANUAL_INSTANTIATION 00107 #include "itkQuadraticEdgeCell.txx" 00108 #endif 00109 00110 #endif

Generated at Sun Apr 1 02:41:25 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000