00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPlaybackWidget.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00030 #ifndef __vtkPlaybackWidget_h 00031 #define __vtkPlaybackWidget_h 00032 00033 #include "vtkBorderWidget.h" 00034 00035 class vtkPlaybackRepresentation; 00036 00037 00038 class VTK_WIDGETS_EXPORT vtkPlaybackWidget : public vtkBorderWidget 00039 { 00040 public: 00042 static vtkPlaybackWidget *New(); 00043 00045 00046 vtkTypeRevisionMacro(vtkPlaybackWidget,vtkBorderWidget); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 00055 void SetRepresentation(vtkPlaybackRepresentation *r) 00056 {this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));} 00058 00060 void CreateDefaultRepresentation(); 00061 00062 protected: 00063 vtkPlaybackWidget(); 00064 ~vtkPlaybackWidget(); 00065 00068 virtual void SelectRegion(double eventPos[2]); 00069 00070 private: 00071 vtkPlaybackWidget(const vtkPlaybackWidget&); //Not implemented 00072 void operator=(const vtkPlaybackWidget&); //Not implemented 00073 }; 00074 00075 #endif