/usr/include/paraview/vtkBlockDeliveryPreprocessor.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 | /*=========================================================================
Program: ParaView
Module: vtkBlockDeliveryPreprocessor.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 vtkBlockDeliveryPreprocessor - filter used by block-delivery
// representation for pre-processing data.
// .SECTION Description
// vtkBlockDeliveryPreprocessor is a filter used by block-delivery
// representation for pre-processing data.
// It internally uses vtkAttributeDataToTableFilter.
#ifndef vtkBlockDeliveryPreprocessor_h
#define vtkBlockDeliveryPreprocessor_h
#include "vtkDataObjectAlgorithm.h"
#include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkBlockDeliveryPreprocessor : public vtkDataObjectAlgorithm
{
public:
static vtkBlockDeliveryPreprocessor* New();
vtkTypeMacro(vtkBlockDeliveryPreprocessor, vtkDataObjectAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// In case of Composite datasets, set the flat index of the subtree to pass.
// Default is 0 which results in passing the entire composite tree.
vtkSetMacro(CompositeDataSetIndex, unsigned int);
vtkGetMacro(CompositeDataSetIndex, unsigned int);
void SetCompositeDataSetIndex() { this->SetCompositeDataSetIndex(0); }
// Description:
// Allow user to enable/disable cell connectivity generation in the datamodel
vtkSetMacro(GenerateCellConnectivity, bool);
vtkGetMacro(GenerateCellConnectivity, bool);
// Description:
// Select the attribute type. 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);
// Description:
// Flatten the table, i.e. split any multicomponent columns into separate
// components, internally the vtkSplitColumnComponents filter is used.
vtkSetMacro(FlattenTable, int);
vtkGetMacro(FlattenTable, int);
// Description:
// When set (default) the vtkOriginalIndices array will be added to the
// output. Can be overridden by setting this flag to 0.
// This is only respected when AddMetaData is true.
vtkSetMacro(GenerateOriginalIds, bool);
vtkGetMacro(GenerateOriginalIds, bool);
//BTX
protected:
vtkBlockDeliveryPreprocessor();
~vtkBlockDeliveryPreprocessor();
virtual vtkExecutive* CreateDefaultExecutive();
// Description:
// This is called by the superclass.
// This is the method you should override.
virtual int RequestDataObject(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*);
virtual int RequestData(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*);
int FieldAssociation;
unsigned int CompositeDataSetIndex;
int FlattenTable;
bool GenerateOriginalIds;
bool GenerateCellConnectivity;
private:
vtkBlockDeliveryPreprocessor(const vtkBlockDeliveryPreprocessor&); // Not implemented
void operator=(const vtkBlockDeliveryPreprocessor&); // Not implemented
//ETX
};
#endif
|