39#ifndef vtkMapArrayValues_h
40#define vtkMapArrayValues_h
43#include "vtkRenderingCoreModule.h"
83 vtkSetMacro(FillValue,
double);
84 vtkGetMacro(FillValue,
double);
91 vtkSetStringMacro(InputArrayName);
92 vtkGetStringMacro(InputArrayName);
99 vtkSetStringMacro(OutputArrayName);
100 vtkGetStringMacro(OutputArrayName);
108 vtkGetMacro(OutputArrayType,
int);
109 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 atomic type representing the union of many types.