source: XIOS/trunk/src/filter/axis_zoom.hpp @ 621

Last change on this file since 621 was 621, checked in by mhnguyen, 9 years ago

Implementing generic transformation algorithm (local commit)

+) Change a little bit to make sure everything work in order

Test
+) test_new_features passe with inverse

File size: 542 bytes
Line 
1#ifndef __XIOS_AXIS_ALGORITHM_ZOOM_HPP__
2#define __XIOS_AXIS_ALGORITHM_ZOOM_HPP__
3
4#include "concrete_algo.hpp"
5#include "axis.hpp"
6
7namespace xios {
8
9class CAxisZoom : public CConcreteAlgo
10{
11public:
12  CAxisZoom(CAxis* axisDestination, CAxis* axisSource);
13
14  virtual ~CAxisZoom() {}
15
16  virtual void computeIndexSourceMapping(const std::map<int, std::vector<int> >& transformationMappingOfPreviousAlgo);
17
18protected:
19  std::vector<int> axisDestGlobalIndex_;
20
21private:
22  int axisDestGlobalSize_;
23};
24
25}
26#endif // __XIOS_AXIS_ALGORITHM_ZOOM_HPP__
Note: See TracBrowser for help on using the repository browser.