|
ParaView
|
CSV writer for vtkTable Writes a vtkTable as a delimited text file (such as CSV). More...
#include <vtkCSVWriter.h>


Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | SetFieldDelimiter (const char *) |
| virtual char * | GetFieldDelimiter () |
| virtual void | SetStringDelimiter (const char *) |
| virtual char * | GetStringDelimiter () |
| virtual void | SetFileName (const char *) |
| virtual char * | GetFileName () |
| virtual void | SetUseStringDelimiter (bool) |
| virtual bool | GetUseStringDelimiter () |
| virtual void | SetPrecision (int) |
| virtual int | GetPrecision () |
| virtual void | SetUseScientificNotation (bool) |
| virtual bool | GetUseScientificNotation () |
| virtual void | UseScientificNotationOn () |
| virtual void | UseScientificNotationOff () |
Static Public Member Functions | |
| static vtkCSVWriter * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkCSVWriter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| bool | OpenFile () |
| virtual void | WriteData () |
| virtual void | WriteTable (vtkTable *rectilinearGrid) |
| virtual int | FillInputPortInformation (int port, vtkInformation *info) |
Protected Attributes | |
| char * | FileName |
| char * | FieldDelimiter |
| char * | StringDelimiter |
| bool | UseStringDelimiter |
| int | Precision |
| bool | UseScientificNotation |
| ofstream * | Stream |
| vtkStdString | GetString (vtkStdString string) |
| vtkCSVWriter () | |
| ~vtkCSVWriter () | |
CSV writer for vtkTable Writes a vtkTable as a delimited text file (such as CSV).
Definition at line 28 of file vtkCSVWriter.h.
| vtkCSVWriter::vtkCSVWriter | ( | ) | [protected] |
Internal method: decortes the "string" with the "StringDelimiter" if UseStringDelimiter is true.
| vtkCSVWriter::~vtkCSVWriter | ( | ) | [protected] |
Internal method: decortes the "string" with the "StringDelimiter" if UseStringDelimiter is true.
| static vtkCSVWriter* vtkCSVWriter::New | ( | ) | [static] |
Reimplemented from vtkAlgorithm.
| virtual const char* vtkCSVWriter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkWriter.
| static vtkCSVWriter* vtkCSVWriter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkWriter.
| void vtkCSVWriter::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkWriter.
| virtual void vtkCSVWriter::SetFieldDelimiter | ( | const char * | ) | [virtual] |
Get/Set the delimiter use to separate fields ("," by default.)
| virtual char* vtkCSVWriter::GetFieldDelimiter | ( | ) | [virtual] |
Get/Set the delimiter use to separate fields ("," by default.)
| virtual void vtkCSVWriter::SetStringDelimiter | ( | const char * | ) | [virtual] |
Get/Set the delimiter used for string data, if any eg. double quotes(").
| virtual char* vtkCSVWriter::GetStringDelimiter | ( | ) | [virtual] |
Get/Set the delimiter used for string data, if any eg. double quotes(").
| virtual void vtkCSVWriter::SetFileName | ( | const char * | ) | [virtual] |
Get/Set the filename for the file.
| virtual char* vtkCSVWriter::GetFileName | ( | ) | [virtual] |
Get/Set the filename for the file.
| virtual void vtkCSVWriter::SetUseStringDelimiter | ( | bool | ) | [virtual] |
Get/Set if StringDelimiter must be used for string data. True by default.
| virtual bool vtkCSVWriter::GetUseStringDelimiter | ( | ) | [virtual] |
Get/Set if StringDelimiter must be used for string data. True by default.
| virtual void vtkCSVWriter::SetPrecision | ( | int | ) | [virtual] |
Get/Set the precision to use for printing numeric values. Default is 5.
| virtual int vtkCSVWriter::GetPrecision | ( | ) | [virtual] |
Get/Set the precision to use for printing numeric values. Default is 5.
| virtual void vtkCSVWriter::SetUseScientificNotation | ( | bool | ) | [virtual] |
Get/Set whether scientific notation is used for numeric values.
| virtual bool vtkCSVWriter::GetUseScientificNotation | ( | ) | [virtual] |
Get/Set whether scientific notation is used for numeric values.
| virtual void vtkCSVWriter::UseScientificNotationOn | ( | ) | [virtual] |
Get/Set whether scientific notation is used for numeric values.
| virtual void vtkCSVWriter::UseScientificNotationOff | ( | ) | [virtual] |
Get/Set whether scientific notation is used for numeric values.
| vtkStdString vtkCSVWriter::GetString | ( | vtkStdString | string | ) |
Internal method: decortes the "string" with the "StringDelimiter" if UseStringDelimiter is true.
| bool vtkCSVWriter::OpenFile | ( | ) | [protected] |
| virtual void vtkCSVWriter::WriteData | ( | ) | [protected, virtual] |
Implements vtkWriter.
| virtual void vtkCSVWriter::WriteTable | ( | vtkTable * | rectilinearGrid | ) | [protected, virtual] |
| virtual int vtkCSVWriter::FillInputPortInformation | ( | int | port, |
| vtkInformation * | info | ||
| ) | [protected, virtual] |
Reimplemented from vtkAlgorithm.
char* vtkCSVWriter::FileName [protected] |
Definition at line 94 of file vtkCSVWriter.h.
char* vtkCSVWriter::FieldDelimiter [protected] |
Definition at line 95 of file vtkCSVWriter.h.
char* vtkCSVWriter::StringDelimiter [protected] |
Definition at line 96 of file vtkCSVWriter.h.
bool vtkCSVWriter::UseStringDelimiter [protected] |
Definition at line 97 of file vtkCSVWriter.h.
int vtkCSVWriter::Precision [protected] |
Definition at line 98 of file vtkCSVWriter.h.
bool vtkCSVWriter::UseScientificNotation [protected] |
Definition at line 99 of file vtkCSVWriter.h.
ofstream* vtkCSVWriter::Stream [protected] |
Definition at line 101 of file vtkCSVWriter.h.
1.7.5.1