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=========================================================================*/
30#ifndef vtkPlaybackRepresentation_h
31#define vtkPlaybackRepresentation_h
32
33#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);
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 virtual void BuildRepresentation();
83 virtual void GetSize(double size[2])
84 {size[0]=12.0; size[1]=2.0;}
85
87
98
99protected:
102
103 // representation geometry
110
111private:
112 vtkPlaybackRepresentation(const vtkPlaybackRepresentation&) VTK_DELETE_FUNCTION;
113 void operator=(const vtkPlaybackRepresentation&) VTK_DELETE_FUNCTION;
114};
115
116#endif
a actor that draws 2D data
Definition: vtkActor2D.h:46
represent a vtkBorderWidget
a simple class to control print indentation
Definition: vtkIndent.h:40
represent the vtkPlaybackWidget
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual int RenderOverlay(vtkViewport *)
virtual int HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual void BuildRepresentation()
Satisfy the superclasses' API.
virtual void Play()
Virtual callbacks that subclasses should implement.
virtual void GetSize(double size[2])
static vtkPlaybackRepresentation * New()
Instantiate this class.
vtkTransformPolyDataFilter * TransformFilter
virtual void GetActors2D(vtkPropCollection *)
These methods are necessary to make this representation behave as a vtkProp.
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:86
a list of Props
represent surface properties of a 2D image
Definition: vtkProperty2D.h:41
platform-independent render window interaction including picking and frame rate control.
abstract specification for renderers
Definition: vtkRenderer.h:64
transform points and associated normals and vectors for polygonal dataset
abstract specification for Viewports
Definition: vtkViewport.h:48
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
@ size
Definition: vtkX3D.h:253