Changeset 1704 for XIOS/trunk/src/filter/spatial_transform_filter.hpp
- Timestamp:
- 09/11/19 10:22:09 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/filter/spatial_transform_filter.hpp
r1542 r1704 3 3 4 4 #include "filter.hpp" 5 #include "field.hpp" 5 6 6 7 namespace xios … … 9 10 class CGridTransformation; 10 11 class CSpatialTransformFilterEngine; 12 13 class CField; 11 14 12 15 /*! … … 24 27 * \param [in] inputSlotsCount number of input, by default there is only one for field src 25 28 */ 26 CSpatialTransformFilter(CGarbageCollector& gc, CSpatialTransformFilterEngine* engine, double outputValue, size_t inputSlotsCount = 1); 29 CSpatialTransformFilter(CGarbageCollector& gc, CSpatialTransformFilterEngine* engine, 30 double outputValue, size_t inputSlotsCount = 1); 31 32 inline StdString GetName(void) {return StdString("Spatial transform filter");}; 27 33 28 34 /*! … … 93 99 { 94 100 public: 101 102 int filterID; 103 int tag; 104 CField *field; 95 105 /*! 96 106 * Returns the engine wrapping the specified grid transformation. … … 109 119 * \return the result of the grid transformation 110 120 */ 111 CDataPacketPtr applyFilter(std::vector<CDataPacketPtr> data, double defaultValue = 0); 121 CDataPacketPtr applyFilter(std::vector<CDataPacketPtr> data, double defaultValue = 0, int tag=0, Time start_graph=0, Time end_graph=-1, CField *field=0); 122 bool buildGraph(std::vector<CDataPacketPtr> data, int tag=0, Time start_graph=0, Time end_graph=-1, CField *field=0); 112 123 113 124 /*! … … 136 147 * \param dataDest the resulting transformed data 137 148 */ 138 void apply(const CArray<double, 1>& dataSrc, CArray<double,1>& dataDest );149 void apply(const CArray<double, 1>& dataSrc, CArray<double,1>& dataDest, int filterID=-1); 139 150 140 151 CGridTransformation* gridTransformation; //!< The grid transformation used by the engine
Note: See TracChangeset
for help on using the changeset viewer.