27#ifndef vtkMapArrayValues_h
28#define vtkMapArrayValues_h
31#include "vtkRenderingCoreModule.h"
33VTK_ABI_NAMESPACE_BEGIN
72 vtkSetMacro(FillValue,
double);
73 vtkGetMacro(FillValue,
double);
80 vtkSetStringMacro(InputArrayName);
81 vtkGetStringMacro(InputArrayName);
88 vtkSetStringMacro(OutputArrayName);
89 vtkGetStringMacro(OutputArrayName);
97 vtkGetMacro(OutputArrayType,
int);
98 vtkSetMacro(OutputArrayType,
int);
a simple class to control print indentation
Map values in an input array to different values in an output array of (possibly) different type.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
int GetMapSize()
Get the size of the internal map.
void ClearMap()
Clear the internal map.
void AddToMap(const char *from, int to)
Add to the internal STL map.
void AddToMap(const char *from, const char *to)
Add to the internal STL map.
void AddToMap(int from, const char *to)
Add to the internal STL map.
static vtkMapArrayValues * New()
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void AddToMap(vtkVariant from, vtkVariant to)
Add to the internal STL map.
~vtkMapArrayValues() override
void AddToMap(int from, int to)
Add to the internal STL map.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A type representing the union of many types.