HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CE_VoxelFFT.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: CE_VoxelFFT.h ( CE Library, C++)
7  *
8  * COMMENTS: Compute Engine FFT.
9  */
10 
11 #ifndef __CE_VoxelFFT__
12 #define __CE_VoxelFFT__
13 
14 #include "CE_API.h"
15 #include <UT/UT_VoxelFFT.h>
16 #ifdef CE_ENABLED
17 
18 class ce_clfft;
19 
21 {
22 private:
23  ce_clfft *myFFT;
24 
25 public:
26  CE_VoxelFFT();
27  virtual ~CE_VoxelFFT();
28 
29 protected:
30  // Override to create ce_clfft to actually compute the fft.
31  virtual void fftSequence(const UT_ValArray<UT_VoxelArrayF *> &realvox,
32  const UT_ValArray<UT_VoxelArrayF *> &imagvox,
33  int begin, int end,
34  bool invert, bool shift,
35  bool normalize, int sliceaxis, bool realdata) override;
36 
37 };
38 
39 #endif
40 #endif
#define CE_API
Definition: CE_API.h:10
GLboolean invert
Definition: glcorearb.h:548
GLuint GLuint end
Definition: glcorearb.h:474
GridType::Ptr normalize(const GridType &grid, bool threaded, InterruptT *interrupt)
Normalize the vectors of the given vector-valued grid.
virtual void fftSequence(const UT_ValArray< UT_VoxelArrayF * > &realvox, const UT_ValArray< UT_VoxelArrayF * > &imagvox, int begin, int end, bool invert, bool shift, bool normalize, int sliceaxis, bool realdata)