VTK
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 =========================================================================*/
43 #ifndef vtkPointDataToCellData_h
44 #define vtkPointDataToCellData_h
45 
46 #include "vtkFiltersCoreModule.h" // For export macro
47 #include "vtkDataSetAlgorithm.h"
48 
49 class VTKFILTERSCORE_EXPORT vtkPointDataToCellData : public vtkDataSetAlgorithm
50 {
51 public:
52  static vtkPointDataToCellData *New();
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
57 
62  vtkSetMacro(PassPointData,bool);
63  vtkGetMacro(PassPointData,bool);
64  vtkBooleanMacro(PassPointData,bool);
66 
68 
73  vtkSetMacro(CategoricalData,bool);
74  vtkGetMacro(CategoricalData,bool);
75  vtkBooleanMacro(CategoricalData,bool);
77 
79 
83  vtkSetMacro(ProcessAllArrays, bool);
84  vtkGetMacro(ProcessAllArrays, bool);
85  vtkBooleanMacro(ProcessAllArrays, bool);
87 
93  virtual void AddPointDataArray(const char *name);
94 
100  virtual void RemovePointDataArray(const char *name);
101 
106  virtual void ClearPointDataArrays();
107 
108 protected:
110  ~vtkPointDataToCellData() override;
111 
112  int RequestData(vtkInformation* request,
113  vtkInformationVector** inputVector,
114  vtkInformationVector* outputVector) override;
115 
119 
120  class Internals;
121  Internals *Implementation;
122 
123 private:
125  void operator=(const vtkPointDataToCellData&) = delete;
126 };
127 
128 #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()