35 #ifndef vtkStringToNumeric_h
36 #define vtkStringToNumeric_h
38 #include "vtkInfovisCoreModule.h"
54 vtkGetMacro(ForceDouble,
bool);
63 vtkGetMacro(DefaultIntegerValue,
int);
71 vtkGetMacro(DefaultDoubleValue,
double);
89 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
90 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
99 vtkGetMacro(ConvertFieldData,
bool);
108 vtkGetMacro(ConvertPointData,
bool);
117 vtkGetMacro(ConvertCellData,
bool);
125 { this->SetConvertPointData(b); }
127 {
return this->GetConvertPointData(); }
134 { this->SetConvertCellData(b); }
136 {
return this->GetConvertCellData(); }
143 { this->SetConvertPointData(b); }
145 {
return this->GetConvertPointData(); }
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual bool GetConvertRowData()
double DefaultDoubleValue
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
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.