/usr/include/paraview/vtkSIVectorProperty.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 | /*=========================================================================
Program: ParaView
Module: vtkSIVectorProperty.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 vtkSIVectorProperty
// .SECTION Description
// Abstract class for SIProperty that hold an array of values.
// Define the array management API
#ifndef vtkSIVectorProperty_h
#define vtkSIVectorProperty_h
#include "vtkPVServerImplementationCoreModule.h" //needed for exports
#include "vtkSIProperty.h"
class VTKPVSERVERIMPLEMENTATIONCORE_EXPORT vtkSIVectorProperty : public vtkSIProperty
{
public:
vtkTypeMacro(vtkSIVectorProperty, vtkSIProperty);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// If RepeatCommand is true, the command is invoked multiple times,
// each time with NumberOfElementsPerCommand values. For example, if
// RepeatCommand is true, NumberOfElementsPerCommand is 2, the
// command is SetFoo and the values are 1 2 3 4 5 6, the resulting
// stream will have:
// @verbatim
// * Invoke obj SetFoo 1 2
// * Invoke obj SetFoo 3 4
// * Invoke obj SetFoo 5 6
// @endverbatim
vtkGetMacro(NumberOfElementsPerCommand, int);
// Description:
// If UseIndex and RepeatCommand are true, the property will add
// an index integer before each command. For example, if UseIndex and
// RepeatCommand are true, NumberOfElementsPerCommand is 2, the
// command is SetFoo and the values are 5 6 7 8 9 10, the resulting
// stream will have:
// @verbatim
// * Invoke obj SetFoo 0 5 6
// * Invoke obj SetFoo 1 7 8
// * Invoke obj SetFoo 2 9 10
// @endverbatim
vtkGetMacro(UseIndex, bool);
// Description:
// Command that can be used to remove all values.
// Typically used when RepeatCommand = 1. If set, the clean command
// is called before the main Command.
vtkGetStringMacro(CleanCommand);
// Description:
// If SetNumberCommand is set, it is called before Command
// with the number of arguments as the parameter.
vtkGetStringMacro(SetNumberCommand);
vtkGetStringMacro(InitialString);
//BTX
protected:
vtkSIVectorProperty();
~vtkSIVectorProperty();
vtkSetStringMacro(CleanCommand);
vtkSetStringMacro(SetNumberCommand);
vtkSetStringMacro(InitialString);
char* SetNumberCommand;
char* CleanCommand;
bool UseIndex;
int NumberOfElementsPerCommand;
char *InitialString;
// Description:
// Set the appropriate ivars from the xml element.
virtual bool ReadXMLAttributes(vtkSIProxy* proxyhelper,
vtkPVXMLElement* element);
private:
vtkSIVectorProperty(const vtkSIVectorProperty&); // Not implemented
void operator=(const vtkSIVectorProperty&); // Not implemented
//ETX
};
#endif
|