/usr/include/paraview/vtkXMLPVAnimationWriter.h is in paraview-dev 5.0.1+dfsg1-4.
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 | /*=========================================================================
Program: ParaView
Module: vtkXMLPVAnimationWriter.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 vtkXMLPVAnimationWriter - Data writer for ParaView
// .SECTION Description
// vtkXMLPVAnimationWriter is used to save all parts of a current
// source to a file with pieces spread across ther server processes.
#ifndef vtkXMLPVAnimationWriter_h
#define vtkXMLPVAnimationWriter_h
#include "vtkPVAnimationModule.h" //needed for exports
#include "vtkXMLPVDWriter.h"
class vtkXMLPVAnimationWriterInternals;
class VTKPVANIMATION_EXPORT vtkXMLPVAnimationWriter: public vtkXMLPVDWriter
{
public:
static vtkXMLPVAnimationWriter* New();
vtkTypeMacro(vtkXMLPVAnimationWriter,vtkXMLPVDWriter);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Add/Remove representations.
void AddRepresentation(vtkAlgorithm*, const char* groupname);
void RemoveAllRepresentations();
// Description:
// Start a new animation with the current set of inputs.
void Start();
// Description:
// Write the current time step.
void WriteTime(double time);
// Description:
// Finish an animation by writing the collection file.
void Finish();
protected:
vtkXMLPVAnimationWriter();
~vtkXMLPVAnimationWriter();
// Replace vtkXMLWriter's writing driver method.
virtual int WriteInternal();
// Status safety check for method call ordering.
int StartCalled;
int FinishCalled;
// Internal implementation details.
vtkXMLPVAnimationWriterInternals* Internal;
char **FileNamesCreated;
int NumberOfFileNamesCreated;
void AddFileName(const char *fileName);
void DeleteFileNames();
void DeleteFiles();
void AddInputInternal(const char* group);
private:
vtkXMLPVAnimationWriter(const vtkXMLPVAnimationWriter&); // Not implemented.
void operator=(const vtkXMLPVAnimationWriter&); // Not implemented.
};
#endif
|