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

itkTubeNetworkSpatialObject.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkTubeNetworkSpatialObject.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/07/03 16:39:38 $
00007   Version:   $Revision: 1.6 $
00008 
00009   Copyright (c) 2002 Insight 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 
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 } // end namespace itk
00084 
00085 #ifndef ITK_MANUAL_INSTANTIATION 
00086   #include "itkTubeNetworkSpatialObject.txx" 
00087 #endif 
00088 
00089 #endif // __itkTubeNetworkSpatialObject_h

Generated at Wed Mar 12 01:13:11 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000