VTK  9.2.6
vtkPointDataToCellData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPointDataToCellData.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
46 #ifndef vtkPointDataToCellData_h
47 #define vtkPointDataToCellData_h
48 
49 #include "vtkDataSetAlgorithm.h"
50 #include "vtkFiltersCoreModule.h" // For export macro
51 
52 class VTKFILTERSCORE_EXPORT vtkPointDataToCellData : public vtkDataSetAlgorithm
53 {
54 public:
56 
59  static vtkPointDataToCellData* New();
61  void PrintSelf(ostream& os, vtkIndent indent) override;
63 
65 
70  vtkSetMacro(PassPointData, bool);
71  vtkGetMacro(PassPointData, bool);
72  vtkBooleanMacro(PassPointData, bool);
74 
76 
82  vtkSetMacro(CategoricalData, bool);
83  vtkGetMacro(CategoricalData, bool);
84  vtkBooleanMacro(CategoricalData, bool);
86 
88 
92  vtkSetMacro(ProcessAllArrays, bool);
93  vtkGetMacro(ProcessAllArrays, bool);
94  vtkBooleanMacro(ProcessAllArrays, bool);
96 
102  virtual void AddPointDataArray(const char* name);
103 
109  virtual void RemovePointDataArray(const char* name);
110 
115  virtual void ClearPointDataArrays();
116 
117 protected:
119  ~vtkPointDataToCellData() override;
120 
121  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
122  vtkInformationVector* outputVector) override;
123 
127 
128  class Internals;
129  Internals* Implementation;
130 
131 private:
133  void operator=(const vtkPointDataToCellData&) = delete;
134 };
135 
136 #endif
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
map point data to cell data
static vtkDataSetAlgorithm * New()