VTK
|
Go to the source code of this file.
Classes | |
struct | vtkImageComplex |
class | vtkImageFourierFilter |
Superclass that implements complex numbers. More... | |
Defines | |
#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) |
#define vtkImageComplexEuclidSet | ( | C, | |
R, | |||
I | |||
) |
(C).Real = (R); \ (C).Imag = (I)
Definition at line 44 of file vtkImageFourierFilter.h.
#define vtkImageComplexPolarSet | ( | C, | |
M, | |||
P | |||
) |
(C).Real = (M)*cos(P); \ (C).Imag = (M)*sin(P)
Definition at line 48 of file vtkImageFourierFilter.h.
#define vtkImageComplexPrint | ( | C | ) | printf("(%.3f, %.3f)", (C).Real, (C).Imag) |
Definition at line 52 of file vtkImageFourierFilter.h.
#define vtkImageComplexScale | ( | cOut, | |
S, | |||
cIn | |||
) |
(cOut).Real = (cIn).Real * (S); \ (cOut).Imag = (cIn).Imag * (S)
Definition at line 55 of file vtkImageFourierFilter.h.
#define vtkImageComplexConjugate | ( | cIn, | |
cOut | |||
) |
(cOut).Imag = (cIn).Imag * -1.0; \ (cOut).Real = (cIn).Real
Definition at line 59 of file vtkImageFourierFilter.h.
#define vtkImageComplexAdd | ( | C1, | |
C2, | |||
cOut | |||
) |
(cOut).Real = (C1).Real + (C2).Real; \ (cOut).Imag = (C1).Imag + (C2).Imag
Definition at line 63 of file vtkImageFourierFilter.h.
#define vtkImageComplexSubtract | ( | C1, | |
C2, | |||
cOut | |||
) |
(cOut).Real = (C1).Real - (C2).Real; \ (cOut).Imag = (C1).Imag - (C2).Imag
Definition at line 67 of file vtkImageFourierFilter.h.
#define vtkImageComplexMultiply | ( | C1, | |
C2, | |||
cOut | |||
) |
{ \ vtkImageComplex _vtkImageComplexMultiplyTemp; \ _vtkImageComplexMultiplyTemp.Real = (C1).Real*(C2).Real-(C1).Imag*(C2).Imag;\ _vtkImageComplexMultiplyTemp.Imag = (C1).Real*(C2).Imag+(C1).Imag*(C2).Real;\ cOut = _vtkImageComplexMultiplyTemp; \ }
Definition at line 71 of file vtkImageFourierFilter.h.
#define vtkImageComplexExponential | ( | cIn, | |
cOut | |||
) |
{ \ double tmp = exp(cIn.Real); \ cOut.Real = tmp * cos(cIn.Imag); \ cOut.Imag = tmp * sin(cIn.Imag); \ }
Definition at line 80 of file vtkImageFourierFilter.h.