Chemical Data Processing Library C++ API - Version 1.2.0
Public Types | Public Member Functions | Static Public Attributes | List of all members
CDPL::Shape::FastGaussianShapeOverlapFunction Class Reference

#include <FastGaussianShapeOverlapFunction.hpp>

+ Inheritance diagram for CDPL::Shape::FastGaussianShapeOverlapFunction:

Public Types

typedef std::shared_ptr< FastGaussianShapeOverlapFunctionSharedPointer
 
- Public Types inherited from CDPL::Shape::GaussianShapeOverlapFunction
typedef std::shared_ptr< GaussianShapeOverlapFunctionSharedPointer
 
typedef std::function< bool(std::size_t)> ColorFilterFunction
 
typedef std::function< bool(std::size_t, std::size_t)> ColorMatchFunction
 

Public Member Functions

 FastGaussianShapeOverlapFunction ()
 
 FastGaussianShapeOverlapFunction (const FastGaussianShapeOverlapFunction &func)
 
 FastGaussianShapeOverlapFunction (const GaussianShapeFunction &ref_shape_func, const GaussianShapeFunction &ovl_shape_func)
 
 ~FastGaussianShapeOverlapFunction ()
 
void proximityOptimization (bool enable)
 
bool proximityOptimization () const
 
void setRadiusScalingFactor (double factor)
 
double getRadiusScalingFactor () const
 
void fastExpFunction (bool enable)
 
bool fastExpFunction () const
 
void setShapeFunction (const GaussianShapeFunction &func, bool is_ref)
 
const GaussianShapeFunctiongetShapeFunction (bool ref) const
 
void setColorMatchFunction (const ColorMatchFunction &func)
 
const ColorMatchFunctiongetColorMatchFunction () const
 
void setColorFilterFunction (const ColorFilterFunction &func)
 
const ColorFilterFunctiongetColorFilterFunction () const
 
double calcSelfOverlap (bool ref) const
 
double calcColorSelfOverlap (bool ref) const
 
double calcOverlap () const
 
double calcColorOverlap () const
 
double calcOverlap (const Math::Vector3DArray &coords) const
 
double calcColorOverlap (const Math::Vector3DArray &coords) const
 
double calcOverlapGradient (const Math::Vector3DArray &coords, Math::Vector3DArray &grad) const
 
FastGaussianShapeOverlapFunctionoperator= (const FastGaussianShapeOverlapFunction &func)
 
- Public Member Functions inherited from CDPL::Shape::GaussianShapeOverlapFunction
virtual ~GaussianShapeOverlapFunction ()
 

Static Public Attributes

static constexpr double DEF_RADIUS_SCALING_FACTOR = 1.4
 

Additional Inherited Members

- Protected Member Functions inherited from CDPL::Shape::GaussianShapeOverlapFunction
 GaussianShapeOverlapFunction ()
 
 GaussianShapeOverlapFunction (const GaussianShapeOverlapFunction &func)
 
GaussianShapeOverlapFunctionoperator= (const GaussianShapeOverlapFunction &func)
 

Member Typedef Documentation

◆ SharedPointer

Constructor & Destructor Documentation

◆ FastGaussianShapeOverlapFunction() [1/3]

CDPL::Shape::FastGaussianShapeOverlapFunction::FastGaussianShapeOverlapFunction ( )

◆ FastGaussianShapeOverlapFunction() [2/3]

CDPL::Shape::FastGaussianShapeOverlapFunction::FastGaussianShapeOverlapFunction ( const FastGaussianShapeOverlapFunction func)

◆ FastGaussianShapeOverlapFunction() [3/3]

CDPL::Shape::FastGaussianShapeOverlapFunction::FastGaussianShapeOverlapFunction ( const GaussianShapeFunction ref_shape_func,
const GaussianShapeFunction ovl_shape_func 
)

◆ ~FastGaussianShapeOverlapFunction()

CDPL::Shape::FastGaussianShapeOverlapFunction::~FastGaussianShapeOverlapFunction ( )

Member Function Documentation

◆ proximityOptimization() [1/2]

void CDPL::Shape::FastGaussianShapeOverlapFunction::proximityOptimization ( bool  enable)

◆ proximityOptimization() [2/2]

bool CDPL::Shape::FastGaussianShapeOverlapFunction::proximityOptimization ( ) const

◆ setRadiusScalingFactor()

void CDPL::Shape::FastGaussianShapeOverlapFunction::setRadiusScalingFactor ( double  factor)

◆ getRadiusScalingFactor()

double CDPL::Shape::FastGaussianShapeOverlapFunction::getRadiusScalingFactor ( ) const

◆ fastExpFunction() [1/2]

void CDPL::Shape::FastGaussianShapeOverlapFunction::fastExpFunction ( bool  enable)

◆ fastExpFunction() [2/2]

bool CDPL::Shape::FastGaussianShapeOverlapFunction::fastExpFunction ( ) const

◆ setShapeFunction()

void CDPL::Shape::FastGaussianShapeOverlapFunction::setShapeFunction ( const GaussianShapeFunction func,
bool  is_ref 
)
virtual

◆ getShapeFunction()

const GaussianShapeFunction* CDPL::Shape::FastGaussianShapeOverlapFunction::getShapeFunction ( bool  ref) const
virtual

◆ setColorMatchFunction()

void CDPL::Shape::FastGaussianShapeOverlapFunction::setColorMatchFunction ( const ColorMatchFunction func)
virtual

◆ getColorMatchFunction()

const ColorMatchFunction& CDPL::Shape::FastGaussianShapeOverlapFunction::getColorMatchFunction ( ) const
virtual

◆ setColorFilterFunction()

void CDPL::Shape::FastGaussianShapeOverlapFunction::setColorFilterFunction ( const ColorFilterFunction func)
virtual

◆ getColorFilterFunction()

const ColorFilterFunction& CDPL::Shape::FastGaussianShapeOverlapFunction::getColorFilterFunction ( ) const
virtual

◆ calcSelfOverlap()

double CDPL::Shape::FastGaussianShapeOverlapFunction::calcSelfOverlap ( bool  ref) const
virtual

◆ calcColorSelfOverlap()

double CDPL::Shape::FastGaussianShapeOverlapFunction::calcColorSelfOverlap ( bool  ref) const
virtual

◆ calcOverlap() [1/2]

double CDPL::Shape::FastGaussianShapeOverlapFunction::calcOverlap ( ) const
virtual

◆ calcColorOverlap() [1/2]

double CDPL::Shape::FastGaussianShapeOverlapFunction::calcColorOverlap ( ) const
virtual

◆ calcOverlap() [2/2]

double CDPL::Shape::FastGaussianShapeOverlapFunction::calcOverlap ( const Math::Vector3DArray coords) const
virtual

◆ calcColorOverlap() [2/2]

double CDPL::Shape::FastGaussianShapeOverlapFunction::calcColorOverlap ( const Math::Vector3DArray coords) const
virtual

◆ calcOverlapGradient()

double CDPL::Shape::FastGaussianShapeOverlapFunction::calcOverlapGradient ( const Math::Vector3DArray coords,
Math::Vector3DArray grad 
) const
virtual

◆ operator=()

FastGaussianShapeOverlapFunction& CDPL::Shape::FastGaussianShapeOverlapFunction::operator= ( const FastGaussianShapeOverlapFunction func)

Member Data Documentation

◆ DEF_RADIUS_SCALING_FACTOR

constexpr double CDPL::Shape::FastGaussianShapeOverlapFunction::DEF_RADIUS_SCALING_FACTOR = 1.4
staticconstexpr

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