34 #ifndef vtkStringToNumeric_h
35 #define vtkStringToNumeric_h
50 vtkSetMacro(ForceDouble,
bool);
51 vtkGetMacro(ForceDouble,
bool);
52 vtkBooleanMacro(ForceDouble,
bool);
57 vtkSetMacro(DefaultIntegerValue,
int);
58 vtkGetMacro(DefaultIntegerValue,
int);
63 vtkSetMacro(DefaultDoubleValue,
double);
64 vtkGetMacro(DefaultDoubleValue,
double);
77 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
78 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
79 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
84 vtkSetMacro(ConvertFieldData,
bool);
85 vtkGetMacro(ConvertFieldData,
bool);
86 vtkBooleanMacro(ConvertFieldData,
bool);
91 vtkSetMacro(ConvertPointData,
bool);
92 vtkGetMacro(ConvertPointData,
bool);
93 vtkBooleanMacro(ConvertPointData,
bool);
98 vtkSetMacro(ConvertCellData,
bool);
99 vtkGetMacro(ConvertCellData,
bool);
100 vtkBooleanMacro(ConvertCellData,
bool);
106 { this->SetConvertPointData(b); }
108 {
return this->GetConvertPointData(); }
109 vtkBooleanMacro(ConvertVertexData,
bool);
115 { this->SetConvertCellData(b); }
117 {
return this->GetConvertCellData(); }
118 vtkBooleanMacro(ConvertEdgeData,
bool);
124 { this->SetConvertPointData(b); }
126 {
return this->GetConvertPointData(); }
127 vtkBooleanMacro(ConvertRowData,
bool);
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual bool GetConvertRowData()
double DefaultDoubleValue
static vtkDataObjectAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual void SetConvertRowData(bool b)
a simple class to control print indentation
Converts string arrays to numeric arrays.
#define VTKINFOVISCORE_EXPORT
bool TrimWhitespacePriorToNumericConversion
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual bool GetConvertVertexData()
virtual void SetConvertVertexData(bool b)
virtual bool GetConvertEdgeData()
virtual void SetConvertEdgeData(bool b)
represent and manipulate fields of data