vtkRulerLineForInput.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkRulerLineForInput.h
5 
6  This software is distributed WITHOUT ANY WARRANTY; without even
7  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8  PURPOSE. See the above copyright notice for more information.
9 
10  Copyright 2013 Sandia Corporation.
11  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
12  the U.S. Government retains certain rights in this software.
13 
14 =========================================================================*/
28 #ifndef vtkRulerLineForInput_h
29 #define vtkRulerLineForInput_h
30 
31 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
32 #include "vtkPolyDataAlgorithm.h"
33 
35 
37 {
38 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41  static vtkRulerLineForInput* New();
42 
43  enum class AxisType
44  {
45  X = 0,
46  Y,
47  Z,
48  OrientedBoundingBoxMajorAxis,
49  OrientedBoundingBoxMediumAxis,
50  OrientedBoundingBoxMinorAxis
51  };
52 
53  virtual void SetController(vtkMultiProcessController*);
54  vtkGetObjectMacro(Controller, vtkMultiProcessController);
55 
56  vtkSetClampMacro(Axis, int, 0, 5);
57  vtkGetMacro(Axis, int);
58 
59 protected:
61  ~vtkRulerLineForInput() override;
62 
63  int FillInputPortInformation(int port, vtkInformation* info) override;
64  int RequestInformation(vtkInformation* request, vtkInformationVector** inVectors,
65  vtkInformationVector* outVector) override;
66  int RequestData(vtkInformation* request, vtkInformationVector** inVectors,
67  vtkInformationVector* outVector) override;
68 
69 private:
70  vtkMultiProcessController* Controller;
71  int Axis;
72 
74  void operator=(const vtkRulerLineForInput&) = delete;
75 };
76 
77 #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 ...