vtkAMRFragmentsFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright 2014 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
17 #ifndef vtkAMRFragmentsFilter_h
18 #define vtkAMRFragmentsFilter_h
19 
21 #include "vtkPVVTKExtensionsAMRModule.h" //needed for exports
22 
23 class vtkTrivialProducer;
24 class vtkExtractCTHPart;
26 class vtkAMRConnectivity;
28 
30 {
31 public:
32  static vtkAMRFragmentsFilter* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
40  void AddInputVolumeArrayToProcess(const char* name);
41  void ClearInputVolumeArrayToProcess();
43 
45 
48  void AddInputMassArrayToProcess(const char* name);
49  void ClearInputMassArrayToProcess();
51 
53 
56  void AddInputVolumeWeightedArrayToProcess(const char* name);
57  void ClearInputVolumeWeightedArrayToProcess();
59 
61 
64  void AddInputMassWeightedArrayToProcess(const char* name);
65  void ClearInputMassWeightedArrayToProcess();
67 
69 
72  vtkSetMacro(ExtractSurface, bool);
73  vtkGetMacro(ExtractSurface, bool);
74  vtkBooleanMacro(ExtractSurface, bool);
76 
78 
81  vtkSetMacro(UseWatertightSurface, bool);
82  vtkGetMacro(UseWatertightSurface, bool);
83  vtkBooleanMacro(UseWatertightSurface, bool);
85 
87 
90  vtkSetMacro(IntegrateFragments, bool);
91  vtkGetMacro(IntegrateFragments, bool);
92  vtkBooleanMacro(IntegrateFragments, bool);
94 
96 
99  vtkGetMacro(VolumeFractionSurfaceValue, double);
100  vtkSetMacro(VolumeFractionSurfaceValue, double);
102 
103 protected:
105  ~vtkAMRFragmentsFilter() override;
106 
111 
117 
118  int FillInputPortInformation(int, vtkInformation*) override;
119  int FillOutputPortInformation(int, vtkInformation*) override;
121 
122 private:
124  void operator=(const vtkAMRFragmentsFilter&) = delete;
125 };
126 
127 #endif /* vtkAMRFragmentsFilter_h */
Generates fragment analysis from an amr volume and a previously run contour on that volume...
vtkTrivialProducer * Producer
A meta filter that combines vtkAMRConnectivity, vtkAMRFragmentIntegration, vtkAMRDualContour, vtkExtractCTHPart to allow all the fragment analysis in one easy UI.
vtkPVAMRFragmentIntegration * Integration
vtkPVAMRDualContour * Contour
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkAMRConnectivity * Connectivity
static vtkMultiBlockDataSetAlgorithm * New()
virtual int FillOutputPortInformation(int port, vtkInformation *info)
#define VTKPVVTKEXTENSIONSAMR_EXPORT
Identify fragments in the grid.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Generates a contour surface given one or more cell arrays and a volume fraction value.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkExtractCTHPart * Extract
void operator=(const vtkObjectBase &)