|
| typedef std::complex< typename ComplexTraits::ComplexPrecision > | Complex |
| typedef TRegularData3D< std::complex< typename ComplexTraits::ComplexPrecision > > | ComplexVector |
| typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > > | VectorType |
| | The type containing an STL vector of the appropriate type.
|
| typedef TVector3< float > | CoordinateType |
| | The coordinate type.
|
| typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::iterator | Iterator |
| | A mutable iterator.
|
| typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::const_iterator | ConstIterator |
| | A nonmutable iterator.
|
| typedef std::complex< ComplexTraits::ComplexPrecision > | value_type |
| typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::iterator | iterator |
| typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::const_iterator | const_iterator |
| typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::reference | reference |
| typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::const_reference | const_reference |
| typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::pointer | pointer |
| typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::difference_type | difference_type |
| typedef std::vector< std::complex< ComplexTraits::ComplexPrecision > >::size_type | size_type |
|
| | TFFT3D () |
| | Default constructor.
|
| | TFFT3D (const TFFT3D &data) |
| | Copy constructor.
|
| | TFFT3D (Size ldnX, Size ldnY, Size ldnZ, double stepPhysX=1., double stepPhysY=1., double stepPhysZ=1., Vector3 origin=Vector3(0., 0., 0), bool inFourierSpace=false) |
| virtual | ~TFFT3D () |
| | Destructor.
|
| const TFFT3D & | operator= (const TFFT3D &fft_3d) |
| | Assignment operator.
|
| virtual void | clear () |
| virtual void | destroy () |
| | TRegularData3D () |
| virtual | ~TRegularData3D () |
| TRegularData3D & | operator= (const TRegularData3D< std::complex< ComplexTraits::ComplexPrecision > > &data) |
| bool | operator== (const TRegularData3D< std::complex< ComplexTraits::ComplexPrecision > > &grid) const |
| BALL_INLINE bool | operator!= (const TRegularData3D< std::complex< ComplexTraits::ComplexPrecision > > &grid) const |
| BALL_INLINE bool | empty () const |
| | Empty predicate.
|
| bool | isInside (const CoordinateType &r) const |
| | Test if a given point is inside the grid.
|
| BALL_INLINE bool | isOrthogonal () const |
| | State whether grid is orthogonal or not.
|
| BALL_INLINE ConstIterator | begin () const |
| BALL_INLINE ConstIterator | end () const |
| BALL_INLINE size_type | size () const |
| BALL_INLINE size_type | max_size () const |
| BALL_INLINE void | swap (TRegularData3D< std::complex< ComplexTraits::ComplexPrecision > > &grid) |
| const vector< std::complex< ComplexTraits::ComplexPrecision > > & | getData () const |
| | Get the full data.
|
| const std::complex< ComplexTraits::ComplexPrecision > & | operator[] (const IndexType &index) const |
| std::complex< ComplexTraits::ComplexPrecision > | operator() (const CoordinateType &x) const |
| std::complex< ComplexTraits::ComplexPrecision > | getInterpolatedValue (const CoordinateType &x) const |
| const std::complex< ComplexTraits::ComplexPrecision > & | getClosestValue (const CoordinateType &x) const |
| IndexType | getClosestIndex (const CoordinateType &v) const |
| IndexType | getLowerIndex (const CoordinateType &v) const |
| const IndexType & | getSize () const |
| const CoordinateType & | getOrigin () const |
| const CoordinateType & | getSpacing () const |
| void | setOrigin (const CoordinateType &origin) |
| const CoordinateType & | getDimension () const |
| void | setDimension (const CoordinateType &dimension) |
| void | resize (const IndexType &size) |
| void | rescale (const IndexType &new_size) |
| CoordinateType | getCoordinates (const IndexType &index) const |
| void | getEnclosingIndices (const CoordinateType &r, Position &llf, Position &rlf, Position &luf, Position &ruf, Position &llb, Position &rlb, Position &lub, Position &rub) const |
| void | getEnclosingValues (const CoordinateType &r, std::complex< ComplexTraits::ComplexPrecision > &llf, std::complex< ComplexTraits::ComplexPrecision > &rlf, std::complex< ComplexTraits::ComplexPrecision > &luf, std::complex< ComplexTraits::ComplexPrecision > &ruf, std::complex< ComplexTraits::ComplexPrecision > &llb, std::complex< ComplexTraits::ComplexPrecision > &rlb, std::complex< ComplexTraits::ComplexPrecision > &lub, std::complex< ComplexTraits::ComplexPrecision > &rub) const |
| std::complex< ComplexTraits::ComplexPrecision > | calculateMean () const |
| std::complex< ComplexTraits::ComplexPrecision > | calculateSD () const |
| void | binaryWrite (const String &filename) const |
| void | binaryWriteRaw (const String &filename) const |
| void | binaryRead (const String &filename) |
template<typename ComplexTraits>
class BALL::TFFT3D< ComplexTraits >
A class to perform Fast Fourier Transforms and inverse Fast Fourier Transforms on regularly spaced three dimensional data.
- This class makes use of the freely available library FFTW, which can be found at www.fftw.org coordinate system can be handled automatically. The normalization is chosen symmetrically.
- S/TFFT3D.h
Definition at line 39 of file FFT3D.h.
template<typename ComplexTraits>
Return the largest grid position for the x direction. This method returns the maximum position allowed in the grid. As the point in the origin has the indices (0, 0, 0), this method returns the number of points in X direction minus one.
Definition at line 584 of file FFT3D.h.
template<typename ComplexTraits>
Return the largest grid position for the y direction. This method returns the maximum position allowed in the grid. As the point in the origin has the indices (0, 0, 0), this method returns the number of points in Y direction minus one.
Definition at line 590 of file FFT3D.h.
template<typename ComplexTraits>
Return the largest grid position for the z direction. This method returns the maximum position allowed in the grid. As the point in the origin has the indices (0, 0, 0), this method returns the number of points in Z direction minus one.
Definition at line 596 of file FFT3D.h.
template<typename ComplexTraits>
Set the step width in physical space to {new_width_x, new_width_y, new_width_z}. The step width in Fourier space is automatically adjusted accordingly. {new_width_x, new_width_y and new_width_z} must be positive, otherwise the function does nothing and retuns false .
Definition at line 450 of file FFT3D.h.