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 =========================================================================*/
29 #ifndef __vtkPlaybackRepresentation_h
30 #define __vtkPlaybackRepresentation_h
31 
33 
34 class vtkRenderer;
36 class vtkPoints;
37 class vtkPolyData;
40 class vtkProperty2D;
41 class vtkActor2D;
42 
44 {
45 public:
48 
50 
52  void PrintSelf(ostream& os, vtkIndent indent);
54 
56 
58  vtkGetObjectMacro(Property,vtkProperty2D);
60 
62 
63  virtual void Play() {}
64  virtual void Stop() {}
65  virtual void ForwardOneFrame() {}
66  virtual void BackwardOneFrame() {}
67  virtual void JumpToBeginning() {}
68  virtual void JumpToEnd() {}
70 
72 
73  virtual void BuildRepresentation();
74  virtual void GetSize(double size[2])
75  {size[0]=12.0; size[1]=2.0;}
77 
79 
81  virtual void GetActors2D(vtkPropCollection*);
82  virtual void ReleaseGraphicsResources(vtkWindow*);
83  virtual int RenderOverlay(vtkViewport*);
84  virtual int RenderOpaqueGeometry(vtkViewport*);
86  virtual int HasTranslucentPolygonalGeometry();
88 
89 protected:
92 
93  // representation geometry
100 
101 private:
102  vtkPlaybackRepresentation(const vtkPlaybackRepresentation&); //Not implemented
103  void operator=(const vtkPlaybackRepresentation&); //Not implemented
104 };
105 
106 #endif