00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStringToTimePoint.h,v $ 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 -------------------------------------------------------------------------*/ 00039 #ifndef __vtkStringToTimePoint_h 00040 #define __vtkStringToTimePoint_h 00041 00042 #include "vtkDataObjectAlgorithm.h" 00043 00044 class VTK_INFOVIS_EXPORT vtkStringToTimePoint : public vtkDataObjectAlgorithm 00045 { 00046 public: 00047 static vtkStringToTimePoint* New(); 00048 vtkTypeRevisionMacro(vtkStringToTimePoint,vtkDataObjectAlgorithm); 00049 void PrintSelf(ostream& os, vtkIndent indent); 00050 00052 00055 vtkSetStringMacro(OutputArrayName); 00056 vtkGetStringMacro(OutputArrayName); 00058 00060 00061 virtual int ProcessRequest(vtkInformation* request, 00062 vtkInformationVector** inputVector, 00063 vtkInformationVector* outputVector); 00065 00066 protected: 00067 vtkStringToTimePoint(); 00068 ~vtkStringToTimePoint(); 00069 00071 00072 virtual int RequestDataObject(vtkInformation* request, 00073 vtkInformationVector** inputVector, 00074 vtkInformationVector* outputVector); 00076 00077 char* OutputArrayName; 00078 00079 int RequestData( 00080 vtkInformation*, 00081 vtkInformationVector**, 00082 vtkInformationVector*); 00083 00084 private: 00085 vtkStringToTimePoint(const vtkStringToTimePoint&); // Not implemented 00086 void operator=(const vtkStringToTimePoint&); // Not implemented 00087 }; 00088 00089 #endif 00090