ParaView
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"
29 class VTKPVVTKEXTENSIONSPOINTS_EXPORT vtkBoundedPlaneSource : public vtkPolyDataAlgorithm
30 {
31 public:
32  static vtkBoundedPlaneSource* New();
33  vtkTypeMacro(vtkBoundedPlaneSource, vtkPolyDataAlgorithm);
34  void PrintSelf(ostream& os, vtkIndent indent);
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 
65  vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
66  vtkGetMacro(Resolution, int);
68 
69 protected:
72 
73  virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
74 
75  double Center[3];
76  double Normal[3];
77  double BoundingBox[6];
79 
80 private:
81  vtkBoundedPlaneSource(const vtkBoundedPlaneSource&) VTK_DELETE_FUNCTION;
82  void operator=(const vtkBoundedPlaneSource&) VTK_DELETE_FUNCTION;
83 };
84 
85 #endif
a plane source bounded by a bounding box.