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 
32 #include "vtkInteractionWidgetsModule.h" // For export macro
34 
35 class vtkRenderer;
37 class vtkPoints;
38 class vtkPolyData;
41 class vtkProperty2D;
42 class vtkActor2D;
43 
45 {
46 public:
49 
51 
53  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
59  vtkGetObjectMacro(Property,vtkProperty2D);
61 
63 
64  virtual void Play() {}
65  virtual void Stop() {}
66  virtual void ForwardOneFrame() {}
67  virtual void BackwardOneFrame() {}
68  virtual void JumpToBeginning() {}
69  virtual void JumpToEnd() {}
71 
73 
74  virtual void BuildRepresentation();
75  virtual void GetSize(double size[2])
76  {size[0]=12.0; size[1]=2.0;}
78 
80 
82  virtual void GetActors2D(vtkPropCollection*);
83  virtual void ReleaseGraphicsResources(vtkWindow*);
84  virtual int RenderOverlay(vtkViewport*);
85  virtual int RenderOpaqueGeometry(vtkViewport*);
87  virtual int HasTranslucentPolygonalGeometry();
89 
90 protected:
93 
94  // representation geometry
101 
102 private:
103  vtkPlaybackRepresentation(const vtkPlaybackRepresentation&); //Not implemented
104  void operator=(const vtkPlaybackRepresentation&); //Not implemented
105 };
106 
107 #endif
void PrintSelf(ostream &os, vtkIndent indent)
represent the vtkPlaybackWidget
abstract specification for Viewports
Definition: vtkViewport.h:46
a actor that draws 2D data
Definition: vtkActor2D.h:44
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual void GetActors2D(vtkPropCollection *)
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:83
static vtkBorderRepresentation * New()
a list of Props
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
platform-independent render window interaction including picking and frame rate control.
#define VTKINTERACTIONWIDGETS_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RenderOpaqueGeometry(vtkViewport *)
virtual void BuildRepresentation()
virtual int RenderOverlay(vtkViewport *)
represent a vtkBorderWidget
virtual void GetSize(double size[2])
represent surface properties of a 2D image
Definition: vtkProperty2D.h:39
vtkTransformPolyDataFilter * TransformFilter
virtual int HasTranslucentPolygonalGeometry()
virtual void ReleaseGraphicsResources(vtkWindow *)
draw vtkPolyData onto the image plane
represent and manipulate 3D points
Definition: vtkPoints.h:38