occ
Loading...
Searching...
No Matches
occ::isosurface::GenericStockholderWeightFunctor< Func > Class Template Reference

#include <stockholder_weight.h>

Public Member Functions

 GenericStockholderWeightFunctor (Func &func, const occ::core::Molecule &in, const occ::core::Molecule &ext, float sep)
void remap_vertices (const std::vector< float > &v, std::vector< float > &dest) const
OCC_ALWAYS_INLINE float operator() (const FVec3 &pos) const
void batch (Eigen::Ref< const FMat3N > pos, Eigen::Ref< FVec > layer) const
OCC_ALWAYS_INLINE FVec3 gradient (const FVec3 &pos) const
const auto & side_length () const
Eigen::Vector3i cubes_per_side () const
const auto & origin () const
int num_calls () const
const auto & bounding_box () const
void update_num_calls (int n) const

Constructor & Destructor Documentation

◆ GenericStockholderWeightFunctor()

template<class Func>
occ::isosurface::GenericStockholderWeightFunctor< Func >::GenericStockholderWeightFunctor ( Func & func,
const occ::core::Molecule & in,
const occ::core::Molecule & ext,
float sep )
inline

Member Function Documentation

◆ batch()

template<class Func>
void occ::isosurface::GenericStockholderWeightFunctor< Func >::batch ( Eigen::Ref< const FMat3N > pos,
Eigen::Ref< FVec > layer ) const
inline

◆ bounding_box()

template<class Func>
const auto & occ::isosurface::GenericStockholderWeightFunctor< Func >::bounding_box ( ) const
inline

◆ cubes_per_side()

template<class Func>
Eigen::Vector3i occ::isosurface::GenericStockholderWeightFunctor< Func >::cubes_per_side ( ) const
inline

◆ gradient()

template<class Func>
OCC_ALWAYS_INLINE FVec3 occ::isosurface::GenericStockholderWeightFunctor< Func >::gradient ( const FVec3 & pos) const
inline

◆ num_calls()

template<class Func>
int occ::isosurface::GenericStockholderWeightFunctor< Func >::num_calls ( ) const
inline

◆ operator()()

template<class Func>
OCC_ALWAYS_INLINE float occ::isosurface::GenericStockholderWeightFunctor< Func >::operator() ( const FVec3 & pos) const
inline

◆ origin()

template<class Func>
const auto & occ::isosurface::GenericStockholderWeightFunctor< Func >::origin ( ) const
inline

◆ remap_vertices()

template<class Func>
void occ::isosurface::GenericStockholderWeightFunctor< Func >::remap_vertices ( const std::vector< float > & v,
std::vector< float > & dest ) const
inline

◆ side_length()

template<class Func>
const auto & occ::isosurface::GenericStockholderWeightFunctor< Func >::side_length ( ) const
inline

◆ update_num_calls()

template<class Func>
void occ::isosurface::GenericStockholderWeightFunctor< Func >::update_num_calls ( int n) const
inline

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