29 #ifndef vtkStringToNumeric_h 30 #define vtkStringToNumeric_h 32 #include "vtkInfovisCoreModule.h" 47 vtkSetMacro(ForceDouble,
bool);
48 vtkGetMacro(ForceDouble,
bool);
49 vtkBooleanMacro(ForceDouble,
bool);
56 vtkSetMacro(DefaultIntegerValue,
int);
57 vtkGetMacro(DefaultIntegerValue,
int);
64 vtkSetMacro(DefaultDoubleValue,
double);
65 vtkGetMacro(DefaultDoubleValue,
double);
83 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
84 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
85 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
92 vtkSetMacro(ConvertFieldData,
bool);
93 vtkGetMacro(ConvertFieldData,
bool);
94 vtkBooleanMacro(ConvertFieldData,
bool);
101 vtkSetMacro(ConvertPointData,
bool);
102 vtkGetMacro(ConvertPointData,
bool);
103 vtkBooleanMacro(ConvertPointData,
bool);
110 vtkSetMacro(ConvertCellData,
bool);
111 vtkGetMacro(ConvertCellData,
bool);
112 vtkBooleanMacro(ConvertCellData,
bool);
119 { this->SetConvertPointData(b); }
121 {
return this->GetConvertPointData(); }
122 vtkBooleanMacro(ConvertVertexData,
bool);
128 { this->SetConvertCellData(b); }
130 {
return this->GetConvertCellData(); }
131 vtkBooleanMacro(ConvertEdgeData,
bool);
137 { this->SetConvertPointData(b); }
139 {
return this->GetConvertPointData(); }
140 vtkBooleanMacro(ConvertRowData,
bool);
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual bool GetConvertRowData()
double DefaultDoubleValue
VTKACCELERATORSVTKM_EXPORT bool ConvertArrays(const vtkm::cont::DataSet &input, vtkDataSet *output)
static vtkDataObjectAlgorithm * New()
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.
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
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.