ITK  4.0.0
Insight Segmentation and Registration Toolkit
itkVesselTubeSpatialObject.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 #ifndef __itkVesselTubeSpatialObject_h
00019 #define __itkVesselTubeSpatialObject_h
00020 
00021 #include <list>
00022 
00023 #include "itkTubeSpatialObject.h"
00024 #include "itkVesselTubeSpatialObjectPoint.h"
00025 
00026 namespace itk
00027 {
00041 template< unsigned int TDimension = 3 >
00042 class ITK_EXPORT VesselTubeSpatialObject:
00043   public TubeSpatialObject< TDimension,
00044                             VesselTubeSpatialObjectPoint< TDimension >  >
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< IdentifierType, 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 protected:
00070 
00071   VesselTubeSpatialObject();
00072   virtual ~VesselTubeSpatialObject();
00073 
00075   virtual void PrintSelf(std::ostream & os, Indent indent) const;
00076 
00077 private:
00078   VesselTubeSpatialObject(const Self &); //purposely not implemented
00079   void operator=(const Self &);          //purposely not implemented
00080 };
00081 } // end namespace itk
00082 
00083 #ifndef ITK_MANUAL_INSTANTIATION
00084 #include "itkVesselTubeSpatialObject.hxx"
00085 #endif
00086 
00087 #endif // __itkVesselTubeSpatialObject_h
00088