/usr/include/vtk-7.1/vtkArrayData.h is in libvtk7-dev 7.1.1+dfsg1-2.
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 107 | /*=========================================================================
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.
=========================================================================*/
/**
* @class vtkArrayData
* @brief Pipeline data object that contains multiple vtkArray objects.
*
*
* 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.
*
* @sa
* vtkArrayDataAlgorithm, vtkArray
*
* @par 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) VTK_OVERRIDE;
static vtkArrayData* GetData(vtkInformation* info);
static vtkArrayData* GetData(vtkInformationVector* v, int i = 0);
/**
* Adds a vtkArray to the collection
*/
void AddArray(vtkArray*);
/**
* Clears the contents of the collection
*/
void ClearArrays();
/**
* Returns the number of vtkArray instances in the collection
*/
vtkIdType GetNumberOfArrays();
/**
* Returns the n-th vtkArray in the collection
*/
vtkArray* GetArray(vtkIdType index);
/**
* Returns the array having called name from the collection
*/
vtkArray* GetArrayByName(const char *name);
/**
* Return class name of data type (VTK_ARRAY_DATA).
*/
int GetDataObjectType() VTK_OVERRIDE {return VTK_ARRAY_DATA;}
void ShallowCopy(vtkDataObject* other) VTK_OVERRIDE;
void DeepCopy(vtkDataObject* other) VTK_OVERRIDE;
protected:
vtkArrayData();
~vtkArrayData() VTK_OVERRIDE;
private:
vtkArrayData(const vtkArrayData&) VTK_DELETE_FUNCTION;
void operator=(const vtkArrayData&) VTK_DELETE_FUNCTION;
class implementation;
implementation* const Implementation;
};
#endif
// VTK-HeaderTest-Exclude: vtkArrayData.h
|