/usr/include/paraview/vtkCPPipeline.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 | /*=========================================================================
Program: ParaView
Module: vtkCPPipeline.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.
=========================================================================*/
#ifndef vtkCPPipeline_h
#define vtkCPPipeline_h
#include "vtkObject.h"
#include "vtkPVCatalystModule.h" // For windows import/export of shared libraries
class vtkCPDataDescription;
/// @ingroup CoProcessing
/// Generic interface for operating on pipelines. The user can use this
/// if they only have a single pipeline that they want to operate on
/// or they can use this to create a single pipeline and add it to
/// vtkCPProcessor. Each derived class should set itself up before
/// adding itself to vtkCPProcessor.
class VTKPVCATALYST_EXPORT vtkCPPipeline : public vtkObject
{
public:
vtkTypeMacro(vtkCPPipeline,vtkObject);
void PrintSelf(ostream& os, vtkIndent indent);
/// Configuration Step:
/// The coprocessor first determines if any coprocessing needs to be done
/// at this TimeStep/Time combination returning 1 if it does and 0
/// otherwise. If coprocessing does need to be performed this time step
/// it fills in the FieldNames array that the coprocessor requires
/// in order to fulfill all the coprocessing requests for this
/// TimeStep/Time combination.
virtual int RequestDataDescription(vtkCPDataDescription* DataDescription) = 0;
/// Execute the pipeline. Returns 1 for success and 0 for failure.
virtual int CoProcess(vtkCPDataDescription* DataDescription) = 0;
/// Finalize the pipeline before deleting it. A default no-op implementation
/// is given. Returns 1 for success and 0 for failure.
virtual int Finalize();
protected:
vtkCPPipeline();
virtual ~vtkCPPipeline();
private:
vtkCPPipeline(const vtkCPPipeline&); // Not implemented
void operator=(const vtkCPPipeline&); // Not implemented
};
#endif
|