VTK
vtkTableFFT.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 /*=========================================================================
3 
4  Program: Visualization Toolkit
5  Module: vtkTableFFT.h
6 
7  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
8  All rights reserved.
9  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
10 
11  This software is distributed WITHOUT ANY WARRANTY; without even
12  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  PURPOSE. See the above copyright notice for more information.
14 
15 =========================================================================*/
16 
17 /*-------------------------------------------------------------------------
18  Copyright 2009 Sandia Corporation.
19  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
20  the U.S. Government retains certain rights in this software.
21 -------------------------------------------------------------------------*/
22 
39 #ifndef vtkTableFFT_h
40 #define vtkTableFFT_h
41 
42 #include "vtkTableAlgorithm.h"
43 #include "vtkImagingFourierModule.h" // For export macro
44 #include "vtkSmartPointer.h" // For internal method.
45 
46 class VTKIMAGINGFOURIER_EXPORT vtkTableFFT : public vtkTableAlgorithm
47 {
48 public:
50  static vtkTableFFT *New();
51  void PrintSelf(ostream &os, vtkIndent indent) override;
52 
53 protected:
54  vtkTableFFT();
55  ~vtkTableFFT() override;
56 
57  int RequestData(vtkInformation *request,
58  vtkInformationVector **inputVector,
59  vtkInformationVector *outputVector) override;
60 
64  virtual vtkSmartPointer<vtkDataArray> DoFFT(vtkDataArray *input);
65 
66 private:
67  vtkTableFFT(const vtkTableFFT &) = delete;
68  void operator=(const vtkTableFFT &) = delete;
69 };
70 
71 
72 #endif //vtkTableFFT_h
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:39
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
FFT for table columns.
Definition: vtkTableFFT.h:46
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.