KWStyle - itkCorrespondenceDataStructure.h
 
Matrix View
Description

1 /*=========================================================================
2
3   Program:   Insight Segmentation & Registration Toolkit
4   Module:    $RCSfile: itkCorrespondenceDataStructure.h.html,v $
5   Language:  C++
6   Date:      $Date: 2006/01/17 19:15:34 $
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 __itkCorrespondenceDataStructure_h
18 #define __itkCorrespondenceDataStructure_h
19
20 #include "itkDataObject.h"
21 #include "itkNodeList.h"
22 #include "itkSecondaryNodeList.h"
23 #include "itkCorrespondingList.h"
24
25 namespace itk
26 {
27
28 /**
29  * \class CorrespondenceDataStructure
30 LEN  * \brief A data structure designed to contain medial node clique correspondence data between two images.  
31  * 
32  *
33  * \ingroup 
34  *
35  * \sa 
36  *
37  *  */
38
39 template<typename TItemType, int VCliqueSize>
40 class CorrespondenceDataStructure : public DataObject {
41 public:
42
43   /** Standard class typedefs. */   
44   typedef CorrespondenceDataStructure Self;
45 TDA   typedef DataObject Superclass;
46 TDA   typedef SmartPointer<Self>   Pointer;
47 TDA   typedef SmartPointer<const Self>  ConstPointer;
48
49   /** Method for creation through the object factory. */
50   itkNewMacro(Self);
51
52   /** Run-time type information (and related methods). */
53   itkTypeMacro(CorrespondenceDataStructure, DataObject);
54
55   typedef TItemType ItemType;
56   itkStaticConstMacro(CliqueSize, unsigned int, VCliqueSize);
57
58   /** The typedef for the CorrespondingPairList. */
59   typedef CorrespondingList<TItemType, VCliqueSize> CorrespondingListType;
60
61   /** The typedef for the NodePairList. */
62 LEN   typedef SecondaryNodeList<CorrespondingListType, VCliqueSize> SecondaryNodeListType;
63
64   /** The typedef for the NodeList. */
65   typedef NodeList<SecondaryNodeListType> NodeListType;
66
67   /** Node List. */
68   NodeListType * m_NodeList;
69
70 protected:
71   /** Default Constructor. */
72   CorrespondenceDataStructure();
73
74   /** Default Destructor. */
75   ~CorrespondenceDataStructure();
76 };
77
78 // end namespace itk
79
80 #ifndef ITK_MANUAL_INSTANTIATION
81 #include "itkCorrespondenceDataStructure.txx"
82 #endif
83
84 #endif 
85

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