00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkMatrixResizeableDataObject.h,v $ 00005 Language: C++ 00006 Date: $Date: 2004/03/03 19:12:29 $ 00007 Version: $Revision: 1.3 $ 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 __itkMatrixResizeableDataObject_h 00018 #define __itkMatrixResizeableDataObject_h 00019 00020 #include "itkDataObject.h" 00021 #include "vnl/vnl_matrix.h" 00022 00023 namespace itk 00024 { 00025 00034 template<typename TItemType> 00035 class MatrixResizeableDataObject : public DataObject, public vnl_matrix<TItemType> { 00036 public: 00037 00039 typedef MatrixResizeableDataObject Self; 00040 typedef DataObject Superclass; 00041 typedef SmartPointer<Self> Pointer; 00042 typedef SmartPointer<const Self> ConstPointer; 00043 00045 itkNewMacro(Self); 00046 00048 itkTypeMacro(MatrixResizeableDataObject, DataObject); 00049 00050 protected: 00051 00053 MatrixResizeableDataObject(); 00054 00056 ~MatrixResizeableDataObject(); 00057 }; 00058 00059 } // end namespace itk 00060 00061 #ifndef ITK_MANUAL_INSTANTIATION 00062 #include "itkMatrixResizeableDataObject.txx" 00063 #endif 00064 00065 #endif