Wildmeshing Toolkit
wmtk::components::adaptive_tessellation::image::SamplingImage< Derived > Class Template Reference

#include <Sampling.hpp>

Inheritance diagram for wmtk::components::adaptive_tessellation::image::SamplingImage< Derived >:
[legend]
Collaboration diagram for wmtk::components::adaptive_tessellation::image::SamplingImage< Derived >:
[legend]

Public Member Functions

 SamplingImage (const Image &img)
 
double sample (const double u, const double v) const override
 
DScalar sample (const DScalar &u, const DScalar &v) const override
 
- Public Member Functions inherited from wmtk::components::adaptive_tessellation::image::Sampling
virtual ~Sampling ()
 

Protected Attributes

const Imagem_image
 

Additional Inherited Members

- Public Types inherited from wmtk::components::adaptive_tessellation::image::Sampling
using DScalar = DScalar2< double, Eigen::Matrix< double, -1, 1 >, Eigen::Matrix< double, -1, -1 > >
 

Detailed Description

template<typename Derived>
class wmtk::components::adaptive_tessellation::image::SamplingImage< Derived >

Definition at line 75 of file Sampling.hpp.

Constructor & Destructor Documentation

◆ SamplingImage()

template<typename Derived >
wmtk::components::adaptive_tessellation::image::SamplingImage< Derived >::SamplingImage ( const Image img)
inline

Definition at line 81 of file Sampling.hpp.

References wmtk::components::adaptive_tessellation::image::Image::height(), wmtk::components::adaptive_tessellation::image::SamplingImage< Derived >::m_image, and wmtk::components::adaptive_tessellation::image::Image::width().

Here is the call graph for this function:

Member Function Documentation

◆ sample() [1/2]

template<typename Derived >
double wmtk::components::adaptive_tessellation::image::SamplingImage< Derived >::sample ( const double  u,
const double  v 
) const
inlineoverridevirtual

Implements wmtk::components::adaptive_tessellation::image::Sampling.

Definition at line 89 of file Sampling.hpp.

Referenced by wmtk::components::adaptive_tessellation::image::SamplingImage< Derived >::sample().

Here is the caller graph for this function:

◆ sample() [2/2]

template<typename Derived >
DScalar wmtk::components::adaptive_tessellation::image::SamplingImage< Derived >::sample ( const DScalar u,
const DScalar v 
) const
inlineoverridevirtual

Implements wmtk::components::adaptive_tessellation::image::Sampling.

Definition at line 93 of file Sampling.hpp.

References wmtk::components::adaptive_tessellation::image::SamplingImage< Derived >::sample().

Here is the call graph for this function:

Member Data Documentation

◆ m_image

template<typename Derived >
const Image& wmtk::components::adaptive_tessellation::image::SamplingImage< Derived >::m_image
protected

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