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 =========================================================================*/
35 #ifndef vtkPointDataToCellData_h
36 #define vtkPointDataToCellData_h
37 
38 #include "vtkFiltersCoreModule.h" // For export macro
39 #include "vtkDataSetAlgorithm.h"
40 
41 class VTKFILTERSCORE_EXPORT vtkPointDataToCellData : public vtkDataSetAlgorithm
42 {
43 public:
44  static vtkPointDataToCellData *New();
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49 
54  vtkSetMacro(PassPointData,vtkTypeBool);
55  vtkGetMacro(PassPointData,vtkTypeBool);
56  vtkBooleanMacro(PassPointData,vtkTypeBool);
58 
60 
65  vtkSetMacro(CategoricalData,vtkTypeBool);
66  vtkGetMacro(CategoricalData,vtkTypeBool);
67  vtkBooleanMacro(CategoricalData,vtkTypeBool);
69 
70 protected:
73 
74  int RequestData(vtkInformation* request,
75  vtkInformationVector** inputVector,
76  vtkInformationVector* outputVector) override;
77 
80 private:
82  void operator=(const vtkPointDataToCellData&) = delete;
83 };
84 
85 #endif
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition: vtkABI.h:69
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:33
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()