vtkCompositeDataToUnstructuredGridFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCompositeDataToUnstructuredGridFilter.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 =========================================================================*/
29 #ifndef vtkCompositeDataToUnstructuredGridFilter_h
30 #define vtkCompositeDataToUnstructuredGridFilter_h
31 
32 #include "vtkLegacy.h" // for legacy
33 #include "vtkPVVTKExtensionsMiscModule.h" // needed for export macro
35 
36 #if !defined(VTK_LEGACY_REMOVE)
37 
39 class vtkAppendFilter;
40 
43 {
44 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
50 
54  vtkSetMacro(SubTreeCompositeIndex, unsigned int);
55  vtkGetMacro(SubTreeCompositeIndex, unsigned int);
57 
59 
63  vtkSetMacro(MergePoints, bool);
64  vtkGetMacro(MergePoints, bool);
65  vtkBooleanMacro(MergePoints, bool);
67 
69 
76  vtkSetClampMacro(Tolerance, double, 0.0, VTK_DOUBLE_MAX);
77  vtkGetMacro(Tolerance, double);
79 
80 protected:
83 
88  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
89  vtkInformationVector* outputVector) override;
90 
91  int FillInputPortInformation(int port, vtkInformation* info) override;
92 
96  void RemovePartialArrays(vtkUnstructuredGrid* data);
97 
98  void AddDataSet(vtkDataSet* ds, vtkAppendFilter* appender);
99 
100  void ExecuteSubTree(vtkCompositeDataSet* cd, vtkAppendFilter* output);
101  unsigned int SubTreeCompositeIndex;
103  double Tolerance;
104 
105 private:
109 };
110 
111 #endif
112 #endif // VTK_LEGACY_REMOVE
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkUnstructuredGridAlgorithm * New()
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
#define VTKPVVTKEXTENSIONSMISC_EXPORT
appends all vtkUnstructuredGrid leaves of the input composite dataset to a single vtkUnstructuredGrid...
void operator=(const vtkObjectBase &)