vtkDataObjectTreeToPointSetFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkDataObjectTreeToPointSetFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
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 =========================================================================*/
27 #ifndef vtkDataObjectTreeToPointSetFilter_h
28 #define vtkDataObjectTreeToPointSetFilter_h
29 
30 #include "vtkLegacy.h" // for legacy
31 #include "vtkPVVTKExtensionsMiscModule.h" // For export macro
32 #include "vtkPointSetAlgorithm.h"
33 
34 #if !defined(VTK_LEGACY_REMOVE)
35 class vtkAppendDataSets;
36 class vtkDataObjectTree;
37 class vtkDataSet;
39 {
40 public:
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
50  vtkSetMacro(SubTreeCompositeIndex, unsigned int);
51  vtkGetMacro(SubTreeCompositeIndex, unsigned int);
53 
55 
59  vtkSetMacro(MergePoints, bool);
60  vtkGetMacro(MergePoints, bool);
61  vtkBooleanMacro(MergePoints, bool);
63 
65 
72  vtkSetClampMacro(Tolerance, double, 0.0, VTK_DOUBLE_MAX);
73  vtkGetMacro(Tolerance, double);
75 
77 
81  vtkSetMacro(ToleranceIsAbsolute, bool);
82  vtkGetMacro(ToleranceIsAbsolute, bool);
83  vtkBooleanMacro(ToleranceIsAbsolute, bool);
85 
87 
97  vtkSetMacro(OutputDataSetType, int);
98  vtkGetMacro(OutputDataSetType, int);
99 
100 protected:
103 
104  int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
105  vtkInformationVector* outputVector) override;
106  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
107  vtkInformationVector* outputVector) override;
108 
109  int FillInputPortInformation(int port, vtkInformation* info) override;
110 
114  void RemovePartialArrays(vtkDataSet* data);
115 
116  void ExecuteSubTree(vtkDataObjectTree* dot, vtkAppendDataSets* appender);
117 
118  unsigned int SubTreeCompositeIndex;
120  double Tolerance;
123 
124 private:
126  void operator=(const vtkDataObjectTreeToPointSetFilter&) = delete;
127 };
128 
129 #endif
130 #endif // VTK_LEGACY_REMOVE
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKPVVTKEXTENSIONSMISC_EXPORT
Filter that merges blocks from a data object tree to a vtkPolyData of vtkUnstructuredGrid.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkPointSetAlgorithm * New()
virtual int FillInputPortInformation(int port, vtkInformation *info)
void operator=(const vtkObjectBase &)