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 =========================================================================*/
29 #ifndef vtkPlaybackRepresentation_h
30 #define vtkPlaybackRepresentation_h
31 
32 #include "vtkInteractionWidgetsModule.h" // For export macro
34 
35 class vtkRenderer;
37 class vtkPoints;
38 class vtkPolyData;
41 class vtkProperty2D;
42 class vtkActor2D;
43 
45 {
46 public:
49 
51 
53  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
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 
84  virtual int RenderOverlay(vtkViewport*);
89 
90 protected:
93 
94  // representation geometry
101 
102 private:
103  vtkPlaybackRepresentation(const vtkPlaybackRepresentation&); //Not implemented
104  void operator=(const vtkPlaybackRepresentation&); //Not implemented
105 };
106 
107 #endif
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkPlaybackRepresentation::TransformFilter
vtkTransformPolyDataFilter * TransformFilter
Definition: vtkPlaybackRepresentation.h:97
vtkPlaybackRepresentation::JumpToEnd
virtual void JumpToEnd()
Definition: vtkPlaybackRepresentation.h:69
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkPlaybackRepresentation::HasTranslucentPolygonalGeometry
virtual int HasTranslucentPolygonalGeometry()
vtkPolyDataMapper2D
draw vtkPolyData onto the image plane
Definition: vtkPolyDataMapper2D.h:51
vtkBorderRepresentation
represent a vtkBorderWidget
Definition: vtkBorderRepresentation.h:58
vtkPlaybackRepresentation::GetActors2D
virtual void GetActors2D(vtkPropCollection *)
vtkPlaybackRepresentation::PolyData
vtkPolyData * PolyData
Definition: vtkPlaybackRepresentation.h:96
vtkPlaybackRepresentation::Stop
virtual void Stop()
Definition: vtkPlaybackRepresentation.h:65
vtkPlaybackRepresentation
represent the vtkPlaybackWidget
Definition: vtkPlaybackRepresentation.h:45
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkInteractionWidgetsModule.h
vtkPlaybackRepresentation::JumpToBeginning
virtual void JumpToBeginning()
Definition: vtkPlaybackRepresentation.h:68
vtkPlaybackRepresentation::~vtkPlaybackRepresentation
~vtkPlaybackRepresentation()
vtkPlaybackRepresentation::GetSize
virtual void GetSize(double size[2])
Definition: vtkPlaybackRepresentation.h:75
vtkPlaybackRepresentation::BackwardOneFrame
virtual void BackwardOneFrame()
Definition: vtkPlaybackRepresentation.h:67
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkPlaybackRepresentation::vtkPlaybackRepresentation
vtkPlaybackRepresentation()
vtkPlaybackRepresentation::Play
virtual void Play()
Definition: vtkPlaybackRepresentation.h:64
vtkPlaybackRepresentation::Points
vtkPoints * Points
Definition: vtkPlaybackRepresentation.h:95
vtkPlaybackRepresentation::RenderOpaqueGeometry
virtual int RenderOpaqueGeometry(vtkViewport *)
vtkBorderRepresentation.h
vtkPlaybackRepresentation::RenderOverlay
virtual int RenderOverlay(vtkViewport *)
vtkPlaybackRepresentation::RenderTranslucentPolygonalGeometry
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTransformPolyDataFilter
transform points and associated normals and vectors for polygonal dataset
Definition: vtkTransformPolyDataFilter.h:51
vtkRenderWindowInteractor
platform-independent render window interaction including picking and frame rate control.
Definition: vtkRenderWindowInteractor.h:80
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkProperty2D
represent surface properties of a 2D image
Definition: vtkProperty2D.h:40
vtkActor2D
a actor that draws 2D data
Definition: vtkActor2D.h:45
vtkPlaybackRepresentation::New
static vtkPlaybackRepresentation * New()
vtkPlaybackRepresentation::Actor
vtkActor2D * Actor
Definition: vtkPlaybackRepresentation.h:100
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition: vtkInteractionWidgetsModule.h:15
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkPlaybackRepresentation::Mapper
vtkPolyDataMapper2D * Mapper
Definition: vtkPlaybackRepresentation.h:98
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:84
vtkPlaybackRepresentation::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
vtkPlaybackRepresentation::BuildRepresentation
virtual void BuildRepresentation()
vtkPlaybackRepresentation::ForwardOneFrame
virtual void ForwardOneFrame()
Definition: vtkPlaybackRepresentation.h:66
vtkPropCollection
a list of Props
Definition: vtkPropCollection.h:38
vtkPlaybackRepresentation::Property
vtkProperty2D * Property
Definition: vtkPlaybackRepresentation.h:99
vtkPlaybackRepresentation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkgl::size
GLsizeiptr size
Definition: vtkgl.h:11843