KWStyle - itkBloxImage.txx
 
Matrix View
Description

1 /*=========================================================================
2
3   Program:   Insight Segmentation & Registration Toolkit
4   Module:    $RCSfile: itkBloxImage.txx.html,v $
5   Language:  C++
6   Date:      $Date: 2006/01/17 19:15:33 $
7   Version:   $Revision: 1.4 $
8
9   Copyright (c) Insight Software Consortium. All rights reserved.
10   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11
12      This software is distributed WITHOUT ANY WARRANTY; without even 
13      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
14      PURPOSE.  See the above copyright notices for more information.
15
16 =========================================================================*/
17 #ifndef __itkBloxImage_txx
18 #define __itkBloxImage_txx
19
20 #include "itkBloxPixel.h"
21 #include "itkBloxImage.h"
22
23 namespace itk
24 {
25
26 template<typename TBloxPixelType, unsigned int VImageDimension>
27 BloxImage<TBloxPixelType, VImageDimension>
28 ::BloxImage()
29 {
30
31 }
32
33 template<typename TBloxPixelType, unsigned int VImageDimension>
34 BloxImage<TBloxPixelType, VImageDimension>
35 ::~BloxImage()
36 {
37
38 }
39
40 template<typename TBloxPixelType, unsigned int VImageDimension>
41 void
42 BloxImage<TBloxPixelType, VImageDimension>
43 ::PrintSelf(std::ostream& os, Indent indent) const
44 {
45   Superclass::PrintSelf(os,indent);
46 }
47
48 template<typename TBloxPixelType, unsigned int VImageDimension>
49 void
50 BloxImage<TBloxPixelType, VImageDimension>
51 ::EmptyImage()
52 {
53   const unsigned long numberOfPixels =
54 IND ****this->GetBufferedRegion().GetNumberOfPixels();
55
56   for(unsigned int i=0; i<numberOfPixels; i++) 
57     {
58     this->GetBufferPointer()[i].DeleteListEntries();
59     }
60 }
61
62 // end namespace itk
63
64 #endif
65

Generated by KWStyle 1.0b on Tuesday January,17 at 02:14:00PM
© Kitware Inc.