vtkPVClipDataSet.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVClipDataSet.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 vtkPVClipDataSet_h
25 #define vtkPVClipDataSet_h
26 
27 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
29 
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
36  static vtkPVClipDataSet* New();
37 
39 
41 
45  vtkSetMacro(UseAMRDualClipForAMR, bool);
46  vtkGetMacro(UseAMRDualClipForAMR, bool);
47  vtkBooleanMacro(UseAMRDualClipForAMR, bool);
49 
51 
54  vtkSetMacro(ExactBoxClip, bool);
55  vtkGetMacro(ExactBoxClip, bool);
56  vtkBooleanMacro(ExactBoxClip, bool);
58 
59 protected:
61  ~vtkPVClipDataSet() override;
62 
64 
65  virtual int RequestDataObject(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
66 
67  int FillInputPortInformation(int, vtkInformation* info) override;
68  int FillOutputPortInformation(int, vtkInformation* info) override;
69 
71 
76  int ClipUsingSuperclass(vtkInformation* request, vtkInformationVector** inputVector,
77  vtkInformationVector* outputVector);
78  int ClipUsingThreshold(vtkInformation* request, vtkInformationVector** inputVector,
79  vtkInformationVector* outputVector);
81 
84 
85 private:
86  vtkPVClipDataSet(const vtkPVClipDataSet&) = delete;
87  void operator=(const vtkPVClipDataSet&) = delete;
88 };
89 
90 #endif
void PrintSelf(ostream &os, vtkIndent indent)
static vtkTableBasedClipDataSet * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillOutputPortInformation(int port, vtkInformation *info)
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void operator=(const vtkObjectBase &)
Clip filter.