vtkInteractorStyleRubberBandZoom.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00038 #ifndef __vtkInteractorStyleRubberBandZoom_h
00039 #define __vtkInteractorStyleRubberBandZoom_h
00040
00041 #include "vtkInteractorStyle.h"
00042
00043 class vtkUnsignedCharArray;
00044
00045 class VTK_RENDERING_EXPORT vtkInteractorStyleRubberBandZoom : public vtkInteractorStyle
00046 {
00047 public:
00048 static vtkInteractorStyleRubberBandZoom *New();
00049 vtkTypeRevisionMacro(vtkInteractorStyleRubberBandZoom, vtkInteractorStyle);
00050 void PrintSelf(ostream& os, vtkIndent indent);
00051
00053
00054 virtual void OnMouseMove();
00055 virtual void OnLeftButtonDown();
00056 virtual void OnLeftButtonUp();
00058
00059 protected:
00060 vtkInteractorStyleRubberBandZoom();
00061 ~vtkInteractorStyleRubberBandZoom();
00062
00063 virtual void Zoom();
00064
00065 int StartPosition[2];
00066 int EndPosition[2];
00067
00068 int Moving;
00069
00070 vtkUnsignedCharArray *PixelArray;
00071
00072 private:
00073 vtkInteractorStyleRubberBandZoom(const vtkInteractorStyleRubberBandZoom&);
00074 void operator=(const vtkInteractorStyleRubberBandZoom&);
00075 };
00076
00077 #endif