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 "vtkBorderWidget.h"
34 
36 
37 
39 {
40 public:
42  static vtkPlaybackWidget *New();
43 
45 
47  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
56  {this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));}
58 
61 
62 protected:
65 
68  virtual void SelectRegion(double eventPos[2]);
69 
70 private:
71  vtkPlaybackWidget(const vtkPlaybackWidget&); //Not implemented
72  void operator=(const vtkPlaybackWidget&); //Not implemented
73 };
74 
75 #endif
virtual void CreateDefaultRepresentation()
place a border around a 2D rectangular region
represent the vtkPlaybackWidget
static vtkBorderWidget * New()
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_WIDGETS_EXPORT
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
virtual void SelectRegion(double eventPos[2])
void SetRepresentation(vtkPlaybackRepresentation *r)
2D widget for controlling a playback stream