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

itkBloxBoundaryPointItem.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkBloxBoundaryPointItem.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/08/26 16:24:39 $
00007   Version:   $Revision: 1.9 $
00008 
00009   Copyright (c) 2002 Insight 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 __itkBloxBoundaryPointItem_h
00018 #define __itkBloxBoundaryPointItem_h
00019 
00020 #include "itkCovariantVector.h"
00021 #include "itkPoint.h"
00022 #include "itkBloxItem.h"
00023 
00024 namespace itk
00025 {
00026 
00034 template <unsigned int VImageDimension>
00035 class BloxBoundaryPointItem: public BloxItem
00036 {
00037 public:
00039   typedef Point<double, VImageDimension> PositionType;
00040   
00042   typedef CovariantVector<double, VImageDimension> GradientType;
00043 
00045   void SetPhysicalPosition(PositionType physPos){m_PhysicalPosition = physPos;};
00046 
00048   PositionType GetPhysicalPosition(){return m_PhysicalPosition;};
00049 
00051   void SetGradient(GradientType grad){m_Gradient = grad;};
00052 
00054   GradientType GetGradient(){return m_Gradient;};
00055   
00056   BloxBoundaryPointItem();
00057   ~BloxBoundaryPointItem();
00058 
00059 private:
00060 
00063   PositionType m_PhysicalPosition;
00064 
00066   GradientType m_Gradient;
00067 
00068 };
00069 
00070 } // end namespace itk
00071 
00072 
00073 #ifndef ITK_MANUAL_INSTANTIATION
00074 #include "itkBloxBoundaryPointItem.txx"
00075 #endif
00076 
00077 #endif

Generated at Wed Mar 12 01:12:48 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000