VTK  9.1.0
Classes | Macros | Typedefs
vtkImageFourierFilter.h File Reference
#include "vtkImageDecomposeFilter.h"
#include "vtkImagingFourierModule.h"
Include dependency graph for vtkImageFourierFilter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vtkImageComplex_t
 
class  vtkImageFourierFilter
 Superclass that implements complex numbers. More...
 

Macros

#define vtkImageComplexEuclidSet(C, R, I)
 
#define vtkImageComplexPolarSet(C, M, P)
 
#define vtkImageComplexPrint(C)   printf("(%.3f, %.3f)", (C).Real, (C).Imag)
 
#define vtkImageComplexScale(cOut, S, cIn)
 
#define vtkImageComplexConjugate(cIn, cOut)
 
#define vtkImageComplexAdd(C1, C2, cOut)
 
#define vtkImageComplexSubtract(C1, C2, cOut)
 
#define vtkImageComplexMultiply(C1, C2, cOut)
 
#define vtkImageComplexExponential(cIn, cOut)
 

Typedefs

using vtkImageComplex = vtkImageComplex_t
 

Macro Definition Documentation

◆ vtkImageComplexEuclidSet

#define vtkImageComplexEuclidSet (   C,
  R,
 
)
Value:
(C).Real = (R); \
(C).Imag = (I)

Definition at line 42 of file vtkImageFourierFilter.h.

◆ vtkImageComplexPolarSet

#define vtkImageComplexPolarSet (   C,
  M,
 
)
Value:
(C).Real = (M)*cos(P); \
(C).Imag = (M)*sin(P)

Definition at line 46 of file vtkImageFourierFilter.h.

◆ vtkImageComplexPrint

#define vtkImageComplexPrint (   C)    printf("(%.3f, %.3f)", (C).Real, (C).Imag)

Definition at line 50 of file vtkImageFourierFilter.h.

◆ vtkImageComplexScale

#define vtkImageComplexScale (   cOut,
  S,
  cIn 
)
Value:
(cOut).Real = (cIn).Real * (S); \
(cOut).Imag = (cIn).Imag * (S)

Definition at line 52 of file vtkImageFourierFilter.h.

◆ vtkImageComplexConjugate

#define vtkImageComplexConjugate (   cIn,
  cOut 
)
Value:
(cOut).Imag = (cIn).Imag * -1.0; \
(cOut).Real = (cIn).Real

Definition at line 56 of file vtkImageFourierFilter.h.

◆ vtkImageComplexAdd

#define vtkImageComplexAdd (   C1,
  C2,
  cOut 
)
Value:
(cOut).Real = (C1).Real + (C2).Real; \
(cOut).Imag = (C1).Imag + (C2).Imag

Definition at line 60 of file vtkImageFourierFilter.h.

◆ vtkImageComplexSubtract

#define vtkImageComplexSubtract (   C1,
  C2,
  cOut 
)
Value:
(cOut).Real = (C1).Real - (C2).Real; \
(cOut).Imag = (C1).Imag - (C2).Imag

Definition at line 64 of file vtkImageFourierFilter.h.

◆ vtkImageComplexMultiply

#define vtkImageComplexMultiply (   C1,
  C2,
  cOut 
)
Value:
{ \
vtkImageComplex vtkImageComplex_tMultiplyTemp; \
vtkImageComplex_tMultiplyTemp.Real = (C1).Real * (C2).Real - (C1).Imag * (C2).Imag; \
vtkImageComplex_tMultiplyTemp.Imag = (C1).Real * (C2).Imag + (C1).Imag * (C2).Real; \
cOut = vtkImageComplex_tMultiplyTemp; \
}

Definition at line 68 of file vtkImageFourierFilter.h.

◆ vtkImageComplexExponential

#define vtkImageComplexExponential (   cIn,
  cOut 
)
Value:
{ \
double tmp = exp(cIn.Real); \
cOut.Real = tmp * cos(cIn.Imag); \
cOut.Imag = tmp * sin(cIn.Imag); \
}

Definition at line 77 of file vtkImageFourierFilter.h.

Typedef Documentation

◆ vtkImageComplex

Definition at line 40 of file vtkImageFourierFilter.h.