35 #ifndef vtkStringToNumeric_h
36 #define vtkStringToNumeric_h
38 #include "vtkInfovisCoreModule.h"
54 vtkGetMacro(ForceDouble,
bool);
63 vtkGetMacro(DefaultIntegerValue,
int);
71 vtkGetMacro(DefaultDoubleValue,
double);
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(); }
Superclass for algorithms that produce only data object as output.
represent and manipulate fields of data
a simple class to control print indentation
Converts string arrays to numeric arrays.
bool TrimWhitespacePriorToNumericConversion
int CountItemsToConvert(vtkFieldData *fieldData)
Count the total number of items (array components) that will need to be converted in the given vtkFie...
double DefaultDoubleValue
virtual void SetConvertRowData(bool b)
Whether to detect and convert row data arrays.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is required to capture REQUEST_DATA_OBJECT requests.
void ConvertArrays(vtkFieldData *fieldData)
Tries to convert string arrays to integer or double arrays.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void SetConvertEdgeData(bool b)
Whether to detect and convert edge data arrays.
virtual bool GetConvertEdgeData()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual bool GetConvertVertexData()
static vtkStringToNumeric * New()
virtual bool GetConvertRowData()
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Creates the same output type as the input type.
virtual void SetConvertVertexData(bool b)
Whether to detect and convert vertex data arrays.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.