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

itkFiniteCylinderSpatialFunction.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFiniteCylinderSpatialFunction.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:07 $ 00007 Version: $Revision: 1.2 $ 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 __itkFiniteCylinderSpatialFunction_h 00018 #define __itkFiniteCylinderSpatialFunction_h 00019 00020 #include "itkInteriorExteriorSpatialFunction.h" 00021 00022 namespace itk 00023 { 00024 00034 template <unsigned int VDimension = 3, 00035 typename TInput = Point<double, VDimension> > 00036 class ITK_EXPORT FiniteCylinderSpatialFunction 00037 : public InteriorExteriorSpatialFunction<VDimension, TInput> 00038 { 00039 public: 00040 00042 typedef FiniteCylinderSpatialFunction Self; 00043 typedef InteriorExteriorSpatialFunction<VDimension, TInput> Superclass; 00044 typedef SmartPointer<Self> Pointer; 00045 typedef SmartPointer<const Self> ConstPointer; 00046 00048 itkTypeMacro(FiniteCylinderSpatialFunction,InteriorExteriorSpatialFunction); 00049 00051 itkNewMacro(Self); 00052 00054 typedef typename Superclass::InputType InputType; 00055 00057 typedef typename Superclass::OutputType OutputType; 00058 00060 itkGetMacro(Center, InputType); 00061 itkSetMacro(Center, InputType); 00062 00064 itkGetMacro(AxisLength, double); 00065 itkSetMacro(AxisLength, double); 00066 00068 itkGetMacro(Radius, double); 00069 itkSetMacro(Radius, double); 00070 00073 itkGetMacro(Orientation, InputType); 00074 itkSetMacro(Orientation, InputType); 00075 00077 OutputType Evaluate(const InputType& position) const; 00078 00079 protected: 00080 00081 FiniteCylinderSpatialFunction(); 00082 virtual ~FiniteCylinderSpatialFunction(); 00083 00084 void PrintSelf(std::ostream& os, Indent indent) const; 00085 00086 private: 00087 00088 FiniteCylinderSpatialFunction(const Self&); //purposely not implemented 00089 void operator=(const Self&); //purposely not implemented 00090 00092 InputType m_Center; 00093 00095 double m_AxisLength; 00096 00098 double m_Radius; 00099 00101 InputType m_Orientation; 00102 00103 }; 00104 00105 } // end namespace itk 00106 00107 #ifndef ITK_MANUAL_INSTANTIATION 00108 #include "itkFiniteCylinderSpatialFunction.txx" 00109 #endif 00110 00111 #endif

Generated at Sat Mar 31 02:18:32 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000