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
void PrintSelf(ostream &os, vtkIndent indent)
represent the vtkPlaybackWidget
abstract specification for Viewports
Definition: vtkViewport.h:45
a actor that draws 2D data
Definition: vtkActor2D.h:43
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual void GetActors2D(vtkPropCollection *)
abstract specification for renderers
Definition: vtkRenderer.h:69
transform points and associated normals and vectors for polygonal dataset
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:81
static vtkBorderRepresentation * New()
a list of Props
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
platform-independent render window interaction including picking and frame rate control.
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual int RenderOpaqueGeometry(vtkViewport *)
virtual void BuildRepresentation()
virtual int RenderOverlay(vtkViewport *)
represent a vtkBorderWidget
#define VTK_WIDGETS_EXPORT
virtual void GetSize(double size[2])
represent surface properties of a 2D image
Definition: vtkProperty2D.h:38
vtkTransformPolyDataFilter * TransformFilter
virtual int HasTranslucentPolygonalGeometry()
virtual void ReleaseGraphicsResources(vtkWindow *)
draw vtkPolyData onto the image plane
represent and manipulate 3D points
Definition: vtkPoints.h:38