/usr/include/paraview/vtkQuerySelectionSource.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 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | /*=========================================================================
Program: ParaView
Module: vtkQuerySelectionSource.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 vtkQuerySelectionSource - a selection source that uses a "query" to
// generate the selection.
// .SECTION Description
// vtkQuerySelectionSource is a selection source that uses a "query" to generate
// the vtkSelection object.
// A query has the following form: "TERM OPERATOR VALUE(s)"
// eg. "GLOBALID is_in_range (0, 10)" here GLOBALID is the TERM, is_in_range is
// the operator and (0,10) are the values. A query can have additional
// qualifiers such as the process id, block id, amr level, amr block.
#ifndef vtkQuerySelectionSource_h
#define vtkQuerySelectionSource_h
#include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
#include "vtkSelectionAlgorithm.h"
class vtkAbstractArray;
class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkQuerySelectionSource : public vtkSelectionAlgorithm
{
public:
static vtkQuerySelectionSource* New();
vtkTypeMacro(vtkQuerySelectionSource, vtkSelectionAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Set/get the query expression string.
vtkSetStringMacro(QueryString);
vtkGetStringMacro(QueryString);
// Description:
vtkSetMacro(CompositeIndex, int);
vtkGetMacro(CompositeIndex, int);
vtkSetMacro(HierarchicalLevel, int);
vtkGetMacro(HierarchicalLevel, int);
vtkSetMacro(HierarchicalIndex, int);
vtkGetMacro(HierarchicalIndex, int);
vtkSetMacro(ProcessID, int);
vtkGetMacro(ProcessID, int);
// Possible values are as defined by
// vtkSelectionNode::SelectionField.
vtkSetMacro(FieldType, int);
vtkGetMacro(FieldType, int);
// Description:
// This merely reconstructs the query as a user friendly text eg. "IDs >= 12".
// ( Makes you want to wonder if we should support parsing input query text as
// well ;) )
const char* GetUserFriendlyText();
// Description:
// Set/get the invert selection flag.
vtkSetMacro(Inverse, int);
vtkGetMacro(Inverse, int);
//BTX
protected:
vtkQuerySelectionSource();
~vtkQuerySelectionSource();
virtual int RequestInformation(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
virtual int RequestData(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
int FieldType;
char* QueryString;
int CompositeIndex;
int HierarchicalIndex;
int HierarchicalLevel;
int ProcessID;
private:
vtkQuerySelectionSource(const vtkQuerySelectionSource&); // Not implemented
void operator=(const vtkQuerySelectionSource&); // Not implemented
class vtkInternals;
vtkInternals* Internals;
int Inverse;
//ETX
};
#endif
|