src
paraview-5.12
VTKExtensions
FiltersGeneral
vtkRulerLineForInput.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright 2013 Sandia Corporation
3
// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
17
#ifndef vtkRulerLineForInput_h
18
#define vtkRulerLineForInput_h
19
20
#include "vtkPVVTKExtensionsFiltersGeneralModule.h"
//needed for exports
21
#include "
vtkPolyDataAlgorithm.h
"
22
23
class
vtkMultiProcessController
;
24
25
class
VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
vtkRulerLineForInput
:
public
vtkPolyDataAlgorithm
26
{
27
public
:
28
vtkTypeMacro(
vtkRulerLineForInput
,
vtkPolyDataAlgorithm
);
29
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
30
static
vtkRulerLineForInput
*
New
();
31
32
enum class
AxisType
33
{
34
X = 0,
35
Y,
36
Z,
37
OrientedBoundingBoxMajorAxis,
38
OrientedBoundingBoxMediumAxis,
39
OrientedBoundingBoxMinorAxis
40
};
41
42
virtual
void
SetController(
vtkMultiProcessController
*);
43
vtkGetObjectMacro(Controller,
vtkMultiProcessController
);
44
45
vtkSetClampMacro(Axis,
int
, 0, 5);
46
vtkGetMacro(Axis,
int
);
47
48
protected
:
49
vtkRulerLineForInput
();
50
~
vtkRulerLineForInput
()
override
;
51
52
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
53
int
RequestInformation
(
vtkInformation
* request,
vtkInformationVector
** inVectors,
54
vtkInformationVector
* outVector)
override
;
55
int
RequestData
(
vtkInformation
* request,
vtkInformationVector
** inVectors,
56
vtkInformationVector
* outVector)
override
;
57
58
private
:
59
vtkMultiProcessController
* Controller;
60
int
Axis;
61
62
vtkRulerLineForInput
(
const
vtkRulerLineForInput
&) =
delete
;
63
void
operator=
(
const
vtkRulerLineForInput
&) =
delete
;
64
};
65
66
#endif
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkInformationVector
vtkPolyDataAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkPolyDataAlgorithm.h
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkMultiProcessController
vtkIndent
vtkInformation
vtkRulerLineForInput
Definition:
vtkRulerLineForInput.h:25
vtkRulerLineForInput::AxisType
AxisType
Definition:
vtkRulerLineForInput.h:32
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkPolyDataAlgorithm
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Generated by
1.8.17 on Wed Mar 27 2024