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