VTK
vtkPlaybackRepresentation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPlaybackRepresentation.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 vtkPlaybackRepresentation_h
31 #define vtkPlaybackRepresentation_h
32 
33 #include "vtkInteractionWidgetsModule.h" // For export macro
35 
36 class vtkRenderer;
38 class vtkPoints;
39 class vtkPolyData;
42 class vtkProperty2D;
43 class vtkActor2D;
44 
45 class VTKINTERACTIONWIDGETS_EXPORT vtkPlaybackRepresentation : public vtkBorderRepresentation
46 {
47 public:
52 
54 
58  void PrintSelf(ostream& os, vtkIndent indent);
60 
62 
66  vtkGetObjectMacro(Property,vtkProperty2D);
68 
72  virtual void Play() {}
73  virtual void Stop() {}
74  virtual void ForwardOneFrame() {}
75  virtual void BackwardOneFrame() {}
76  virtual void JumpToBeginning() {}
77  virtual void JumpToEnd() {}
78 
82  virtual void BuildRepresentation();
83  virtual void GetSize(double size[2])
84  {size[0]=12.0; size[1]=2.0;}
85 
87 
91  virtual void GetActors2D(vtkPropCollection*);
92  virtual void ReleaseGraphicsResources(vtkWindow*);
93  virtual int RenderOverlay(vtkViewport*);
94  virtual int RenderOpaqueGeometry(vtkViewport*);
96  virtual int HasTranslucentPolygonalGeometry();
98 
99 protected:
102 
103  // representation geometry
110 
111 private:
112  vtkPlaybackRepresentation(const vtkPlaybackRepresentation&) VTK_DELETE_FUNCTION;
113  void operator=(const vtkPlaybackRepresentation&) VTK_DELETE_FUNCTION;
114 };
115 
116 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Define standard methods.
represent the vtkPlaybackWidget
abstract specification for Viewports
Definition: vtkViewport.h:47
virtual void Play()
Virtual callbacks that subclasses should implement.
a actor that draws 2D data
Definition: vtkActor2D.h:45
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
These methods are necessary to make this representation behave as a vtkProp.
virtual void GetActors2D(vtkPropCollection *)
These methods are necessary to make this representation behave as a vtkProp.
abstract specification for renderers
Definition: vtkRenderer.h:63
transform points and associated normals and vectors for polygonal dataset
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
static vtkBorderRepresentation * New()
Instantiate this class.
a list of Props
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
platform-independent render window interaction including picking and frame rate control.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RenderOpaqueGeometry(vtkViewport *)
These methods are necessary to make this representation behave as a vtkProp.
virtual void BuildRepresentation()
Subclasses should implement these methods.
virtual int RenderOverlay(vtkViewport *)
These methods are necessary to make this representation behave as a vtkProp.
represent a vtkBorderWidget
virtual void GetSize(double size[2])
Subclasses should implement these methods.
represent surface properties of a 2D image
Definition: vtkProperty2D.h:40
vtkTransformPolyDataFilter * TransformFilter
virtual int HasTranslucentPolygonalGeometry()
These methods are necessary to make this representation behave as a vtkProp.
virtual void ReleaseGraphicsResources(vtkWindow *)
These methods are necessary to make this representation behave as a vtkProp.
draw vtkPolyData onto the image plane
represent and manipulate 3D points
Definition: vtkPoints.h:39