/usr/include/paraview/vtkCleanArrays.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 | /*=========================================================================
Program: ParaView
Module: vtkCleanArrays.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 vtkCleanArrays - filter used to remove partial arrays across processes.
// .SECTION Description
// vtkCleanArrays is a filter used to remove (or fill up) partial arrays in a
// vtkDataSet across processes. Empty dataset on any processes is ignored i.e.
// it does not affect the arrays on any processes.
#ifndef vtkCleanArrays_h
#define vtkCleanArrays_h
#include "vtkDataSetAlgorithm.h"
#include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
class vtkMultiProcessController;
class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkCleanArrays : public vtkDataSetAlgorithm
{
public:
static vtkCleanArrays* New();
vtkTypeMacro(vtkCleanArrays, vtkDataSetAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// The user can set the controller used for inter-process communication. By
// default set to the global communicator.
void SetController(vtkMultiProcessController *controller);
vtkGetObjectMacro(Controller, vtkMultiProcessController);
// Description:
// When set to true (false by default), 0 filled array will be added for
// missing arrays on this process (instead of removing partial arrays).
vtkSetMacro(FillPartialArrays, bool);
vtkGetMacro(FillPartialArrays, bool);
vtkBooleanMacro(FillPartialArrays, bool);
//BTX
protected:
vtkCleanArrays();
~vtkCleanArrays();
virtual int RequestData(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkMultiProcessController* Controller;
bool FillPartialArrays;
private:
vtkCleanArrays(const vtkCleanArrays&); // Not implemented
void operator=(const vtkCleanArrays&); // Not implemented
public:
class vtkArrayData;
class vtkArraySet;
//ETX
};
#endif
|