Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::LinearMap Struct Reference

Public Member Functions

constexpr LinearMap invert () const
 
constexpr bool isInvertible () const noexcept
 
constexpr double map (double input) const noexcept
 
constexpr double mapDelta (double delta) const noexcept
 
constexpr glm::dvec2 mapRange (glm::dvec2 range) const noexcept
 
constexpr LinearMap then (const LinearMap &next) const noexcept
 

Static Public Member Functions

static constexpr LinearMap compose (const LinearMap &outer, const LinearMap &inner) noexcept
 
template<typename... Rest>
requires (sizeof...(Rest) > 0 && (std::same_as<Rest, LinearMap> && ...))
static constexpr LinearMap compose (const LinearMap &outer, const LinearMap &inner, const Rest &... rest) noexcept
 
static constexpr LinearMap from (glm::dvec2 source, glm::dvec2 destination)
 

Public Attributes

double inputOffset = 0.0
 
double outputOffset = 0.0
 
double scale = 1.0
 

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