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
vtkPointDataToCellData::~vtkPointDataToCellData
~vtkPointDataToCellData() override
Definition: vtkPointDataToCellData.h:72
vtkPointDataToCellData
map point data to cell data
Definition: vtkPointDataToCellData.h:41
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkDataSetAlgorithm.h:180
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:48
vtkPointDataToCellData::PassPointData
vtkTypeBool PassPointData
Definition: vtkPointDataToCellData.h:78
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkDataSetAlgorithm.h
vtkDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkPointDataToCellData::CategoricalData
vtkTypeBool CategoricalData
Definition: vtkPointDataToCellData.h:79