19 #ifndef vtkStringToNumeric_h
20 #define vtkStringToNumeric_h
23 #include "vtkInfovisCoreModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
38 vtkSetMacro(ForceDouble,
bool);
39 vtkGetMacro(ForceDouble,
bool);
40 vtkBooleanMacro(ForceDouble,
bool);
47 vtkSetMacro(DefaultIntegerValue,
int);
48 vtkGetMacro(DefaultIntegerValue,
int);
55 vtkSetMacro(DefaultDoubleValue,
double);
56 vtkGetMacro(DefaultDoubleValue,
double);
74 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
75 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
76 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
83 vtkSetMacro(ConvertFieldData,
bool);
84 vtkGetMacro(ConvertFieldData,
bool);
85 vtkBooleanMacro(ConvertFieldData,
bool);
92 vtkSetMacro(ConvertPointData,
bool);
93 vtkGetMacro(ConvertPointData,
bool);
94 vtkBooleanMacro(ConvertPointData,
bool);
101 vtkSetMacro(ConvertCellData,
bool);
102 vtkGetMacro(ConvertCellData,
bool);
103 vtkBooleanMacro(ConvertCellData,
bool);
111 vtkBooleanMacro(ConvertVertexData,
bool);
118 vtkBooleanMacro(ConvertEdgeData,
bool);
125 vtkBooleanMacro(ConvertRowData,
bool);
174 VTK_ABI_NAMESPACE_END
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual bool GetConvertRowData()
double DefaultDoubleValue
static vtkDataObjectAlgorithm * New()
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
VTKACCELERATORSVTKMDATAMODEL_EXPORT bool ConvertArrays(const vtkm::cont::DataSet &input, vtkDataSet *output)
virtual void SetConvertRowData(bool b)
Whether to detect and convert row data arrays.
a simple class to control print indentation
Converts string arrays to numeric arrays.
bool TrimWhitespacePriorToNumericConversion
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual bool GetConvertVertexData()
virtual void SetConvertVertexData(bool b)
Whether to detect and convert vertex data arrays.
virtual bool GetConvertEdgeData()
virtual void SetConvertEdgeData(bool b)
Whether to detect and convert edge data arrays.
represent and manipulate fields of data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.