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 
24 
26 {
27 public:
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:
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 
63  void operator=(const vtkRulerLineForInput&) = delete;
64 };
65 
66 #endif
info
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkPolyDataAlgorithm * New()
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
port
This filter produces a line along a side of the bounding box of its input for either an axis-aligned ...