VTK
|
00001 // -*- c++ -*- 00002 /*========================================================================= 00003 00004 Program: Visualization Toolkit 00005 Module: vtkTableFFT.h 00006 00007 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00016 00017 /*------------------------------------------------------------------------- 00018 Copyright 2009 Sandia Corporation. 00019 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00020 the U.S. Government retains certain rights in this software. 00021 -------------------------------------------------------------------------*/ 00022 00038 #ifndef __vtkTableFFT_h 00039 #define __vtkTableFFT_h 00040 00041 #include "vtkTableAlgorithm.h" 00042 #include "vtkImagingFourierModule.h" // For export macro 00043 #include "vtkSmartPointer.h" // For internal method. 00044 00045 class VTKIMAGINGFOURIER_EXPORT vtkTableFFT : public vtkTableAlgorithm 00046 { 00047 public: 00048 vtkTypeMacro(vtkTableFFT, vtkTableAlgorithm); 00049 static vtkTableFFT *New(); 00050 virtual void PrintSelf(ostream &os, vtkIndent indent); 00051 00052 protected: 00053 vtkTableFFT(); 00054 ~vtkTableFFT(); 00055 00056 virtual int RequestData(vtkInformation *request, 00057 vtkInformationVector **inputVector, 00058 vtkInformationVector *outputVector); 00059 00060 //BTX 00062 00063 virtual vtkSmartPointer<vtkDataArray> DoFFT(vtkDataArray *input); 00064 //ETX 00066 00067 private: 00068 vtkTableFFT(const vtkTableFFT &); // Not implemented 00069 void operator=(const vtkTableFFT &); // Not implemented 00070 }; 00071 00072 00073 #endif //__vtkTableFFT_h