/usr/include/vtk-6.3/vtkArrayData.h is in libvtk6-dev 6.3.0+dfsg1-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 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkArrayData.h
-------------------------------------------------------------------------
Copyright 2008 Sandia Corporation.
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
the U.S. Government retains certain rights in this software.
-------------------------------------------------------------------------
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 vtkArrayData - Pipeline data object that contains multiple vtkArray objects.
//
// .SECTION Description
// Because vtkArray cannot be stored as attributes of data objects (yet), a "carrier"
// object is needed to pass vtkArray through the pipeline. vtkArrayData acts as a
// container of zero-to-many vtkArray instances, which can be retrieved via a zero-based
// index. Note that a collection of arrays stored in vtkArrayData may-or-may-not have related
// types, dimensions, or extents.
//
// .SECTION See Also
// vtkArrayDataAlgorithm, vtkArray
//
// .SECTION Thanks
// Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories.
#ifndef vtkArrayData_h
#define vtkArrayData_h
#include "vtkCommonDataModelModule.h" // For export macro
#include "vtkArray.h"
#include "vtkDataObject.h"
class vtkArray;
class VTKCOMMONDATAMODEL_EXPORT vtkArrayData : public vtkDataObject
{
public:
static vtkArrayData* New();
vtkTypeMacro(vtkArrayData, vtkDataObject);
void PrintSelf(ostream &os, vtkIndent indent);
static vtkArrayData* GetData(vtkInformation* info);
static vtkArrayData* GetData(vtkInformationVector* v, int i = 0);
// Description:
// Adds a vtkArray to the collection
void AddArray(vtkArray*);
// Description:
// Clears the contents of the collection
void ClearArrays();
// Description:
// Returns the number of vtkArray instances in the collection
vtkIdType GetNumberOfArrays();
// Description:
// Returns the n-th vtkArray in the collection
vtkArray* GetArray(vtkIdType index);
// Description:
// Returns the array having called name from the collection
vtkArray* GetArrayByName(const char *name);
// Description:
// Return class name of data type (VTK_ARRAY_DATA).
virtual int GetDataObjectType() {return VTK_ARRAY_DATA;}
virtual void ShallowCopy(vtkDataObject* other);
virtual void DeepCopy(vtkDataObject* other);
protected:
vtkArrayData();
~vtkArrayData();
private:
vtkArrayData(const vtkArrayData&); // Not implemented
void operator=(const vtkArrayData&); // Not implemented
//BTX
class implementation;
implementation* const Implementation;
//ETX
};
#endif
// VTK-HeaderTest-Exclude: vtkArrayData.h
|