VTK  9.2.6
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
30#ifndef vtkPlaybackRepresentation_h
31#define vtkPlaybackRepresentation_h
32
34#include "vtkInteractionWidgetsModule.h" // For export macro
35
36class vtkRenderer;
38class vtkPoints;
39class vtkPolyData;
42class vtkProperty2D;
43class vtkActor2D;
44
45class VTKINTERACTIONWIDGETS_EXPORT vtkPlaybackRepresentation : public vtkBorderRepresentation
46{
47public:
52
54
58 void PrintSelf(ostream& os, vtkIndent indent) override;
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 void BuildRepresentation() override;
83 void GetSize(double size[2]) override
84 {
85 size[0] = 12.0;
86 size[1] = 2.0;
87 }
88
90
96 int RenderOverlay(vtkViewport*) override;
101
102protected:
105
106 // representation geometry
113
114private:
116 void operator=(const vtkPlaybackRepresentation&) = delete;
117};
118
119#endif
a actor that draws 2D data
Definition vtkActor2D.h:46
a simple class to control print indentation
Definition vtkIndent.h:40
void ReleaseGraphicsResources(vtkWindow *) override
These methods are necessary to make this representation behave as a vtkProp.
void GetSize(double size[2]) override
Subclasses should implement these methods.
void GetActors2D(vtkPropCollection *) override
These methods are necessary to make this representation behave as a vtkProp.
int RenderOpaqueGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
void BuildRepresentation() override
Satisfy the superclasses' API.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
vtkTypeBool HasTranslucentPolygonalGeometry() override
These methods are necessary to make this representation behave as a vtkProp.
virtual void Play()
Virtual callbacks that subclasses should implement.
int RenderOverlay(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK class methods.
static vtkPlaybackRepresentation * New()
Instantiate this class.
vtkTransformPolyDataFilter * TransformFilter
~vtkPlaybackRepresentation() override
represent and manipulate 3D points
Definition vtkPoints.h:40
draw vtkPolyData onto the image plane
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition vtkPolyData.h:91
an ordered list of Props
represent surface properties of a 2D image
platform-independent render window interaction including picking and frame rate control.
abstract specification for renderers
Definition vtkRenderer.h:73
transform points and associated normals and vectors for polygonal dataset
abstract specification for Viewports
Definition vtkViewport.h:56
window superclass for vtkRenderWindow
Definition vtkWindow.h:39
int vtkTypeBool
Definition vtkABI.h:69