NTrace
GPU ray tracing framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FW::Mat4d Class Reference

#include <Math.hpp>

Inherits FW::MatrixBase< F64, 4, Mat4d >.

Public Member Functions

FW_CUDA_FUNC Mat4d (void)
 
FW_CUDA_FUNC Mat4d (const Mat4f &a)
 
FW_CUDA_FUNC Mat4d (F64 a)
 
FW_CUDA_FUNC const F64getPtr (void) const
 
FW_CUDA_FUNC F64getPtr (void)
 
FW_CUDA_FUNC operator Mat4f (void) const
 
template<class V >
FW_CUDA_FUNC Mat4d (const MatrixBase< F64, 4, V > &v)
 
template<class V >
FW_CUDA_FUNC Mat4doperator= (const MatrixBase< F64, 4, V > &v)
 
- Public Member Functions inherited from FW::MatrixBase< F64, 4, Mat4d >
FW_CUDA_FUNC MatrixBase (void)
 
FW_CUDA_FUNC const T * getPtr (void) const
 
FW_CUDA_FUNC T * getPtr (void)
 
FW_CUDA_FUNC const T & get (int idx) const
 
FW_CUDA_FUNC T & get (int idx)
 
FW_CUDA_FUNC const T & get (int r, int c) const
 
FW_CUDA_FUNC T & get (int r, int c)
 
FW_CUDA_FUNCset (int idx, const T &a)
 
FW_CUDA_FUNCset (int r, int c, const T &a)
 
FW_CUDA_FUNC void set (const T &a)
 
FW_CUDA_FUNC void set (const T *ptr)
 
FW_CUDA_FUNC void set (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNC const Vector< T, L > & col (int c) const
 
FW_CUDA_FUNC Vector< T, L > & col (int c)
 
FW_CUDA_FUNC const Vector< T, L > & getCol (int c) const
 
FW_CUDA_FUNC Vector< T, L > getRow (int r) const
 
FW_CUDA_FUNC void setZero (void)
 
FW_CUDA_FUNC void setIdentity (void)
 
void print (void) const
 
FW_CUDA_FUNCdet (void) const
 
FW_CUDA_FUNCtransposed (void) const
 
FW_CUDA_FUNCinverted (void) const
 
FW_CUDA_FUNC void transpose (void)
 
FW_CUDA_FUNC void invert (void)
 
FW_CUDA_FUNC const T & operator() (int r, int c) const
 
FW_CUDA_FUNC T & operator() (int r, int c)
 
FW_CUDA_FUNC S & operator= (const T &a)
 
FW_CUDA_FUNC S & operator= (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNC S & operator+= (const T &a)
 
FW_CUDA_FUNC S & operator+= (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNC S & operator-= (const T &a)
 
FW_CUDA_FUNC S & operator-= (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNC S & operator*= (const T &a)
 
FW_CUDA_FUNC S & operator*= (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNC S & operator/= (const T &a)
 
FW_CUDA_FUNC S & operator/= (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNC S & operator%= (const T &a)
 
FW_CUDA_FUNC S & operator%= (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNC S & operator&= (const T &a)
 
FW_CUDA_FUNC S & operator&= (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNC S & operator|= (const T &a)
 
FW_CUDA_FUNC S & operator|= (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNC S & operator^= (const T &a)
 
FW_CUDA_FUNC S & operator^= (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNC S & operator<<= (const T &a)
 
FW_CUDA_FUNC S & operator<<= (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNC S & operator>>= (const T &a)
 
FW_CUDA_FUNC S & operator>>= (const MatrixBase< T, L, V > &v)
 
FW_CUDA_FUNCoperator+ (void) const
 
FW_CUDA_FUNCoperator+ (const T &a) const
 
FW_CUDA_FUNCoperator+ (const MatrixBase< T, L, V > &v) const
 
FW_CUDA_FUNCoperator- (void) const
 
FW_CUDA_FUNCoperator- (const T &a) const
 
FW_CUDA_FUNCoperator- (const MatrixBase< T, L, V > &v) const
 
FW_CUDA_FUNCoperator~ (void) const
 
FW_CUDA_FUNCoperator* (const T &a) const
 
FW_CUDA_FUNCoperator* (const VectorBase< T, L, V > &v) const
 
FW_CUDA_FUNCoperator* (const VectorBase< T, L-1, V > &v) const
 
FW_CUDA_FUNCoperator* (const MatrixBase< T, L, V > &v) const
 
FW_CUDA_FUNCoperator/ (const T &a) const
 
FW_CUDA_FUNCoperator/ (const MatrixBase< T, L, V > &v) const
 
FW_CUDA_FUNCoperator% (const T &a) const
 
FW_CUDA_FUNCoperator% (const MatrixBase< T, L, V > &v) const
 
FW_CUDA_FUNCoperator& (const T &a) const
 
FW_CUDA_FUNCoperator& (const MatrixBase< T, L, V > &v) const
 
FW_CUDA_FUNCoperator| (const T &a) const
 
FW_CUDA_FUNCoperator| (const MatrixBase< T, L, V > &v) const
 
FW_CUDA_FUNCoperator^ (const T &a) const
 
FW_CUDA_FUNCoperator^ (const MatrixBase< T, L, V > &v) const
 
FW_CUDA_FUNCoperator<< (const T &a) const
 
FW_CUDA_FUNCoperator<< (const MatrixBase< T, L, V > &v) const
 
FW_CUDA_FUNCoperator>> (const T &a) const
 
FW_CUDA_FUNCoperator>> (const MatrixBase< T, L, V > &v) const
 
FW_CUDA_FUNC void setCol (int c, const VectorBase< T, L, V > &v)
 
FW_CUDA_FUNC void setRow (int r, const VectorBase< T, L, V > &v)
 
FW_CUDA_FUNC bool operator== (const MatrixBase< T, L, V > &v) const
 
FW_CUDA_FUNC bool operator!= (const MatrixBase< T, L, V > &v) const
 

Static Public Member Functions

static FW_CUDA_FUNC Mat4d fromPtr (const F64 *ptr)
 
- Static Public Member Functions inherited from FW::MatrixBase< F64, 4, Mat4d >
static FW_CUDA_FUNCtranslate (const VectorBase< T, L-1, V > &v)
 
static FW_CUDA_FUNCscale (const VectorBase< T, L-1, V > &v)
 
static FW_CUDA_FUNCscale (const VectorBase< T, L, V > &v)
 

Public Attributes

F64 m00
 
F64 m10
 
F64 m20
 
F64 m30
 
F64 m01
 
F64 m11
 
F64 m21
 
F64 m31
 
F64 m02
 
F64 m12
 
F64 m22
 
F64 m32
 
F64 m03
 
F64 m13
 
F64 m23
 
F64 m33
 

Detailed Description

Definition at line 755 of file Math.hpp.

Constructor & Destructor Documentation

FW_CUDA_FUNC FW::Mat4d::Mat4d ( void  )
inline

Definition at line 758 of file Math.hpp.

FW_CUDA_FUNC FW::Mat4d::Mat4d ( const Mat4f a)
inline

Definition at line 759 of file Math.hpp.

FW_CUDA_FUNC FW::Mat4d::Mat4d ( F64  a)
inlineexplicit

Definition at line 760 of file Math.hpp.

template<class V >
FW_CUDA_FUNC FW::Mat4d::Mat4d ( const MatrixBase< F64, 4, V > &  v)
inline

Definition at line 768 of file Math.hpp.

Member Function Documentation

static FW_CUDA_FUNC Mat4d FW::Mat4d::fromPtr ( const F64 ptr)
inlinestatic

Definition at line 764 of file Math.hpp.

FW_CUDA_FUNC const F64* FW::Mat4d::getPtr ( void  ) const
inline

Definition at line 762 of file Math.hpp.

FW_CUDA_FUNC F64* FW::Mat4d::getPtr ( void  )
inline

Definition at line 763 of file Math.hpp.

FW_CUDA_FUNC FW::Mat4d::operator Mat4f ( void  ) const
inline

Definition at line 766 of file Math.hpp.

template<class V >
FW_CUDA_FUNC Mat4d& FW::Mat4d::operator= ( const MatrixBase< F64, 4, V > &  v)
inline

Definition at line 769 of file Math.hpp.

Member Data Documentation

F64 FW::Mat4d::m00

Definition at line 772 of file Math.hpp.

F64 FW::Mat4d::m01

Definition at line 773 of file Math.hpp.

F64 FW::Mat4d::m02

Definition at line 774 of file Math.hpp.

F64 FW::Mat4d::m03

Definition at line 775 of file Math.hpp.

F64 FW::Mat4d::m10

Definition at line 772 of file Math.hpp.

F64 FW::Mat4d::m11

Definition at line 773 of file Math.hpp.

F64 FW::Mat4d::m12

Definition at line 774 of file Math.hpp.

F64 FW::Mat4d::m13

Definition at line 775 of file Math.hpp.

F64 FW::Mat4d::m20

Definition at line 772 of file Math.hpp.

F64 FW::Mat4d::m21

Definition at line 773 of file Math.hpp.

F64 FW::Mat4d::m22

Definition at line 774 of file Math.hpp.

F64 FW::Mat4d::m23

Definition at line 775 of file Math.hpp.

F64 FW::Mat4d::m30

Definition at line 772 of file Math.hpp.

F64 FW::Mat4d::m31

Definition at line 773 of file Math.hpp.

F64 FW::Mat4d::m32

Definition at line 774 of file Math.hpp.

F64 FW::Mat4d::m33

Definition at line 775 of file Math.hpp.


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