126#ifndef vtkGenerateIds_h
127#define vtkGenerateIds_h
129#include "vtkFiltersCoreModule.h"
134VTK_ABI_NAMESPACE_BEGIN
156 vtkSetMacro(PointIds,
bool);
157 vtkGetMacro(PointIds,
bool);
158 vtkBooleanMacro(PointIds,
bool);
168 vtkSetMacro(CellIds,
bool);
169 vtkGetMacro(CellIds,
bool);
170 vtkBooleanMacro(CellIds,
bool);
179 vtkSetMacro(FieldData,
bool);
180 vtkGetMacro(FieldData,
bool);
181 vtkBooleanMacro(FieldData,
bool);
191 vtkSetMacro(PointIdsArrayName, std::string);
192 vtkGetMacro(PointIdsArrayName, std::string);
200 vtkSetMacro(CellIdsArrayName, std::string);
201 vtkGetMacro(CellIdsArrayName, std::string);
225 bool PointIds =
true;
227 bool FieldData =
false;
228 std::string PointIdsArrayName =
"vtkPointIds";
229 std::string CellIdsArrayName =
"vtkCellIds";
represent and manipulate cell attribute data
generate scalars or field data from point and cell ids
~vtkGenerateIds() override=default
static vtkGenerateIds * New()
Construct object with PointIds and CellIds on; and ids being generated as scalars.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
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
represent and manipulate point attribute data