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

#include <Math.hpp>

Inherits FW::MatrixBase< F64, 3, Mat3d >.

Public Member Functions

FW_CUDA_FUNC Mat3d (void)
 
FW_CUDA_FUNC Mat3d (const Mat3f &a)
 
FW_CUDA_FUNC Mat3d (F64 a)
 
FW_CUDA_FUNC const F64getPtr (void) const
 
FW_CUDA_FUNC F64getPtr (void)
 
FW_CUDA_FUNC operator Mat3f (void) const
 
template<class V >
FW_CUDA_FUNC Mat3d (const MatrixBase< F64, 3, V > &v)
 
template<class V >
FW_CUDA_FUNC Mat3doperator= (const MatrixBase< F64, 3, V > &v)
 
- Public Member Functions inherited from FW::MatrixBase< F64, 3, Mat3d >
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 Mat3d fromPtr (const F64 *ptr)
 
static Mat3d rotation (const Vec3d &axis, F64 angle)
 
- Static Public Member Functions inherited from FW::MatrixBase< F64, 3, Mat3d >
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 m01
 
F64 m11
 
F64 m21
 
F64 m02
 
F64 m12
 
F64 m22
 

Detailed Description

Definition at line 727 of file Math.hpp.

Constructor & Destructor Documentation

FW_CUDA_FUNC FW::Mat3d::Mat3d ( void  )
inline

Definition at line 730 of file Math.hpp.

FW_CUDA_FUNC FW::Mat3d::Mat3d ( const Mat3f a)
inline

Definition at line 731 of file Math.hpp.

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

Definition at line 732 of file Math.hpp.

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

Definition at line 744 of file Math.hpp.

Member Function Documentation

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

Definition at line 736 of file Math.hpp.

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

Definition at line 734 of file Math.hpp.

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

Definition at line 735 of file Math.hpp.

FW_CUDA_FUNC FW::Mat3d::operator Mat3f ( void  ) const
inline

Definition at line 738 of file Math.hpp.

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

Definition at line 745 of file Math.hpp.

Mat3d Mat3d::rotation ( const Vec3d axis,
F64  angle 
)
static

Definition at line 107 of file Math.cpp.

Member Data Documentation

F64 FW::Mat3d::m00

Definition at line 748 of file Math.hpp.

F64 FW::Mat3d::m01

Definition at line 749 of file Math.hpp.

F64 FW::Mat3d::m02

Definition at line 750 of file Math.hpp.

F64 FW::Mat3d::m10

Definition at line 748 of file Math.hpp.

F64 FW::Mat3d::m11

Definition at line 749 of file Math.hpp.

F64 FW::Mat3d::m12

Definition at line 750 of file Math.hpp.

F64 FW::Mat3d::m20

Definition at line 748 of file Math.hpp.

F64 FW::Mat3d::m21

Definition at line 749 of file Math.hpp.

F64 FW::Mat3d::m22

Definition at line 750 of file Math.hpp.


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