occ
Loading...
Searching...
No Matches
occ::isosurface::LogSumExpFunctor< Metric > Class Template Reference

#include <logsumexp.h>

Public Member Functions

 LogSumExpFunctor (Metric &metric, const occ::core::Molecule &in, const occ::core::Molecule &ext, float sep, float temperature=0.1f)
 
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

◆ LogSumExpFunctor()

template<class Metric >
occ::isosurface::LogSumExpFunctor< Metric >::LogSumExpFunctor ( Metric &  metric,
const occ::core::Molecule in,
const occ::core::Molecule ext,
float  sep,
float  temperature = 0.1f 
)
inline

Member Function Documentation

◆ batch()

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

◆ bounding_box()

template<class Metric >
const auto & occ::isosurface::LogSumExpFunctor< Metric >::bounding_box ( ) const
inline

◆ cubes_per_side()

template<class Metric >
Eigen::Vector3i occ::isosurface::LogSumExpFunctor< Metric >::cubes_per_side ( ) const
inline

◆ gradient()

template<class Metric >
OCC_ALWAYS_INLINE FVec3 occ::isosurface::LogSumExpFunctor< Metric >::gradient ( const FVec3 pos) const
inline

◆ num_calls()

template<class Metric >
int occ::isosurface::LogSumExpFunctor< Metric >::num_calls ( ) const
inline

◆ operator()()

template<class Metric >
OCC_ALWAYS_INLINE float occ::isosurface::LogSumExpFunctor< Metric >::operator() ( const FVec3 pos) const
inline

◆ origin()

template<class Metric >
const auto & occ::isosurface::LogSumExpFunctor< Metric >::origin ( ) const
inline

◆ remap_vertices()

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

◆ side_length()

template<class Metric >
const auto & occ::isosurface::LogSumExpFunctor< Metric >::side_length ( ) const
inline

◆ update_num_calls()

template<class Metric >
void occ::isosurface::LogSumExpFunctor< Metric >::update_num_calls ( int  n) const
inline

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