00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __itkTubeNetworkSpatialObject_h
00019 #define __itkTubeNetworkSpatialObject_h
00020
00021 #include "itkAffineTransform.h"
00022 #include "itkTubeSpatialObject.h"
00023
00024 namespace itk
00025 {
00026
00038 template < unsigned int TDimension , unsigned int PipelineDimension = 3 >
00039 class TubeNetworkSpatialObject
00040 : public SpatialObject< TDimension,
00041 AffineTransform< double, TDimension >,
00042 PipelineDimension
00043 >
00044 {
00045
00046 public:
00047
00048 typedef TubeNetworkSpatialObject Self;
00049 typedef double ScalarType;
00050 typedef SmartPointer < Self > Pointer;
00051 typedef SmartPointer < const Self > ConstPointer;
00052 typedef SpatialObject< TDimension,
00053 AffineTransform< double, TDimension >,
00054 PipelineDimension
00055 > Superclass;
00056 typedef SmartPointer<Superclass> SuperclassPointer;
00057 typedef SpatialObject< TDimension,
00058 AffineTransform< double, TDimension > ,
00059 PipelineDimension
00060 > ChildrenType;
00061 typedef SmartPointer<ChildrenType> ChildrenPointer;
00062 typedef std::list< ChildrenType * > ChildrenListType;
00063 typedef TubeSpatialObject<TDimension> TubeType;
00064 typedef std::list< TubeType * > TubeListType;
00065
00066 itkNewMacro( Self );
00067
00068 itkTypeMacro( Self, Superclass );
00069
00071 void CalcTangent( void );
00072
00074 TubeListType * GetTubes( unsigned int maximumDepth=0 , unsigned int currentDepth=0 ) const;
00075
00076 protected:
00077
00078 TubeNetworkSpatialObject( void );
00079 ~TubeNetworkSpatialObject( void );
00080
00081 };
00082
00083 }
00084
00085 #ifndef ITK_MANUAL_INSTANTIATION
00086 #include "itkTubeNetworkSpatialObject.txx"
00087 #endif
00088
00089 #endif // __itkTubeNetworkSpatialObject_h