VTK
vtkmAverageToCells.h
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // Copyright (c) Kitware, Inc.
4 // All rights reserved.
5 // See LICENSE.txt for details.
6 //
7 // This software is distributed WITHOUT ANY WARRANTY; without even
8 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9 // PURPOSE. See the above copyright notice for more information.
10 //
11 // Copyright 2012 Sandia Corporation.
12 // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
13 // the U.S. Government retains certain rights in this software.
14 //
15 //=============================================================================
28 #ifndef vtkmAverageToCells_h
29 #define vtkmAverageToCells_h
30 
31 #include "vtkAcceleratorsVTKmModule.h" //required for correct implementation
32 #include "vtkDataSetAlgorithm.h"
33 
34 class VTKACCELERATORSVTKM_EXPORT vtkmAverageToCells : public vtkDataSetAlgorithm
35 {
36 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39  static vtkmAverageToCells* New();
40 
41 protected:
43  ~vtkmAverageToCells();
44 
45  virtual int RequestData(vtkInformation*, vtkInformationVector**,
46  vtkInformationVector*) override;
47 
48 private:
49  vtkmAverageToCells(const vtkmAverageToCells&) = delete;
50  void operator=(const vtkmAverageToCells&) = delete;
51 };
52 
53 #endif // vtkmAverageToCells_h
54 // VTK-HeaderTest-Exclude: vtkmAverageToCells.h
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:39
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.