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: 2003/09/10 14:29:14 $
00007   Version:   $Revision: 1.2 $
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 
00051   void UpdateOutputInformation() {}
00052 
00053 protected:
00054 
00056   MatrixResizeableDataObject();
00057 
00059   ~MatrixResizeableDataObject();
00060 
00062   bool VerifyRequestedRegion() { return true; }
00063   void SetRequestedRegionToLargestPossibleRegion () {}
00064   bool RequestedRegionIsOutsideOfTheBufferedRegion () { return false; }
00065   void SetRequestedRegion (DataObject *) {}
00066 
00067 };
00068 
00069 } // end namespace itk
00070 
00071 #ifndef ITK_MANUAL_INSTANTIATION
00072 #include "itkMatrixResizeableDataObject.txx"
00073 #endif
00074 
00075 #endif

Generated at Sun Jan 25 13:19:39 2004 for ITK by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-2000