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