/usr/include/paraview/vtkPVPlane.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 | /*=========================================================================
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 vtkPVPlane - extends vtkPlane to add Offset parameter.
// .SECTION Description
// vtkPVPlane adds an offset setting to vtkPlane.
// This offset is used together with normal and origin when
// setting parameters on the represented object.
#ifndef vtkPVPlane_h
#define vtkPVPlane_h
#include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
#include "vtkPlane.h"
class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkPVPlane : public vtkPlane
{
public:
static vtkPVPlane* New();
vtkTypeMacro(vtkPVPlane, vtkPlane);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// The origin is shifted in the direction of the normal
// by the offset.
vtkSetMacro(Offset, double);
vtkGetMacro(Offset, double);
// Description:
// Set/Get a transformation to apply to input points before
// executing the implicit function.
virtual void SetTransform(vtkAbstractTransform*);
virtual void SetTransform(const double elements[16])
{ this->Superclass::SetTransform(elements); }
// Description:
// Evaluate function at position x-y-z and return value. You should
// generally not call this method directly, you should use
// FunctionValue() instead. This method must be implemented by
// any derived class.
virtual double EvaluateFunction(double x[3]);
double EvaluateFunction(double x, double y, double z)
{ return this->Superclass::EvaluateFunction(x, y, z); }
// Description:
// Evaluate function gradient at position x-y-z and pass back vector.
// You should generally not call this method directly, you should use
// FunctionGradient() instead. This method must be implemented by
// any derived class.
virtual void EvaluateGradient(double x[3], double g[3]);
//BTX
protected:
vtkPVPlane();
~vtkPVPlane();
double Offset;
vtkPlane* Plane;
private:
vtkPVPlane(const vtkPVPlane&); // Not implemented
void operator=(const vtkPVPlane&); // Not implemented
//ETX
};
#endif
|