29#ifndef vtkStringToNumeric_h
30#define vtkStringToNumeric_h
33#include "vtkInfovisCoreModule.h"
120 vtkBooleanMacro(ConvertVertexData,
bool);
127 vtkBooleanMacro(ConvertEdgeData,
bool);
134 vtkBooleanMacro(ConvertRowData,
bool);
represent and manipulate fields of data
a simple class to control print indentation
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Creates the same output type as the input type.
bool TrimWhitespacePriorToNumericConversion
int CountItemsToConvert(vtkFieldData *fieldData)
Count the total number of items (array components) that will need to be converted in the given vtkFie...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetConvertPointData(bool)
Whether to detect and convert cell data arrays.
double DefaultDoubleValue
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
virtual void SetConvertRowData(bool b)
Whether to detect and convert row data arrays.
virtual void SetConvertCellData(bool)
Whether to detect and convert point data arrays.
void ConvertArrays(vtkFieldData *fieldData)
Tries to convert string arrays to integer or double arrays.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is required to capture REQUEST_DATA_OBJECT requests.
virtual void SetConvertEdgeData(bool b)
Whether to detect and convert edge data arrays.
virtual bool GetConvertEdgeData()
virtual bool GetConvertVertexData()
virtual bool GetConvertCellData()
Whether to detect and convert point data arrays.
virtual bool GetConvertRowData()
virtual void SetConvertVertexData(bool b)
Whether to detect and convert vertex data arrays.
virtual bool GetConvertPointData()
Whether to detect and convert cell data arrays.
~vtkStringToNumeric() override
static vtkStringToNumeric * New()