KWStyle - itkSparseImage.txx
 
Matrix View
Description

1 /*=========================================================================
2
3   Program:   Insight Segmentation & Registration Toolkit
4   Module:    $RCSfile: itkSparseImage.txx.html,v $
5   Language:  C++
6   Date:      $Date: 2006/01/17 19:15:48 $
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 DEF #ifndef __itkSparseImage_txx_
18 DEF #define __itkSparseImage_txx_
19
20 #include "itkSparseImage.h"
21 #include "itkSparseFieldLayer.h"
22 #include "itkObjectStore.h"
23 #include "itkDataObject.h"
24
25 namespace itk {
26
27 template <class TNode, unsigned int VImageDimension>
28 SparseImage < TNode, VImageDimension >
29 ::SparseImage()
30 {
31   m_NodeList     = NodeListType::New();
32   m_NodeStore    = NodeStoreType::New();
33 }
34
35 template <class TNode, unsigned int VImageDimension>
36 void
37 SparseImage < TNode, VImageDimension >
38 ::PrintSelf(std::ostream& os, Indent indent) const
39 {
40   Superclass::PrintSelf(os, indent);
41 }
42
43 template <class TNode, unsigned int VImageDimension>
44 void
45 SparseImage < TNode, VImageDimension >
46 ::Initialize()
47 {
48   Superclass::Initialize();
49   m_NodeList     = NodeListType::New();
50   m_NodeStore    = NodeStoreType::New();
51 }
52
53 // end namespace itk
54
55 #endif
56

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