OWL
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
owl::common::AffineSpaceT< L > Struct Template Reference

Public Member Functions

inline AffineSpaceT (const AffineSpaceT &other)=default
 
__both__ AffineSpaceT (const L &other)
 
__both__ AffineSpaceToperator= (const AffineSpaceT &other)
 
__both__ AffineSpaceT (const VectorT &vx, const VectorT &vy, const VectorT &vz, const VectorT &p)
 
__both__ AffineSpaceT (const L &l, const VectorT &p)
 
template<typename L1 >
__both__ AffineSpaceT (const AffineSpaceT< L1 > &s)
 
 AffineSpaceT (ZeroTy)
 
 AffineSpaceT (OneTy)
 

Static Public Member Functions

static AffineSpaceT scale (const VectorT &s)
 
static AffineSpaceT translate (const VectorT &p)
 
static AffineSpaceT rotate (const ScalarT &r)
 
static AffineSpaceT rotate (const VectorT &u, const ScalarT &r)
 
static AffineSpaceT rotate (const VectorT &p, const VectorT &u, const ScalarT &r)
 
static AffineSpaceT lookat (const VectorT &eye, const VectorT &point, const VectorT &up)
 

Public Attributes

l
 
VectorT p
 

Member Function Documentation

◆ lookat()

template<typename L >
static AffineSpaceT owl::common::AffineSpaceT< L >::lookat ( const VectorT &  eye,
const VectorT &  point,
const VectorT &  up 
)
inlinestatic

return matrix for looking at given point, only in 3D; right-handed coordinate system

◆ rotate() [1/3]

template<typename L >
static AffineSpaceT owl::common::AffineSpaceT< L >::rotate ( const ScalarT &  r)
inlinestatic

return matrix for rotation, only in 2D

◆ rotate() [2/3]

template<typename L >
static AffineSpaceT owl::common::AffineSpaceT< L >::rotate ( const VectorT &  p,
const VectorT &  u,
const ScalarT &  r 
)
inlinestatic

return matrix for rotation around arbitrary axis and point, only in 3D

◆ rotate() [3/3]

template<typename L >
static AffineSpaceT owl::common::AffineSpaceT< L >::rotate ( const VectorT &  u,
const ScalarT &  r 
)
inlinestatic

return matrix for rotation around arbitrary point (2D) or axis (3D)

◆ scale()

template<typename L >
static AffineSpaceT owl::common::AffineSpaceT< L >::scale ( const VectorT &  s)
inlinestatic

return matrix for scaling

◆ translate()

template<typename L >
static AffineSpaceT owl::common::AffineSpaceT< L >::translate ( const VectorT &  p)
inlinestatic

return matrix for translation


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