/usr/include/vtk-5.8/vtkTemporalDataSet.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 99 100 101 102 103 104 105 106 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkTemporalDataSet.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 vtkTemporalDataSet - Composite dataset that holds multiple times
// .SECTION Description
// vtkTemporalDataSet is a vtkCompositeDataSet that stores
// multiple time steps of data.
// .SECTION See Also
// vtkCompositeDataSet
#ifndef __vtkTemporalDataSet_h
#define __vtkTemporalDataSet_h
#include "vtkCompositeDataSet.h"
class vtkDataObject;
class VTK_FILTERING_EXPORT vtkTemporalDataSet : public vtkCompositeDataSet
{
public:
static vtkTemporalDataSet *New();
vtkTypeMacro(vtkTemporalDataSet,vtkCompositeDataSet);
virtual void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Return class name of data type (see vtkType.h for
// definitions).
virtual int GetDataObjectType() {return VTK_TEMPORAL_DATA_SET;}
// Description:
// Set the number of time steps in theis dataset
void SetNumberOfTimeSteps(unsigned int numLevels)
{
this->SetNumberOfChildren(numLevels);
}
// Description:
// Returns the number of time steps.
unsigned int GetNumberOfTimeSteps()
{
return this->GetNumberOfChildren();
}
// Description:
// Set a data object as a timestep. Cannot be vtkTemporalDataSet.
void SetTimeStep(unsigned int timestep, vtkDataObject* dobj);
// Description:
// Get a timestep.
vtkDataObject* GetTimeStep(unsigned int timestep)
{ return this->GetChild(timestep); }
// Description:
// Get timestep meta-data.
vtkInformation* GetMetaData(unsigned int timestep)
{ return this->Superclass::GetChildMetaData(timestep); }
// Description:
// Returns if timestep meta-data is present.
int HasMetaData(unsigned int timestep)
{ return this->Superclass::HasChildMetaData(timestep); }
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkTemporalDataSet* GetData(vtkInformation* info);
static vtkTemporalDataSet* GetData(vtkInformationVector* v, int i=0);
//ETX
// Description:
// The extent type is a 3D extent
virtual int GetExtentType() { return VTK_TIME_EXTENT; };
// Description:
// Unhiding superclass method.
virtual vtkInformation* GetMetaData(vtkCompositeDataIterator* iter)
{ return this->Superclass::GetMetaData(iter); }
// Description:
// Unhiding superclass method.
virtual int HasMetaData(vtkCompositeDataIterator* iter)
{ return this->Superclass::HasMetaData(iter); }
protected:
vtkTemporalDataSet();
~vtkTemporalDataSet();
private:
vtkTemporalDataSet(const vtkTemporalDataSet&); // Not implemented.
void operator=(const vtkTemporalDataSet&); // Not implemented.
};
#endif
|