Wildmeshing Toolkit
wmtk::function::utils::PositionMapEvaluator Class Reference

#include <PositionMapEvaluator.hpp>

Public Member Functions

 PositionMapEvaluator ()
 
 ~PositionMapEvaluator ()
 
 PositionMapEvaluator (PositionMapEvaluator &&)
 
PositionMapEvaluatoroperator= (PositionMapEvaluator &&)
 
 PositionMapEvaluator (const image::Image &image)
 Construct a new Dofs To Position object using a displacement map (requires a sampler) More...
 
 PositionMapEvaluator (const wmtk::image::SamplingAnalyticFunction::FunctionType type, const double a, const double b, const double c)
 
template<typename T >
Vector3< T > uv_to_pos (const Vector2< T > &uv) const
 

Protected Attributes

std::unique_ptr< wmtk::image::Sampling > m_sampling
 

Detailed Description

Definition at line 12 of file PositionMapEvaluator.hpp.

Constructor & Destructor Documentation

◆ PositionMapEvaluator() [1/4]

wmtk::function::utils::PositionMapEvaluator::PositionMapEvaluator ( )
default

◆ ~PositionMapEvaluator()

wmtk::function::utils::PositionMapEvaluator::~PositionMapEvaluator ( )
default

◆ PositionMapEvaluator() [2/4]

wmtk::function::utils::PositionMapEvaluator::PositionMapEvaluator ( PositionMapEvaluator &&  )
default

◆ PositionMapEvaluator() [3/4]

wmtk::function::utils::PositionMapEvaluator::PositionMapEvaluator ( const image::Image &  image)

Construct a new Dofs To Position object using a displacement map (requires a sampler)

Parameters
image

Definition at line 23 of file PositionMapEvaluator.cpp.

References m_sampling.

◆ PositionMapEvaluator() [4/4]

wmtk::function::utils::PositionMapEvaluator::PositionMapEvaluator ( const wmtk::image::SamplingAnalyticFunction::FunctionType  type,
const double  a,
const double  b,
const double  c 
)

Definition at line 28 of file PositionMapEvaluator.cpp.

References m_sampling.

Member Function Documentation

◆ operator=()

PositionMapEvaluator & wmtk::function::utils::PositionMapEvaluator::operator= ( PositionMapEvaluator &&  )
default

◆ uv_to_pos()

template<typename T >
Vector3<T> wmtk::function::utils::PositionMapEvaluator::uv_to_pos ( const Vector2< T > &  uv) const
inline

Definition at line 40 of file PositionMapEvaluator.hpp.

References m_sampling.

Member Data Documentation

◆ m_sampling

std::unique_ptr<wmtk::image::Sampling> wmtk::function::utils::PositionMapEvaluator::m_sampling
protected

Definition at line 15 of file PositionMapEvaluator.hpp.

Referenced by PositionMapEvaluator(), and uv_to_pos().


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