Base class for skeleton calculation methods. More...
#include <function_object_bases.h>
Public Member Functions | |
virtual bool | operator() (Xmap< T1 > &xskl, const Xmap< T2 > &xmap) const =0 |
Skeletonisation function definition. | |
virtual | ~Skeleton_base () |
destructor |
Base class for skeleton calculation methods.
virtual bool clipper::Skeleton_base< T1, T2 >::operator() | ( | Xmap< T1 > & | xskl, | |
const Xmap< T2 > & | xmap | |||
) | const [pure virtual] |
Skeletonisation function definition.
In the implementations, this function will do the actual skeletonisation.
xskl | int/short/char map. On input this may hold 1 for any grid point which is to be considered for skeletonisation, and 0 for any other point (e.g. low density, solvent) [This feaure may not be present in all implementations]. On output this map holds 1 for any grid point which is part of a skeleton ridge, and 0 for any point which is not. | |
xmap | float/double map. This map holds the actual electron density values for the map. |
Implemented in clipper::Skeleton_basic, and clipper::Skeleton_fast< T1, T2 >.