VTK
vtkPlaybackWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPlaybackWidget.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
30 #ifndef vtkPlaybackWidget_h
31 #define vtkPlaybackWidget_h
32 
33 #include "vtkInteractionWidgetsModule.h" // For export macro
34 #include "vtkBorderWidget.h"
35 
37 
38 
40 {
41 public:
43  static vtkPlaybackWidget *New();
44 
46 
48  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
57  {this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));}
59 
62 
63 protected:
66 
69  virtual void SelectRegion(double eventPos[2]);
70 
71 private:
72  vtkPlaybackWidget(const vtkPlaybackWidget&); //Not implemented
73  void operator=(const vtkPlaybackWidget&); //Not implemented
74 };
75 
76 #endif
virtual void CreateDefaultRepresentation()
place a border around a 2D rectangular region
represent the vtkPlaybackWidget
static vtkBorderWidget * New()
#define VTKINTERACTIONWIDGETS_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
virtual void SelectRegion(double eventPos[2])
void SetRepresentation(vtkPlaybackRepresentation *r)
2D widget for controlling a playback stream