/usr/include/paraview/vtkSMArraySelectionDomain.h is in paraview-dev 4.0.1-1ubuntu1.
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 | /*=========================================================================
Program: ParaView
Module: vtkSMArraySelectionDomain.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 vtkSMArraySelectionDomain - adds all strings from information property
// .SECTION Description
// vtkSMArraySelectionDomain overwrites vtkSMStringListRangeDomain's Update
// in which it adds all strings from a required information property to
// the domain. The information property must have been populated by
// an vtkSMArraySelectionInformationHelper. It also sets the IntDomainMode
// to BOOLEAN.
// .SECTION See Also
// vtkSMStringListRangeDomain vtkSMStringVectorProperty
// vtkSMArraySelectionInformationHelper
#ifndef __vtkSMArraySelectionDomain_h
#define __vtkSMArraySelectionDomain_h
#include "vtkPVServerManagerCoreModule.h" //needed for exports
#include "vtkSMStringListRangeDomain.h"
class VTKPVSERVERMANAGERCORE_EXPORT vtkSMArraySelectionDomain : public vtkSMStringListRangeDomain
{
public:
static vtkSMArraySelectionDomain* New();
vtkTypeMacro(vtkSMArraySelectionDomain, vtkSMStringListRangeDomain);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Populate the values of the domain from the given information
// property.
virtual void Update(vtkSMProperty*);
// Description:
// A vtkSMProperty is often defined with a default value in the
// XML itself. However, many times, the default value must be determined
// at run time. To facilitate this, domains can override this method
// to compute and set the default value for the property.
// Note that unlike the compile-time default values, the
// application must explicitly call this method to initialize the
// property.
// Returns 1 if the domain updated the property.
virtual int SetDefaultValues(vtkSMProperty*);
protected:
vtkSMArraySelectionDomain();
~vtkSMArraySelectionDomain();
private:
vtkSMArraySelectionDomain(const vtkSMArraySelectionDomain&); // Not implemented
void operator=(const vtkSMArraySelectionDomain&); // Not implemented
};
#endif
|