ParaView
vtkAMRFragmentIntegration.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkAMRFragmentIntegration.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 2013 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 =========================================================================*/
27 #ifndef vtkAMRFragmentIntegration_h
28 #define vtkAMRFragmentIntegration_h
29 
30 #include "vtkMultiBlockDataSetAlgorithm.h"
31 #include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
32 #include <string> // STL required.
33 #include <vector> // STL required.
34 
35 class vtkTable;
36 class vtkNonOverlappingAMR;
37 class vtkDataSet;
38 
39 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkAMRFragmentIntegration
40  : public vtkMultiBlockDataSetAlgorithm
41 {
42 public:
43  static vtkAMRFragmentIntegration* New();
44  vtkTypeMacro(vtkAMRFragmentIntegration, vtkMultiBlockDataSetAlgorithm);
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
47 protected:
49  virtual ~vtkAMRFragmentIntegration();
50 
51  virtual int FillInputPortInformation(int port, vtkInformation* info);
52  virtual int FillOutputPortInformation(int port, vtkInformation* info);
53 
54  virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
55 
59  vtkTable* DoRequestData(vtkNonOverlappingAMR* volume, const char* volumeArray,
60  const char* massArray, std::vector<std::string> volumeWeightedNames,
61  std::vector<std::string> massWeightedNames);
62 
63 private:
64  vtkAMRFragmentIntegration(const vtkAMRFragmentIntegration&) VTK_DELETE_FUNCTION;
65  void operator=(const vtkAMRFragmentIntegration&) VTK_DELETE_FUNCTION;
66 };
67 
68 #endif /* vtkAMRFragmentIntegration_h */
69 //
70 // VTK-HeaderTest-Exclude: vtkAMRFragmentIntegration.h
Generates fragment analysis from an amr volume and a previously run contour on that volume...