/usr/include/paraview/vtkPVMultiSliceView.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 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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | /*=========================================================================
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"
class VTKPVCLIENTSERVERCORERENDERING_EXPORT vtkPVMultiSliceView : public vtkPVRenderView
{
public:
static vtkPVMultiSliceView* New();
vtkTypeMacro(vtkPVMultiSliceView, vtkPVRenderView);
void PrintSelf(ostream& os, vtkIndent indent);
// ====== For Slices along X axis ========================================
// Description:
// Return the number of offset values that are used for slices along X axis
int GetNumberOfSliceX() const;
// Description:
// Set the number of offset values that are used for slices along X axis
void SetNumberOfSliceX(int size);
// Description:
// Set an offset value for slice along X axis
void SetSliceX(int index, double value);
// Description:
// Return a pointer to a list of offset values for slice along X axis.
// The contents of the list will be garbage if the number of offset <= 0.
const double* GetSliceX() const;
// Description:
// Set the origin of the cut for slices along Z axis.
void SetSliceXOrigin(double x, double y, double z);
// Description:
// Set the origin of the cut for slices along Z axis.
const double* GetSliceXOrigin() const;
// Description:
// Set the normal of the cut for slices along Z axis.
void SetSliceXNormal(double x, double y, double z);
// Description:
// Set the normal of the cut for slices along Z axis.
const double* GetSliceXNormal() const;
// ====== For Slices along Y axis ========================================
// Description:
// Return the number of offset values that are used for slices along X axis
int GetNumberOfSliceY() const;
// Description:
// Set the number of offset values that are used for slices along X axis
void SetNumberOfSliceY(int size);
// Description:
// Set an offset value for slice along X axis
void SetSliceY(int index, double value);
// Description:
// Return a pointer to a list of offset values for slice along X axis.
// The contents of the list will be garbage if the number of offset <= 0.
const double* GetSliceY() const;
// Description:
// Set the origin of the cut for slices along Z axis.
void SetSliceYOrigin(double x, double y, double z);
// Description:
// Set the origin of the cut for slices along Z axis.
const double* GetSliceYOrigin() const;
// Description:
// Set the normal of the cut for slices along Z axis.
void SetSliceYNormal(double x, double y, double z);
// Description:
// Set the normal of the cut for slices along Z axis.
const double* GetSliceYNormal() const;
// ====== For Slices along Z axis ========================================
// Description:
// Return the number of offset values that are used for slices along X axis
int GetNumberOfSliceZ() const;
// Description:
// Set the number of offset values that are used for slices along X axis
void SetNumberOfSliceZ(int size);
// Description:
// Set an offset value for slice along X axis
void SetSliceZ(int index, double value);
// Description:
// Return a pointer to a list of offset values for slice along X axis.
// The contents of the list will be garbage if the number of offset <= 0.
const double* GetSliceZ() const;
// Description:
// Set the origin of the cut for slices along Z axis.
void SetSliceZOrigin(double x, double y, double z);
// Description:
// Set the origin of the cut for slices along Z axis.
const double* GetSliceZOrigin() const;
// Description:
// Set the normal of the cut for slices along Z axis.
void SetSliceZNormal(double x, double y, double z);
// Description:
// Set the normal of the cut for slices along Z axis.
const double* GetSliceZNormal() const;
// ==== Generic methods where sliceIndex represent the slice [X, Y, Z]
int GetNumberOfSlice(int sliceIndex) const;
void SetNumberOfSlice(int sliceIndex, int size);
void SetSlice(int sliceIndex, int index, double value);
const double* GetSlice(int sliceIndex) const;
void SetSliceOrigin(int sliceIndex, double x, double y, double z);
double* GetSliceOrigin(int sliceIndex) const;
void SetSliceNormal(int sliceIndex, double x, double y, double z);
double* GetSliceNormal(int sliceIndex) const;
//BTX
protected:
vtkPVMultiSliceView();
~vtkPVMultiSliceView();
private:
vtkPVMultiSliceView(const vtkPVMultiSliceView&); // Not implemented
void operator=(const vtkPVMultiSliceView&); // Not implemented
class vtkSliceInternal;
vtkSliceInternal* Internal;
//ETX
};
#endif
|