/usr/include/paraview/vtkPExtractHistogram.h is in paraview-dev 4.0.1-1ubuntu1.
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 | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPExtractHistogram.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 vtkPExtractHistogram - Extract histogram for parallel dataset.
// .SECTION Description
// vtkPExtractHistogram is vtkExtractHistogram subclass for parallel datasets.
// It gathers the histogram data on the root node.
#ifndef __vtkPExtractHistogram_h
#define __vtkPExtractHistogram_h
#include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
#include "vtkExtractHistogram.h"
class vtkMultiProcessController;
class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkPExtractHistogram : public vtkExtractHistogram
{
public:
static vtkPExtractHistogram* New();
vtkTypeMacro(vtkPExtractHistogram, vtkExtractHistogram);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Get/Set the multiprocess controller. If no controller is set,
// single process is assumed.
virtual void SetController(vtkMultiProcessController*);
vtkGetObjectMacro(Controller, vtkMultiProcessController);
protected:
vtkPExtractHistogram();
~vtkPExtractHistogram();
// Description:
// Returns the data range for the input array to process.
// Overridden to reduce the range in parallel.
virtual bool GetInputArrayRange(vtkInformationVector** inputVector, double range[2]);
virtual int RequestData(vtkInformation *request,
vtkInformationVector **inputVector, vtkInformationVector *outputVector);
vtkMultiProcessController* Controller;
private:
vtkPExtractHistogram(const vtkPExtractHistogram&); // Not implemented.
void operator=(const vtkPExtractHistogram&); // Not implemented.
};
#endif
|