VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Interaction
Widgets
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
33
#include "
vtkBorderRepresentation.h
"
34
35
class
vtkRenderer
;
36
class
vtkRenderWindowInteractor
;
37
class
vtkPoints
;
38
class
vtkPolyData
;
39
class
vtkTransformPolyDataFilter
;
40
class
vtkPolyDataMapper2D
;
41
class
vtkProperty2D
;
42
class
vtkActor2D
;
43
44
class
VTKINTERACTIONWIDGETS_EXPORT
vtkPlaybackRepresentation
:
public
vtkBorderRepresentation
45
{
46
public
:
48
static
vtkPlaybackRepresentation
*
New
();
49
51
52
vtkTypeMacro(
vtkPlaybackRepresentation
,
vtkBorderRepresentation
);
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
*);
86
virtual
int
RenderTranslucentPolygonalGeometry
(
vtkViewport
*);
87
virtual
int
HasTranslucentPolygonalGeometry
();
89
90
protected
:
91
vtkPlaybackRepresentation
();
92
~
vtkPlaybackRepresentation
();
93
94
// representation geometry
95
vtkPoints
*
Points
;
96
vtkPolyData
*
PolyData
;
97
vtkTransformPolyDataFilter
*
TransformFilter
;
98
vtkPolyDataMapper2D
*
Mapper
;
99
vtkProperty2D
*
Property
;
100
vtkActor2D
*
Actor
;
101
102
private
:
103
vtkPlaybackRepresentation
(
const
vtkPlaybackRepresentation
&);
//Not implemented
104
void
operator=(
const
vtkPlaybackRepresentation
&);
//Not implemented
105
};
106
107
#endif
Generated on Thu May 24 2012 22:22:28 for VTK by
1.8.1