Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
rs2::matrix4 Struct Reference

#include <rendering.h>

Public Member Functions

 matrix4 ()
 
 matrix4 (float vals[4][4])
 
 matrix4 (float vals[16])
 
 matrix4 (const rs2_quaternion &q)
 
 matrix4 (const rs2_vector &t)
 
rs2_quaternion normalize (rs2_quaternion a)
 
 operator float * () const
 
float & operator() (int i, int j)
 
const float & operator() (int i, int j) const
 
void to_column_major (float column_major[16])
 
rs2_quaternion to_quaternion ()
 

Static Public Member Functions

static matrix4 identity ()
 

Public Attributes

float mat [4][4]
 

Detailed Description

Definition at line 272 of file rendering.h.

Constructor & Destructor Documentation

rs2::matrix4::matrix4 ( )
inline

Definition at line 289 of file rendering.h.

rs2::matrix4::matrix4 ( float  vals[4][4])
inline

Definition at line 294 of file rendering.h.

rs2::matrix4::matrix4 ( float  vals[16])
inline

Definition at line 308 of file rendering.h.

rs2::matrix4::matrix4 ( const rs2_quaternion q)
inline

Definition at line 323 of file rendering.h.

rs2::matrix4::matrix4 ( const rs2_vector t)
inline

Definition at line 332 of file rendering.h.

Member Function Documentation

static matrix4 rs2::matrix4::identity ( )
inlinestatic

Definition at line 281 of file rendering.h.

rs2_quaternion rs2::matrix4::normalize ( rs2_quaternion  a)
inline

Definition at line 340 of file rendering.h.

rs2::matrix4::operator float * ( ) const
inline

Definition at line 276 of file rendering.h.

float& rs2::matrix4::operator() ( int  i,
int  j 
)
inline

Definition at line 319 of file rendering.h.

const float& rs2::matrix4::operator() ( int  i,
int  j 
) const
inline

Definition at line 320 of file rendering.h.

void rs2::matrix4::to_column_major ( float  column_major[16])
inline

Definition at line 391 of file rendering.h.

rs2_quaternion rs2::matrix4::to_quaternion ( )
inline

Definition at line 351 of file rendering.h.

Member Data Documentation

float rs2::matrix4::mat[4][4]

Definition at line 274 of file rendering.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:40