35 #ifndef vtkStringToNumeric_h 36 #define vtkStringToNumeric_h 38 #include "vtkInfovisCoreModule.h" 53 vtkSetMacro(ForceDouble,
bool);
54 vtkGetMacro(ForceDouble,
bool);
55 vtkBooleanMacro(ForceDouble,
bool);
62 vtkSetMacro(DefaultIntegerValue,
int);
63 vtkGetMacro(DefaultIntegerValue,
int);
70 vtkSetMacro(DefaultDoubleValue,
double);
71 vtkGetMacro(DefaultDoubleValue,
double);
89 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
90 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
91 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
98 vtkSetMacro(ConvertFieldData,
bool);
99 vtkGetMacro(ConvertFieldData,
bool);
100 vtkBooleanMacro(ConvertFieldData,
bool);
107 vtkSetMacro(ConvertPointData,
bool);
108 vtkGetMacro(ConvertPointData,
bool);
109 vtkBooleanMacro(ConvertPointData,
bool);
116 vtkSetMacro(ConvertCellData,
bool);
117 vtkGetMacro(ConvertCellData,
bool);
118 vtkBooleanMacro(ConvertCellData,
bool);
125 { this->SetConvertPointData(b); }
127 {
return this->GetConvertPointData(); }
128 vtkBooleanMacro(ConvertVertexData,
bool);
134 { this->SetConvertCellData(b); }
136 {
return this->GetConvertCellData(); }
137 vtkBooleanMacro(ConvertEdgeData,
bool);
143 { this->SetConvertPointData(b); }
145 {
return this->GetConvertPointData(); }
146 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.