/usr/include/paraview/vtkPVMultiSliceView.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  | /*=========================================================================
  Program:   ParaView
  Module:    vtkPVMultiSliceView.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 vtkPVMultiSliceView
// .SECTION Description
// vtkPVMultiSliceView extends vtkPVRenderView but add meta-data informations
// used by SliceRepresentation as a data model.
#ifndef vtkPVMultiSliceView_h
#define vtkPVMultiSliceView_h
#include "vtkPVClientServerCoreRenderingModule.h" //needed for exports
#include "vtkPVRenderView.h"
#include "vtkNew.h" // needed for vtkNew
#include <vector> // needed for std::vector
class vtkClientServerStream;
class vtkMatrix4x4;
class VTKPVCLIENTSERVERCORERENDERING_EXPORT vtkPVMultiSliceView : public vtkPVRenderView
{
public:
  static vtkPVMultiSliceView* New();
  vtkTypeMacro(vtkPVMultiSliceView, vtkPVRenderView);
  void PrintSelf(ostream& os, vtkIndent indent);
  virtual void Update();
  // Description:
  void SetNumberOfXSlices(unsigned int count) { this->SetNumberOfSlices(0, count); }
  void SetXSlices(const double* values) { this->SetSlices(0, values); }
  void SetNumberOfYSlices(unsigned int count) { this->SetNumberOfSlices(1, count); }
  void SetYSlices(const double* values) { this->SetSlices(1, values); }
  void SetNumberOfZSlices(unsigned int count) { this->SetNumberOfSlices(2, count); }
  void SetZSlices(const double* values) { this->SetSlices(2, values); }
  const std::vector<double>& GetSlices(int axis) const;
  const std::vector<double>& GetXSlices() const { return this->GetSlices(0); }
  const std::vector<double>& GetYSlices() const { return this->GetSlices(1); }
  const std::vector<double>& GetZSlices() const { return this->GetSlices(2); }
  void GetDataBounds(double bounds[6]) const;
  // These return NULL when no overrides were specified.
  const char* GetXAxisLabel() const { return this->GetAxisLabel(0); }
  const char* GetYAxisLabel() const { return this->GetAxisLabel(1); }
  const char* GetZAxisLabel() const { return this->GetAxisLabel(2); }
  const vtkClientServerStream& GetAxisLabels() const;
  // Convenience methods used by representations to pass information to the view
  // in vtkPVView::REQUEST_UPDATE() pass. SetAxisTitle can be used to tell the
  // view if the representation's data has information about titles to use for
  // each of the axis. SetDataBounds can be used to tell the view the raw data
  // bounds which are to be use when showing the slice-sliders.
  static void SetAxisTitle(vtkInformation* info, int axis, const char* title);
  static void SetDataBounds(vtkInformation* info, const double bounds[6]);
  void SetModelTransformationMatrix(vtkMatrix4x4*);
//BTX
protected:
  vtkPVMultiSliceView();
  ~vtkPVMultiSliceView();
  virtual void AboutToRenderOnLocalProcess(bool interactive);
  void SetNumberOfSlices(int type, unsigned int count);
  void SetSlices(int type, const double* values);
  const char* GetAxisLabel(int axis) const;
  vtkNew<vtkMatrix4x4> ModelTransformationMatrix;
  vtkTimeStamp ModelTransformationMatrixUpdateTime;
private:
  vtkPVMultiSliceView(const vtkPVMultiSliceView&); // Not implemented
  void operator=(const vtkPVMultiSliceView&); // Not implemented
  class vtkSliceInternal;
  vtkSliceInternal* Internal;
//ETX
};
#endif
 |