vtkTimePointToString Class Reference

#include <vtkTimePointToString.h>

Inheritance diagram for vtkTimePointToString:

Inheritance graph
[legend]
Collaboration diagram for vtkTimePointToString:

Collaboration graph
[legend]

List of all members.


Detailed Description

Converts a timestamp array to a string array.

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]".

Tests:
vtkTimePointToString (Tests)

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 vtkTimePointToStringNew ()
static int IsTypeOf (const char *type)
static vtkTimePointToStringSafeDownCast (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

Member Typedef Documentation

Reimplemented from vtkDataObjectAlgorithm.

Definition at line 49 of file vtkTimePointToString.h.


Constructor & Destructor Documentation

vtkTimePointToString::vtkTimePointToString (  )  [protected]

vtkTimePointToString::~vtkTimePointToString (  )  [protected]


Member Function Documentation

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.


Member Data Documentation

Definition at line 83 of file vtkTimePointToString.h.

Definition at line 84 of file vtkTimePointToString.h.


The documentation for this class was generated from the following file:

Generated on Wed Jun 3 19:40:11 2009 for VTK by  doxygen 1.5.6