VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
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 "
vtkBorderRepresentation.h
"
33
34
class
vtkRenderer
;
35
class
vtkRenderWindowInteractor
;
36
class
vtkPoints
;
37
class
vtkPolyData
;
38
class
vtkTransformPolyDataFilter
;
39
class
vtkPolyDataMapper2D
;
40
class
vtkProperty2D
;
41
class
vtkActor2D
;
42
43
class
VTK_WIDGETS_EXPORT
vtkPlaybackRepresentation
:
public
vtkBorderRepresentation
44
{
45
public
:
47
static
vtkPlaybackRepresentation
*
New
();
48
50
51
vtkTypeMacro(
vtkPlaybackRepresentation
,
vtkBorderRepresentation
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent);
54
56
58
vtkGetObjectMacro(Property,
vtkProperty2D
);
60
62
63
virtual
void
Play
() {}
64
virtual
void
Stop
() {}
65
virtual
void
ForwardOneFrame
() {}
66
virtual
void
BackwardOneFrame
() {}
67
virtual
void
JumpToBeginning
() {}
68
virtual
void
JumpToEnd
() {}
70
72
73
virtual
void
BuildRepresentation
();
74
virtual
void
GetSize
(
double
size
[2])
75
{size[0]=12.0; size[1]=2.0;}
77
79
81
virtual
void
GetActors2D
(
vtkPropCollection
*);
82
virtual
void
ReleaseGraphicsResources
(
vtkWindow
*);
83
virtual
int
RenderOverlay
(
vtkViewport
*);
84
virtual
int
RenderOpaqueGeometry
(
vtkViewport
*);
85
virtual
int
RenderTranslucentPolygonalGeometry
(
vtkViewport
*);
86
virtual
int
HasTranslucentPolygonalGeometry
();
88
89
protected
:
90
vtkPlaybackRepresentation
();
91
~
vtkPlaybackRepresentation
();
92
93
// representation geometry
94
vtkPoints
*
Points
;
95
vtkPolyData
*
PolyData
;
96
vtkTransformPolyDataFilter
*
TransformFilter
;
97
vtkPolyDataMapper2D
*
Mapper
;
98
vtkProperty2D
*
Property
;
99
vtkActor2D
*
Actor
;
100
101
private
:
102
vtkPlaybackRepresentation
(
const
vtkPlaybackRepresentation
&);
//Not implemented
103
void
operator=(
const
vtkPlaybackRepresentation
&);
//Not implemented
104
};
105
106
#endif
Generated on Wed May 30 2012 13:22:26 for VTK by
1.8.1