clipper::MapFilter_slow< T > Class Template Reference

Simple slow convolution-based radial mapfiltering implementation. More...

#include <mapfilter.h>

Inheritance diagram for clipper::MapFilter_slow< T >:
clipper::MapFilter_base< T >

List of all members.

Public Types

enum  TYPE { NONE, Absolute, Relative }
 

Scaling modes.


Public Member Functions

 MapFilter_slow (const MapFilterFn_base &fltr, const ftype scale=1.0, const TYPE type=NONE)
 constructor
 MapFilter_slow (clipper::Xmap< T > &result, const clipper::Xmap< T > &xmap, MapFilterFn_base &fltr, const ftype scale=1.0, const TYPE type=NONE)
 constructor: shorthand for constructor+operator
bool operator() (clipper::Xmap< T > &result, const clipper::Xmap< T > &xmap) const

Detailed Description

template<class T>
class clipper::MapFilter_slow< T >

Simple slow convolution-based radial mapfiltering implementation.

This version is of course very slow, and is mainly provided so you can test the repcision of the fft version.


Constructor & Destructor Documentation

template<class T >
clipper::MapFilter_slow< T >::MapFilter_slow ( const MapFilterFn_base fltr,
const ftype  scale = 1.0,
const TYPE  type = NONE 
) [inline]

constructor

The filter function is constructed with the given filter. Scaling may also be optionally applied. This may be absolute, which just applies a scale factor to the result, or relative, which scales the filter relative to its own integral. Therefore, relative scaling with a scale factor of 1.0 gives an output map on the same scale as the input map.

Note that the filter is not stored internally, and so must persist as long as the MapFilter is required.

Parameters:
fltr The radial filter to apply.
scale The scale factor to apply (default = 1.0).
type The type of scaling to apply: NONE, Absolute, Relative.

Member Function Documentation

template<class T >
bool clipper::MapFilter_slow< T >::operator() ( clipper::Xmap< T > &  result,
const clipper::Xmap< T > &  xmap 
) const [inline, virtual]

The documentation for this class was generated from the following files:

Generated on 4 Jan 2010 for Clipper_contrib by  doxygen 1.6.1