Ignore:
Timestamp:
06/22/15 13:36:31 (5 years ago)
Author:
mhnguyen
Message:

Implementing transformation algorithm: zoom axis (local commit)

+) Implement zoom axis: zoomed points are points not masked
+) Correct some minor bugs

Test
+) Ok with normal cases: zoom in the last of transformation list
+) There is still a bug in case of zoom then inverse

File:
1 moved

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/filter/axis_algorithm_zoom.hpp

    r622 r623  
    88namespace xios { 
    99 
    10 class CAxisZoom : public CAxisAlgorithmTransformation 
     10class CAxisAlgorithmZoom : public CAxisAlgorithmTransformation 
    1111{ 
    1212public: 
    13   CAxisZoom(CAxis* axisDestination, CAxis* axisSource, CZoomAxis* zoomAxis); 
     13  CAxisAlgorithmZoom(CAxis* axisDestination, CAxis* axisSource, CZoomAxis* zoomAxis); 
    1414 
    15   virtual ~CAxisZoom() {} 
     15  virtual ~CAxisAlgorithmZoom() {} 
    1616 
    1717  virtual void computeIndexSourceMapping(); 
    1818 
     19private: 
     20  void updateAxisDestinationMask(); 
     21  void updateZoom(); 
    1922private: 
    2023  StdSize zoomBegin_; 
Note: See TracChangeset for help on using the changeset viewer.