/usr/include/vtk-5.8/vtkPlaybackRepresentation.h is in libvtk5-dev 5.8.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPlaybackRepresentation.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkPlaybackRepresentation - represent the vtkPlaybackWidget
// .SECTION Description
// This class is used to represent the vtkPlaybackWidget. Besides defining
// geometry, this class defines a series of virtual method stubs that are
// meant to be subclassed by applications for controlling playback.
// .SECTION See Also
// vtkPlaybackWidget
#ifndef __vtkPlaybackRepresentation_h
#define __vtkPlaybackRepresentation_h
#include "vtkBorderRepresentation.h"
class vtkRenderer;
class vtkRenderWindowInteractor;
class vtkPoints;
class vtkPolyData;
class vtkTransformPolyDataFilter;
class vtkPolyDataMapper2D;
class vtkProperty2D;
class vtkActor2D;
class VTK_WIDGETS_EXPORT vtkPlaybackRepresentation : public vtkBorderRepresentation
{
public:
// Description:
// Instantiate this class.
static vtkPlaybackRepresentation *New();
// Description:
// Standard VTK class methods.
vtkTypeMacro(vtkPlaybackRepresentation,vtkBorderRepresentation);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// By obtaining this property you can specify the properties of the
// representation.
vtkGetObjectMacro(Property,vtkProperty2D);
// Description:
// Virtual callbacks that subclasses should implement.
virtual void Play() {}
virtual void Stop() {}
virtual void ForwardOneFrame() {}
virtual void BackwardOneFrame() {}
virtual void JumpToBeginning() {}
virtual void JumpToEnd() {}
// Description:
// Satisfy the superclasses' API.
virtual void BuildRepresentation();
virtual void GetSize(double size[2])
{size[0]=12.0; size[1]=2.0;}
// Description:
// These methods are necessary to make this representation behave as
// a vtkProp.
virtual void GetActors2D(vtkPropCollection*);
virtual void ReleaseGraphicsResources(vtkWindow*);
virtual int RenderOverlay(vtkViewport*);
virtual int RenderOpaqueGeometry(vtkViewport*);
virtual int RenderTranslucentPolygonalGeometry(vtkViewport*);
virtual int HasTranslucentPolygonalGeometry();
protected:
vtkPlaybackRepresentation();
~vtkPlaybackRepresentation();
// representation geometry
vtkPoints *Points;
vtkPolyData *PolyData;
vtkTransformPolyDataFilter *TransformFilter;
vtkPolyDataMapper2D *Mapper;
vtkProperty2D *Property;
vtkActor2D *Actor;
private:
vtkPlaybackRepresentation(const vtkPlaybackRepresentation&); //Not implemented
void operator=(const vtkPlaybackRepresentation&); //Not implemented
};
#endif
|