OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Bicubic.hpp File Reference
#include <Eigen/Core>
#include <algorithm>
#include <cstddef>
#include <vector>
#include <cmath>
#include <Eigen/Dense>
Include dependency graph for Bicubic.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Slic3r::Geometry::BicubicInternal::LinearKernel< T >
struct  Slic3r::Geometry::BicubicInternal::CubicCatmulRomKernel< T >
struct  Slic3r::Geometry::BicubicInternal::CubicBSplineKernel< T >
struct  Slic3r::Geometry::CubicKernelWrapper< Kernel >

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::Geometry
namespace  Slic3r::Geometry::BicubicInternal

Typedefs

template<typename NumberType>
using Slic3r::Geometry::LinearKernel = CubicKernelWrapper<BicubicInternal::LinearKernel<NumberType>>
template<typename NumberType>
using Slic3r::Geometry::CubicCatmulRomKernel = CubicKernelWrapper<BicubicInternal::CubicCatmulRomKernel<NumberType>>
template<typename NumberType>
using Slic3r::Geometry::CubicBSplineKernel = CubicKernelWrapper<BicubicInternal::CubicBSplineKernel<NumberType>>

Functions

template<class T>
T Slic3r::Geometry::BicubicInternal::clamp (T a, T lower, T upper)
template<typename KernelWrapper>
static KernelWrapper::FloatType Slic3r::Geometry::cubic_interpolate (const Eigen::ArrayBase< typename KernelWrapper::FloatType > &F, const typename KernelWrapper::FloatType pt)
template<typename Kernel, typename Derived>
static float Slic3r::Geometry::bicubic_interpolate (const Eigen::MatrixBase< Derived > &F, const Eigen::Matrix< typename Kernel::FloatType, 2, 1, Eigen::DontAlign > &pt)