VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTimePointToString.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 /*------------------------------------------------------------------------- 00016 Copyright 2008 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00040 #ifndef __vtkTimePointToString_h 00041 #define __vtkTimePointToString_h 00042 00043 #include "vtkDataObjectAlgorithm.h" 00044 00045 class VTK_INFOVIS_EXPORT vtkTimePointToString : public vtkDataObjectAlgorithm 00046 { 00047 public: 00048 static vtkTimePointToString* New(); 00049 vtkTypeMacro(vtkTimePointToString,vtkDataObjectAlgorithm); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00053 00054 vtkSetMacro(ISO8601Format, int); 00055 vtkGetMacro(ISO8601Format, int); 00057 00059 00061 vtkSetStringMacro(OutputArrayName); 00062 vtkGetStringMacro(OutputArrayName); 00064 00066 00067 virtual int ProcessRequest(vtkInformation* request, 00068 vtkInformationVector** inputVector, 00069 vtkInformationVector* outputVector); 00071 00072 protected: 00073 vtkTimePointToString(); 00074 ~vtkTimePointToString(); 00075 00077 00078 virtual int RequestDataObject(vtkInformation* request, 00079 vtkInformationVector** inputVector, 00080 vtkInformationVector* outputVector); 00082 00083 int ISO8601Format; 00084 char* OutputArrayName; 00085 00086 int RequestData( 00087 vtkInformation*, 00088 vtkInformationVector**, 00089 vtkInformationVector*); 00090 00091 private: 00092 vtkTimePointToString(const vtkTimePointToString&); // Not implemented 00093 void operator=(const vtkTimePointToString&); // Not implemented 00094 }; 00095 00096 #endif 00097