-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTotalEdgeMolecularDistributionDescriptor.h
62 lines (39 loc) · 1.55 KB
/
TotalEdgeMolecularDistributionDescriptor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef TOTALEDGEMOLECULARDISTRIBUTIONDESCRIPTOR_H
#define TOTALEDGEMOLECULARDISTRIBUTIONDESCRIPTOR_H
#include <itkObject.h>
#include <itkLevelSet.h>
#include <queue>
#include <utility>
#include <itkArray.h>
#include "SeedBasedMolecularDistributionDescriptor.h"
#include "FeatureContainer.h"
template<class TAJGraph, class TMolecularImage> class TotalEdgeMolecularDistributionDescriptor : public SeedBasedMolecularDistributionDescriptor<TMolecularImage>{
public:
typedef TotalEdgeMolecularDistributionDescriptor Self;
typedef SeedBasedMolecularDistributionDescriptor<TMolecularImage> Superclass;
typedef itk::SmartPointer<Self> Pointer;
typedef TMolecularImage MolecularImageType;
typedef TAJGraph AJGraphType;
//typedef typename AJGraphType::AJEdgeType AJEdgeType;
typedef typename AJGraphType::AJEdgeHandler AJEdgeHandler;
typedef typename Superclass::PointType PointType;
typedef typename TMolecularImage::IndexType IndexType;
typedef typename TMolecularImage::IndexType OffsetType;
virtual bool PointInRegion(const PointType & point);
virtual void Compute();
itkNewMacro(Self)
itkGetObjectMacro(AJGraph, AJGraphType)
itkSetObjectMacro(AJGraph, AJGraphType)
itkGetMacro(Radius, double)
itkSetMacro(Radius, double)
protected:
TotalEdgeMolecularDistributionDescriptor();
~TotalEdgeMolecularDistributionDescriptor();
private:
typename AJGraphType::Pointer m_AJGraph;
double m_Radius;
PointType m_Point0;
PointType m_Point1;
};
#include "TotalEdgeMolecularDistributionDescriptor.hxx"
#endif // VERTEXMOLECULARDISTRIBUTIONDESCRIPTOR_H