vtkBoundedPlaneSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkBoundedPlaneSource.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkBoundedPlaneSource_h
25 #define vtkBoundedPlaneSource_h
26 
27 #include "vtkPVVTKExtensionsPointsModule.h" // for export macro
28 #include "vtkPolyDataAlgorithm.h"
30 {
31 public:
32  static vtkBoundedPlaneSource* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
41  vtkSetVector3Macro(Center, double);
42  vtkGetVector3Macro(Center, double);
44 
46 
49  vtkSetVector3Macro(Normal, double);
50  vtkGetVector3Macro(Normal, double);
52 
54 
57  vtkSetVector6Macro(BoundingBox, double);
58  vtkGetVector6Macro(BoundingBox, double);
60 
62  {
64  USE_CELL_SIZE
65  };
66 
70  vtkSetClampMacro(RefinementMode, int, USE_RESOLUTION, USE_CELL_SIZE);
71  vtkGetMacro(RefinementMode, int);
72 
74 
78  vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
79  vtkGetMacro(Resolution, int);
81 
83 
87  vtkSetMacro(CellSize, double);
88  vtkGetMacro(CellSize, double);
90 
92 
97  vtkSetClampMacro(Padding, double, 0, VTK_DOUBLE_MAX);
98  vtkGetMacro(Padding, double);
100 
101 protected:
103  ~vtkBoundedPlaneSource() override;
104 
106 
107  double Center[3];
108  double Normal[3];
109  double BoundingBox[6];
112  double CellSize;
113  double Padding;
114 
115 private:
117  void operator=(const vtkBoundedPlaneSource&) = delete;
118 };
119 
120 #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 &)