00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkVesselTubeSpatialObject.h,v $ 00005 Language: C++ 00006 Date: $Date: 2010-01-26 13:57:59 $ 00007 Version: $Revision: 1.6 $ 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 ITK_EXPORT VesselTubeSpatialObject 00042 :public TubeSpatialObject< TDimension, 00043 VesselTubeSpatialObjectPoint< TDimension > > 00044 { 00045 00046 public: 00047 00048 typedef VesselTubeSpatialObject Self; 00049 typedef TubeSpatialObject< TDimension, 00050 VesselTubeSpatialObjectPoint< TDimension > > Superclass; 00051 typedef SmartPointer < Self > Pointer; 00052 typedef SmartPointer < const Self > ConstPointer; 00053 typedef VesselTubeSpatialObjectPoint< 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( VesselTubeSpatialObject, TubeSpatialObject ); 00069 00070 protected: 00071 00072 VesselTubeSpatialObject(); 00073 virtual ~VesselTubeSpatialObject(); 00074 00076 virtual void PrintSelf( std::ostream& os, Indent indent ) const; 00077 00078 private: 00079 VesselTubeSpatialObject(const Self&); //purposely not implemented 00080 void operator=(const Self&); //purposely not implemented 00081 00082 }; 00083 00084 } // end namespace itk 00085 00086 #ifndef ITK_MANUAL_INSTANTIATION 00087 #include "itkVesselTubeSpatialObject.txx" 00088 #endif 00089 00090 #endif // __itkVesselTubeSpatialObject_h 00091