23 lines
611 B
C++
23 lines
611 B
C++
#ifndef CARTESIANGRIDTOHORIZONTALSLICEFILTER_H
|
|
#define CARTESIANGRIDTOHORIZONTALSLICEFILTER_H
|
|
|
|
|
|
class CartesianGridToHorizontalSliceFilter
|
|
{
|
|
public:
|
|
CartesianGridToHorizontalSliceFilter();
|
|
~CartesianGridToHorizontalSliceFilter();
|
|
void setDataSource(float *source);
|
|
void setSlice(int iz);
|
|
void setWindComponent(int ic);
|
|
float *passSlice(int xs, int ys);
|
|
void changeWindComponent(int ic);
|
|
float *passSliceMagnitude(int xs, int ys);
|
|
float *passCube();
|
|
private:
|
|
float *cartesianDataGrid;
|
|
int windcomponent;
|
|
int z;
|
|
};
|
|
|
|
#endif // CARTESIANGRIDTOHORIZONTALSLICEFILTER_H
|