vtkAMRFragmentsFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkAMRFragmentsFilter.h
5 
6  This software is distributed WITHOUT ANY WARRANTY; without even
7  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8  PURPOSE. See the above copyright notice for more information.
9 
10  Copyright 2014 Sandia Corporation.
11  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
12  the U.S. Government retains certain rights in this software.
13 
14 =========================================================================*/
28 #ifndef vtkAMRFragmentsFilter_h
29 #define vtkAMRFragmentsFilter_h
30 
32 #include "vtkPVVTKExtensionsAMRModule.h" //needed for exports
33 
34 class vtkTrivialProducer;
35 class vtkExtractCTHPart;
37 class vtkAMRConnectivity;
39 
41 {
42 public:
43  static vtkAMRFragmentsFilter* New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
51  void AddInputVolumeArrayToProcess(const char* name);
52  void ClearInputVolumeArrayToProcess();
54 
56 
59  void AddInputMassArrayToProcess(const char* name);
60  void ClearInputMassArrayToProcess();
62 
64 
67  void AddInputVolumeWeightedArrayToProcess(const char* name);
68  void ClearInputVolumeWeightedArrayToProcess();
70 
72 
75  void AddInputMassWeightedArrayToProcess(const char* name);
76  void ClearInputMassWeightedArrayToProcess();
78 
80 
83  vtkSetMacro(ExtractSurface, bool);
84  vtkGetMacro(ExtractSurface, bool);
85  vtkBooleanMacro(ExtractSurface, bool);
87 
89 
92  vtkSetMacro(UseWatertightSurface, bool);
93  vtkGetMacro(UseWatertightSurface, bool);
94  vtkBooleanMacro(UseWatertightSurface, bool);
96 
98 
101  vtkSetMacro(IntegrateFragments, bool);
102  vtkGetMacro(IntegrateFragments, bool);
103  vtkBooleanMacro(IntegrateFragments, bool);
105 
107 
110  vtkGetMacro(VolumeFractionSurfaceValue, double);
111  vtkSetMacro(VolumeFractionSurfaceValue, double);
113 
114 protected:
116  ~vtkAMRFragmentsFilter() override;
117 
122 
128 
129  int FillInputPortInformation(int, vtkInformation*) override;
130  int FillOutputPortInformation(int, vtkInformation*) override;
132 
133 private:
135  void operator=(const vtkAMRFragmentsFilter&) = delete;
136 };
137 
138 #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 &)