9 #ifndef GlobeEngine_CriticalPoint_h
10 #define GlobeEngine_CriticalPoint_h
13 #include <vmmlib/vmmlib.hpp>
24 struct CriticalPointInfo{
25 vmml::Vector3f position;
26 vmml::Vector3f eigenvalues;
27 vmml::Vector3f eigenvector[3];
48 CriticalEdgeptr
getEdge(
int inx){
return edges[inx];};
50 CriticalEdgeptr
nextEdge(CriticalEdgeptr _inEdge);
55 vmml::Vector3f position;
59 vmml::Vector3f eigenVector1;
60 vmml::Vector3f eigenVector2;
61 std::vector<CriticalEdgeptr> edges;
62 int compareEdges(CriticalEdgeptr _first, CriticalEdgeptr _second);
vmml::Vector3f & getEigenVector2()
Definition: CriticalPoint.h:44
Definition: CriticalPoint.h:22
void setEigenVector2(vmml::Vector3f _ev)
Definition: CriticalPoint.h:38
CriticalEdgeptr getEdge(int inx)
Definition: CriticalPoint.h:48
void setEigenValue2(float _e)
Definition: CriticalPoint.h:36
void edgePushBack(CriticalEdgeptr _edge)
Definition: CriticalPoint.h:45
std::shared_ptr< CriticalPoint > CriticalPointptr
Definition: CriticalPoint.h:18
void setPosition(vmml::Vector3f _pos)
Definition: CriticalPoint.h:33
int getEdgeSize()
Definition: CriticalPoint.h:49
std::shared_ptr< CriticalEdge > CriticalEdgeptr
Definition: CriticalPoint.h:20
float & getEigenValue1()
Definition: CriticalPoint.h:41
void sortEdges()
Definition: CriticalPoint.cpp:25
CriticalEdgeptr previousEdge(CriticalEdgeptr _inEdge)
Definition: CriticalPoint.cpp:992
void setType(int _t)
Definition: CriticalPoint.h:34
vmml::Vector3f & getEigenVector1()
Definition: CriticalPoint.h:43
vmml::Vector3f & getPosition()
Definition: CriticalPoint.h:39
bool ifConnected(CriticalPointptr _inpoint)
Definition: CriticalPoint.cpp:15
CriticalEdgeptr nextEdge(CriticalEdgeptr _inEdge)
Definition: CriticalPoint.cpp:974
void setEigenVector1(vmml::Vector3f _ev)
Definition: CriticalPoint.h:37
Definition: ClimateViewerComposition.h:13
int & getType()
Definition: CriticalPoint.h:40
float & getEigenValue2()
Definition: CriticalPoint.h:42
void removeEdge(CriticalEdgeptr _edge)
Definition: CriticalPoint.cpp:1009
Definition: VectorFieldTopology.h:24
void setEigenValue1(float _e)
Definition: CriticalPoint.h:35
CriticalPoint(VectorFieldTopology *_vpt)
Definition: CriticalPoint.h:32