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:
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:
111 
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
vtkPointDataToCellData::~vtkPointDataToCellData
~vtkPointDataToCellData() override
vtkPointDataToCellData::PassPointData
bool PassPointData
Definition: vtkPointDataToCellData.h:116
vtkPointDataToCellData
map point data to cell data
Definition: vtkPointDataToCellData.h:50
vtkPointDataToCellData::AddPointDataArray
virtual void AddPointDataArray(const char *name)
Adds an array to be processed.
vtkPointDataToCellData::ProcessAllArrays
bool ProcessAllArrays
Definition: vtkPointDataToCellData.h:118
vtkPointDataToCellData::CategoricalData
bool CategoricalData
Definition: vtkPointDataToCellData.h:117
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkPointDataToCellData::Implementation
Internals * Implementation
Definition: vtkPointDataToCellData.h:120
vtkPointDataToCellData::vtkPointDataToCellData
vtkPointDataToCellData()
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:49
vtkPointDataToCellData::RemovePointDataArray
virtual void RemovePointDataArray(const char *name)
Removes an array to be processed.
vtkPointDataToCellData::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkPointDataToCellData::New
static vtkPointDataToCellData * New()
vtkPointDataToCellData::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkX3D::name
@ name
Definition: vtkX3D.h:219
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkDataSetAlgorithm.h
vtkPointDataToCellData::ClearPointDataArrays
virtual void ClearPointDataArrays()
Removes all arrays to be processed from the list.