Rendering/vtkInteractorStyleRubberBandZoom.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00027 #ifndef __vtkInteractorStyleRubberBandZoom_h
00028 #define __vtkInteractorStyleRubberBandZoom_h
00029
00030 #include "vtkInteractorStyle.h"
00031
00032 class vtkUnsignedCharArray;
00033
00034 class VTK_RENDERING_EXPORT vtkInteractorStyleRubberBandZoom : public vtkInteractorStyle
00035 {
00036 public:
00037 static vtkInteractorStyleRubberBandZoom *New();
00038 vtkTypeRevisionMacro(vtkInteractorStyleRubberBandZoom, vtkInteractorStyle);
00039 void PrintSelf(ostream& os, vtkIndent indent);
00040
00042
00043 virtual void OnMouseMove();
00044 virtual void OnLeftButtonDown();
00045 virtual void OnLeftButtonUp();
00047
00048 protected:
00049 vtkInteractorStyleRubberBandZoom();
00050 ~vtkInteractorStyleRubberBandZoom();
00051
00052 virtual void Zoom();
00053
00054 int StartPosition[2];
00055 int EndPosition[2];
00056
00057 int Moving;
00058
00059 vtkUnsignedCharArray *PixelArray;
00060
00061 private:
00062 vtkInteractorStyleRubberBandZoom(const vtkInteractorStyleRubberBandZoom&);
00063 void operator=(const vtkInteractorStyleRubberBandZoom&);
00064 };
00065
00066 #endif