9 #ifndef GlobeEngine_VectorField_h
10 #define GlobeEngine_VectorField_h
13 #include <vmmlib/vmmlib.hpp>
21 vmml::Vector3i dimension;
22 std::vector<float> longs;
23 std::vector<float> lats;
24 std::vector<float> heights;
25 std::vector<vmml::Vector3f> data;
32 float getLong(
int _index){
return longs[_index]; };
33 float getLat(
int _index){
return lats[_index]; };
34 float getHeight(
int _index){
return heights[_index]; };
38 std::vector<vmml::Vector3f>
getData();
50 void setData(vmml::Vector3i _index, vmml::Vector3f _data);
59 vmml::Vector3f
rungekuatta(vmml::Vector3f _position,
bool _forward,
float _dt,
int &_err);
60 vmml::Vector3f
rungekuattaPerp(vmml::Vector3f _position,
bool _forward,
float _dt,
bool _leftToRight,
int &_err);
void setLats(float *_data)
Definition: VectorField.cpp:177
float getHeight(int _index)
Definition: VectorField.h:34
vmml::Vector3f getDataAtCoordination(vmml::Vector3f _coordination, int &_err)
Definition: VectorField.cpp:109
float getMinLat()
Definition: VectorField.cpp:212
vmml::Vector4d jacobianAtIndex(vmml::Vector2i _index)
Definition: VectorField.cpp:243
std::shared_ptr< VectorFieldTopology > VectorFieldTopologyptr
Definition: VectorFieldTopology.h:102
VectorField()
Definition: VectorField.cpp:15
void setHeights(float *_data)
Definition: VectorField.cpp:183
void setData_z(float *_data)
Definition: VectorField.cpp:165
float getLat(int _index)
Definition: VectorField.h:33
vmml::Vector3f rungekuattaPerp(vmml::Vector3f _position, bool _forward, float _dt, bool _leftToRight, int &_err)
Definition: VectorField.cpp:302
vmml::Vector3f getCoordinationOfIndex(vmml::Vector3i _index, int &_err)
Definition: VectorField.cpp:193
void setData_x(float *_data)
Definition: VectorField.cpp:153
void setData(vmml::Vector3i _index, vmml::Vector3f _data)
Definition: VectorField.cpp:189
vmml::Vector3f rungekuatta(vmml::Vector3f _position, bool _forward, float _dt, int &_err)
Definition: VectorField.cpp:262
vmml::Vector3f getDataAtIndex(vmml::Vector3ui _index)
Definition: VectorField.cpp:53
float getMinLong()
Definition: VectorField.cpp:206
void setLongs(float *_data)
Definition: VectorField.cpp:171
void setDimention(vmml::Vector3i _dimension)
Definition: VectorField.cpp:19
void setData_y(float *_data)
Definition: VectorField.cpp:159
float getLong(int _index)
Definition: VectorField.h:32
Definition: ClimateViewerComposition.h:13
float getMaxLat()
Definition: VectorField.cpp:209
vmml::Vector3i getDimension()
Definition: VectorField.h:31
Definition: VectorField.h:19
vmml::Vector3i getIndexAtCoordination(vmml::Vector3f _coor, int &_err)
Definition: VectorField.cpp:215
float getMaxLong()
Definition: VectorField.cpp:203
VectorFieldTopologyptr & getVpt()
Definition: VectorField.h:62
std::vector< vmml::Vector3f > getData()
Definition: VectorField.cpp:49