#include <vtkTimePointToString.h>
vtkTimePointToString is a filter for converting a timestamp array into string array using one of the formats defined in vtkTimePointUtility.h.
Use SetInputArrayToProcess to indicate the array to process. This array must be an unsigned 64-bit integer array for DATETIME formats, and may be either an unsigned 32-bit or unsigned 64-bit array for DATE and TIME formats.
If the new array name is not specified, the array name will be the old name appended by " [to string]".
Definition at line 45 of file vtkTimePointToString.h.
Public Types | |
typedef vtkDataObjectAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetISO8601Format (int) |
virtual int | GetISO8601Format () |
virtual void | SetOutputArrayName (const char *) |
virtual char * | GetOutputArrayName () |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Static Public Member Functions | |
static vtkTimePointToString * | New () |
static int | IsTypeOf (const char *type) |
static vtkTimePointToString * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkTimePointToString () | |
~vtkTimePointToString () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Attributes | |
int | ISO8601Format |
char * | OutputArrayName |
vtkTimePointToString::vtkTimePointToString | ( | ) | [protected] |
vtkTimePointToString::~vtkTimePointToString | ( | ) | [protected] |
static vtkTimePointToString* vtkTimePointToString::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataObjectAlgorithm.
virtual const char* vtkTimePointToString::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDataObjectAlgorithm.
static int vtkTimePointToString::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataObjectAlgorithm.
virtual int vtkTimePointToString::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataObjectAlgorithm.
static vtkTimePointToString* vtkTimePointToString::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataObjectAlgorithm.
void vtkTimePointToString::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkDataObjectAlgorithm.
virtual void vtkTimePointToString::SetISO8601Format | ( | int | ) | [virtual] |
The format to use when converting the timestamp to a string.
virtual int vtkTimePointToString::GetISO8601Format | ( | ) | [virtual] |
The format to use when converting the timestamp to a string.
virtual void vtkTimePointToString::SetOutputArrayName | ( | const char * | ) | [virtual] |
The name of the output array. If this is not specified, the name will be the input array name with " [to string]" appended to it.
virtual char* vtkTimePointToString::GetOutputArrayName | ( | ) | [virtual] |
The name of the output array. If this is not specified, the name will be the input array name with " [to string]" appended to it.
virtual int vtkTimePointToString::ProcessRequest | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [virtual] |
This is required to capture REQUEST_DATA_OBJECT requests.
Reimplemented from vtkDataObjectAlgorithm.
virtual int vtkTimePointToString::RequestDataObject | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
Creates the same output type as the input type.
Reimplemented from vtkDataObjectAlgorithm.
int vtkTimePointToString::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkDataObjectAlgorithm.
int vtkTimePointToString::ISO8601Format [protected] |
Definition at line 83 of file vtkTimePointToString.h.
char* vtkTimePointToString::OutputArrayName [protected] |
Definition at line 84 of file vtkTimePointToString.h.