Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
itkShortestPathNode.h
Go to the documentation of this file.
1
/*===================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
#ifndef __itkShortestPathNode_h_
17
#define __itkShortestPathNode_h_
18
19
#include "
MitkGraphAlgorithmsExports.h
"
20
21
namespace
itk
22
{
23
typedef
double
DistanceType
;
// Type to declare the costs
24
typedef
unsigned
int
25
NodeNumType
;
// Type for Node Numeration: unsignend int for up to 4.2 billion pixel in 32Bit system
26
27
class
MITKGRAPHALGORITHMS_EXPORT
ShortestPathNode
28
{
29
public
:
30
DistanceType
distance
;
// minimal costs from StartPoint to this pixel
31
DistanceType
distAndEst
;
// Distance+Estimated Distnace to target
32
NodeNumType
prevNode
;
// previous node. Important to find the Shortest Path
33
NodeNumType
mainListIndex
;
// Indexnumber of this node in m_Nodes
34
bool
closed
;
// determines if this node is closes, so its optimal path to startNode is known
35
};
36
37
// bool operator<(const ShortestPathNode &a) const;
38
// bool operator==(const ShortestPathNode &a) const;
39
}
40
41
#endif
itk::DistanceType
double DistanceType
Definition:
itkShortestPathNode.h:23
MITKGRAPHALGORITHMS_EXPORT
#define MITKGRAPHALGORITHMS_EXPORT
Definition:
MitkGraphAlgorithmsExports.h:15
itk::ShortestPathNode::distAndEst
DistanceType distAndEst
Definition:
itkShortestPathNode.h:31
MitkGraphAlgorithmsExports.h
itk
SET FUNCTIONS.
Definition:
itkIntelligentBinaryClosingFilter.h:34
itk::ShortestPathNode::prevNode
NodeNumType prevNode
Definition:
itkShortestPathNode.h:32
itk::ShortestPathNode::mainListIndex
NodeNumType mainListIndex
Definition:
itkShortestPathNode.h:33
itk::ShortestPathNode
Definition:
itkShortestPathNode.h:27
itk::ShortestPathNode::distance
DistanceType distance
Definition:
itkShortestPathNode.h:30
itk::NodeNumType
unsigned int NodeNumType
Definition:
itkShortestPathNode.h:25
itk::ShortestPathNode::closed
bool closed
Definition:
itkShortestPathNode.h:34
git
MITK
Modules
GraphAlgorithms
itkShortestPathNode.h
Generated on Fri Feb 3 2017 20:51:49 for Medical Imaging Interaction Toolkit by
1.8.9.1