VTK  9.4.20250208
vtkPlaybackRepresentation.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
18#ifndef vtkPlaybackRepresentation_h
19#define vtkPlaybackRepresentation_h
20
22#include "vtkInteractionWidgetsModule.h" // For export macro
23
24VTK_ABI_NAMESPACE_BEGIN
25class vtkRenderer;
27class vtkPoints;
28class vtkPolyData;
31class vtkProperty2D;
32class vtkActor2D;
33
34class VTKINTERACTIONWIDGETS_EXPORT vtkPlaybackRepresentation : public vtkBorderRepresentation
35{
36public:
41
43
47 void PrintSelf(ostream& os, vtkIndent indent) override;
49
51
55 vtkGetObjectMacro(Property, vtkProperty2D);
57
61 virtual void Play() {}
62 virtual void Stop() {}
63 virtual void ForwardOneFrame() {}
64 virtual void BackwardOneFrame() {}
65 virtual void JumpToBeginning() {}
66 virtual void JumpToEnd() {}
67
71 void BuildRepresentation() override;
72 void GetSize(double size[2]) override
73 {
74 size[0] = 12.0;
75 size[1] = 2.0;
76 }
77
79
85 int RenderOverlay(vtkViewport*) override;
90
91protected:
94
95 // representation geometry
102
103private:
105 void operator=(const vtkPlaybackRepresentation&) = delete;
106};
107
108VTK_ABI_NAMESPACE_END
109#endif
a actor that draws 2D data
Definition vtkActor2D.h:145
represent a vtkBorderWidget
a simple class to control print indentation
Definition vtkIndent.h:108
represent the vtkPlaybackWidget
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:139
draw vtkPolyData onto the image plane
concrete dataset represents vertices, lines, polygons, and triangle strips
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
transform points and associated normals and vectors for polygonal dataset
abstract specification for Viewports
Definition vtkViewport.h:65
window superclass for vtkRenderWindow
Definition vtkWindow.h:48
int vtkTypeBool
Definition vtkABI.h:64