00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkDTITubeSpatialObject.h,v $ 00005 Language: C++ 00006 Date: $Date: 2007-01-28 19:24:21 $ 00007 Version: $Revision: 1.3 $ 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 __itkDTITubeSpatialObject_h 00018 #define __itkDTITubeSpatialObject_h 00019 00020 #include <list> 00021 00022 #include "itkTubeSpatialObject.h" 00023 #include "itkDTITubeSpatialObjectPoint.h" 00024 00025 namespace itk 00026 { 00027 00040 template < unsigned int TDimension = 3 > 00041 class DTITubeSpatialObject : 00042 public TubeSpatialObject< TDimension, 00043 DTITubeSpatialObjectPoint< TDimension > > 00044 { 00045 00046 public: 00047 00048 typedef DTITubeSpatialObject Self; 00049 typedef TubeSpatialObject< TDimension, 00050 DTITubeSpatialObjectPoint< TDimension > > Superclass; 00051 typedef SmartPointer < Self > Pointer; 00052 typedef SmartPointer < const Self > ConstPointer; 00053 typedef DTITubeSpatialObjectPoint< TDimension > TubePointType; 00054 typedef typename Superclass::PointListType PointListType; 00055 typedef typename Superclass::PointType PointType; 00056 typedef typename Superclass::TransformType TransformType; 00057 typedef typename Superclass::SpatialObjectPointType SpatialObjectPointType; 00058 typedef VectorContainer<unsigned long,PointType> PointContainerType; 00059 typedef SmartPointer<PointContainerType> PointContainerPointer; 00060 typedef typename Superclass::VectorType VectorType; 00061 typedef typename Superclass::CovariantVectorType CovariantVectorType; 00062 typedef typename Superclass::BoundingBoxType BoundingBoxType; 00063 00065 itkNewMacro( Self ); 00066 00068 itkTypeMacro( DTITubeSpatialObject, TubeSpatialObject ); 00069 00070 protected: 00071 00072 DTITubeSpatialObject(); 00073 virtual ~DTITubeSpatialObject(); 00074 00076 virtual void PrintSelf( std::ostream& os, Indent indent ) const; 00077 00078 }; 00079 00080 } // end namespace itk 00081 00082 #ifndef ITK_MANUAL_INSTANTIATION 00083 #include "itkDTITubeSpatialObject.txx" 00084 #endif 00085 00086 #endif // __itkDTITubeSpatialObject_h 00087