ParaView
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 "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
28 #include "vtkTableBasedClipDataSet.h"
29 
30 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkPVClipDataSet : public vtkTableBasedClipDataSet
31 {
32 public:
33  vtkTypeMacro(vtkPVClipDataSet, vtkTableBasedClipDataSet);
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
36  static vtkPVClipDataSet* New();
37 
38  virtual int ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
39 
41 
45  vtkSetMacro(UseAMRDualClipForAMR, bool);
46  vtkGetMacro(UseAMRDualClipForAMR, bool);
47  vtkBooleanMacro(UseAMRDualClipForAMR, bool);
49 
50 protected:
51  vtkPVClipDataSet(vtkImplicitFunction* cf = NULL);
53 
54  virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
55 
56  virtual int RequestDataObject(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
57 
58  virtual int FillInputPortInformation(int, vtkInformation* info);
59  virtual int FillOutputPortInformation(int, vtkInformation* info);
60 
62 
67  int ClipUsingSuperclass(vtkInformation* request, vtkInformationVector** inputVector,
68  vtkInformationVector* outputVector);
69  int ClipUsingThreshold(vtkInformation* request, vtkInformationVector** inputVector,
70  vtkInformationVector* outputVector);
72 
74 
75 private:
76  vtkPVClipDataSet(const vtkPVClipDataSet&) VTK_DELETE_FUNCTION;
77  void operator=(const vtkPVClipDataSet&) VTK_DELETE_FUNCTION;
78 };
79 
80 #endif
Clip filter.