/usr/include/paraview/vtkMarkSelectedRows.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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | /*=========================================================================
Program: ParaView
Module: $RCSfile$
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 vtkMarkSelectedRows
// .SECTION Description
// vtkMarkSelectedRows is used by vtkSpreadSheetView to marks rows from the
// vtkTable generated by vtkSortedTableStreamer or vtkBlockDeliveryPreprocessor
// as selected (done by adding a new vtkCharArray named "vtkIsSelected__").
// It has two input ports:
// \li 0 : vtkTable
// \li 1 : vtkTable (the extracted selection).
// Alternatively, for composite datasets, both inputs can be composite datasets
// with vtkTable leaf nodes with identical structure.
#ifndef vtkMarkSelectedRows_h
#define vtkMarkSelectedRows_h
#include "vtkDataObjectAlgorithm.h"
#include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
class vtkTable;
class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkMarkSelectedRows : public vtkDataObjectAlgorithm
{
public:
static vtkMarkSelectedRows* New();
vtkTypeMacro(vtkMarkSelectedRows, vtkDataObjectAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Select the field to process. Only selection associated with the chosen
// field are considered.
// Accepted values are
// \li vtkDataObject::FIELD_ASSOCIATION_POINTS,
// \li vtkDataObject::FIELD_ASSOCIATION_CELLS,
// \li vtkDataObject::FIELD_ASSOCIATION_NONE,
// \li vtkDataObject::FIELD_ASSOCIATION_VERTICES,
// \li vtkDataObject::FIELD_ASSOCIATION_EDGES,
// \li vtkDataObject::FIELD_ASSOCIATION_ROWS
// If value is vtkDataObject::FIELD_ASSOCIATION_NONE, then FieldData
// associated with the input dataobject is extracted.
vtkSetMacro(FieldAssociation, int);
vtkGetMacro(FieldAssociation, int);
//BTX
protected:
vtkMarkSelectedRows();
~vtkMarkSelectedRows();
virtual int FillInputPortInformation(int port, vtkInformation* info);
virtual int RequestData(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*);
// Description:
// Overridden to create a vtkTable or vtkMultiBlockDataSet as the output based
// on the input type.
virtual int RequestDataObject(vtkInformation*,
vtkInformationVector**, vtkInformationVector*);
// Description:
// Operates on vtkTable instances. RequestData() handles composite datasets
// by iterating over the leaves and calling this method.
int RequestDataInternal(
vtkTable* input, vtkTable* extractedInput, vtkTable* output);
int FieldAssociation;
private:
vtkMarkSelectedRows(const vtkMarkSelectedRows&); // Not implemented
void operator=(const vtkMarkSelectedRows&); // Not implemented
//ETX
};
#endif
|