vtkBoundedPlaneSource.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkBoundedPlaneSource_h
13 #define vtkBoundedPlaneSource_h
14 
15 #include "vtkPVVTKExtensionsPointsModule.h" // for export macro
16 #include "vtkPolyDataAlgorithm.h"
18 {
19 public:
20  static vtkBoundedPlaneSource* New();
22  void PrintSelf(ostream& os, vtkIndent indent) override;
23 
25 
29  vtkSetVector3Macro(Center, double);
30  vtkGetVector3Macro(Center, double);
32 
34 
37  vtkSetVector3Macro(Normal, double);
38  vtkGetVector3Macro(Normal, double);
40 
42 
45  vtkSetVector6Macro(BoundingBox, double);
46  vtkGetVector6Macro(BoundingBox, double);
48 
50  {
52  USE_CELL_SIZE
53  };
54 
58  vtkSetClampMacro(RefinementMode, int, USE_RESOLUTION, USE_CELL_SIZE);
59  vtkGetMacro(RefinementMode, int);
60 
62 
66  vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
67  vtkGetMacro(Resolution, int);
69 
71 
75  vtkSetMacro(CellSize, double);
76  vtkGetMacro(CellSize, double);
78 
80 
85  vtkSetClampMacro(Padding, double, 0, VTK_DOUBLE_MAX);
86  vtkGetMacro(Padding, double);
88 
89 protected:
91  ~vtkBoundedPlaneSource() override;
92 
94 
95  double Center[3];
96  double Normal[3];
97  double BoundingBox[6];
100  double CellSize;
101  double Padding;
102 
103 private:
105  void operator=(const vtkBoundedPlaneSource&) = delete;
106 };
107 
108 #endif
#define VTKPVVTKEXTENSIONSPOINTS_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
a plane source bounded by a bounding box.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Normal
static vtkPolyDataAlgorithm * New()
void operator=(const vtkObjectBase &)