VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPlaybackWidget.h 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 "vtkInteractionWidgetsModule.h" // For export macro 00034 #include "vtkBorderWidget.h" 00035 00036 class vtkPlaybackRepresentation; 00037 00038 00039 class VTKINTERACTIONWIDGETS_EXPORT vtkPlaybackWidget : public vtkBorderWidget 00040 { 00041 public: 00043 static vtkPlaybackWidget *New(); 00044 00046 00047 vtkTypeMacro(vtkPlaybackWidget,vtkBorderWidget); 00048 void PrintSelf(ostream& os, vtkIndent indent); 00050 00052 00056 void SetRepresentation(vtkPlaybackRepresentation *r) 00057 {this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));} 00059 00061 void CreateDefaultRepresentation(); 00062 00063 protected: 00064 vtkPlaybackWidget(); 00065 ~vtkPlaybackWidget(); 00066 00069 virtual void SelectRegion(double eventPos[2]); 00070 00071 private: 00072 vtkPlaybackWidget(const vtkPlaybackWidget&); //Not implemented 00073 void operator=(const vtkPlaybackWidget&); //Not implemented 00074 }; 00075 00076 #endif