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

itkMatrixResizeableDataObject.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkMatrixResizeableDataObject.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-02-05 22:04:03 $
00007   Version:   $Revision: 1.5 $
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 "itkObjectFactory.h"
00022 #include "vnl/vnl_matrix.h"
00023 
00024 namespace itk
00025 {
00026        
00035 template<typename TItemType>
00036 class MatrixResizeableDataObject : public DataObject, public vnl_matrix<TItemType> {
00037 public:
00038 
00040   typedef MatrixResizeableDataObject Self;
00041   typedef DataObject                 Superclass;
00042   typedef SmartPointer<Self>         Pointer;
00043   typedef SmartPointer<const Self>   ConstPointer;
00044 
00046   itkNewMacro(Self);
00047 
00049   itkTypeMacro(MatrixResizeableDataObject, DataObject);
00050 
00051 protected:
00052 
00054   MatrixResizeableDataObject();
00055 
00057   ~MatrixResizeableDataObject();
00058 };
00059 
00060 } // end namespace itk
00061 
00062 // Define instantiation macro for this template.
00063 #define ITK_TEMPLATE_MatrixResizeableDataObject(_, EXPORT, x, y) namespace itk { \
00064   _(1(class EXPORT MatrixResizeableDataObject< ITK_TEMPLATE_1 x >)) \
00065   namespace Templates { typedef MatrixResizeableDataObject< ITK_TEMPLATE_1 x > \
00066                                      MatrixResizeableDataObject##y; } \
00067   }
00068 
00069 #if ITK_TEMPLATE_EXPLICIT
00070 # include "Templates/itkMatrixResizeableDataObject+-.h"
00071 #endif
00072 
00073 #if ITK_TEMPLATE_TXX
00074 # include "itkMatrixResizeableDataObject.txx"
00075 #endif
00076 
00077 #endif
00078 

Generated at Mon Jul 12 2010 19:06:13 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000