neuray API Programmer's Manual

typedefs.h File Reference

Description

Typedefs for types from the math API.

Code Example

typedefs.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_TYPEDEFS_H
#define MI_NEURAYLIB_TYPEDEFS_H

#include <mi/math/bbox.h>
#include <mi/math/color.h>
#include <mi/math/matrix.h>
#include <mi/math/spectrum.h>
#include <mi/math/vector.h>

namespace mi {





typedef math::Vector< bool, 2> 
               Boolean_2;

typedef math::Vector< bool, 3> 
               Boolean_3;

typedef math::Vector< bool, 4> 
               Boolean_4;

typedef math::Vector< Sint32, 2> 
               Sint32_2;

typedef math::Vector< Sint32, 3> 
               Sint32_3;

typedef math::Vector< Sint32, 4> 
               Sint32_4;

typedef math::Vector< Uint32, 2> 
               Uint32_2;

typedef math::Vector< Uint32, 3> 
               Uint32_3;

typedef math::Vector< Uint32, 4> 
               Uint32_4;

typedef math::Vector< Float32, 2> 
               Float32_2;

typedef math::Vector< Float32, 3> 
               Float32_3;

typedef math::Vector< Float32, 4> 
               Float32_4;

typedef math::Vector< Float64, 2> 
               Float64_2;

typedef math::Vector< Float64, 3> 
               Float64_3;

typedef math::Vector< Float64, 4> 
               Float64_4;



typedef math::Vector_struct< bool, 2> 
               Boolean_2_struct;

typedef math::Vector_struct< bool, 3> 
               Boolean_3_struct;

typedef math::Vector_struct< bool, 4> 
               Boolean_4_struct;

typedef math::Vector_struct< Sint32, 2> 
               Sint32_2_struct;

typedef math::Vector_struct< Sint32, 3> 
               Sint32_3_struct;

typedef math::Vector_struct< Sint32, 4> 
               Sint32_4_struct;

typedef math::Vector_struct< Uint32, 2> 
               Uint32_2_struct;

typedef math::Vector_struct< Uint32, 3> 
               Uint32_3_struct;

typedef math::Vector_struct< Uint32, 4> 
               Uint32_4_struct;

typedef math::Vector_struct< Float32, 2> 
               Float32_2_struct;

typedef math::Vector_struct< Float32, 3> 
               Float32_3_struct;

typedef math::Vector_struct< Float32, 4> 
               Float32_4_struct;

typedef math::Vector_struct< Float64, 2> 
               Float64_2_struct;

typedef math::Vector_struct< Float64, 3> 
               Float64_3_struct;

typedef math::Vector_struct< Float64, 4> 
               Float64_4_struct;



typedef math::Matrix< bool, 2, 2> 
               Boolean_2_2;

typedef math::Matrix< bool, 2, 3> 
               Boolean_2_3;

typedef math::Matrix< bool, 2, 4> 
               Boolean_2_4;

typedef math::Matrix< bool, 3, 2> 
               Boolean_3_2;

typedef math::Matrix< bool, 3, 3> 
               Boolean_3_3;

typedef math::Matrix< bool, 3, 4> 
               Boolean_3_4;

typedef math::Matrix< bool, 4, 2> 
               Boolean_4_2;

typedef math::Matrix< bool, 4, 3> 
               Boolean_4_3;

typedef math::Matrix< bool, 4, 4> 
               Boolean_4_4;



typedef math::Matrix< Sint32, 2, 2> 
               Sint32_2_2;

typedef math::Matrix< Sint32, 2, 3> 
               Sint32_2_3;

typedef math::Matrix< Sint32, 2, 4> 
               Sint32_2_4;

typedef math::Matrix< Sint32, 3, 2> 
               Sint32_3_2;

typedef math::Matrix< Sint32, 3, 3> 
               Sint32_3_3;

typedef math::Matrix< Sint32, 3, 4> 
               Sint32_3_4;

typedef math::Matrix< Sint32, 4, 2> 
               Sint32_4_2;

typedef math::Matrix< Sint32, 4, 3> 
               Sint32_4_3;

typedef math::Matrix< Sint32, 4, 4> 
               Sint32_4_4;



typedef math::Matrix< Uint32, 2, 2> 
               Uint32_2_2;

typedef math::Matrix< Uint32, 2, 3> 
               Uint32_2_3;

typedef math::Matrix< Uint32, 2, 4> 
               Uint32_2_4;

typedef math::Matrix< Uint32, 3, 2> 
               Uint32_3_2;

typedef math::Matrix< Uint32, 3, 3> 
               Uint32_3_3;

typedef math::Matrix< Uint32, 3, 4> 
               Uint32_3_4;

typedef math::Matrix< Uint32, 4, 2> 
               Uint32_4_2;

typedef math::Matrix< Uint32, 4, 3> 
               Uint32_4_3;

typedef math::Matrix< Uint32, 4, 4> 
               Uint32_4_4;



typedef math::Matrix< Float32, 2, 2> 
               Float32_2_2;

typedef math::Matrix< Float32, 2, 3> 
               Float32_2_3;

typedef math::Matrix< Float32, 2, 4> 
               Float32_2_4;

typedef math::Matrix< Float32, 3, 2> 
               Float32_3_2;

typedef math::Matrix< Float32, 3, 3> 
               Float32_3_3;

typedef math::Matrix< Float32, 3, 4> 
               Float32_3_4;

typedef math::Matrix< Float32, 4, 2> 
               Float32_4_2;

typedef math::Matrix< Float32, 4, 3> 
               Float32_4_3;

typedef math::Matrix< Float32, 4, 4> 
               Float32_4_4;



typedef math::Matrix< Float64, 2, 2> 
               Float64_2_2;

typedef math::Matrix< Float64, 2, 3> 
               Float64_2_3;

typedef math::Matrix< Float64, 2, 4> 
               Float64_2_4;

typedef math::Matrix< Float64, 3, 2> 
               Float64_3_2;

typedef math::Matrix< Float64, 3, 3> 
               Float64_3_3;

typedef math::Matrix< Float64, 3, 4> 
               Float64_3_4;

typedef math::Matrix< Float64, 4, 2> 
               Float64_4_2;

typedef math::Matrix< Float64, 4, 3> 
               Float64_4_3;

typedef math::Matrix< Float64, 4, 4> 
               Float64_4_4;



typedef math::Matrix_struct< bool, 2, 2> 
               Boolean_2_2_struct;

typedef math::Matrix_struct< bool, 2, 3> 
               Boolean_2_3_struct;

typedef math::Matrix_struct< bool, 2, 4> 
               Boolean_2_4_struct;

typedef math::Matrix_struct< bool, 3, 2> 
               Boolean_3_2_struct;

typedef math::Matrix_struct< bool, 3, 3> 
               Boolean_3_3_struct;

typedef math::Matrix_struct< bool, 3, 4> 
               Boolean_3_4_struct;

typedef math::Matrix_struct< bool, 4, 2> 
               Boolean_4_2_struct;

typedef math::Matrix_struct< bool, 4, 3> 
               Boolean_4_3_struct;

typedef math::Matrix_struct< bool, 4, 4> 
               Boolean_4_4_struct;



typedef math::Matrix_struct< Sint32, 2, 2> 
               Sint32_2_2_struct;

typedef math::Matrix_struct< Sint32, 2, 3> 
               Sint32_2_3_struct;

typedef math::Matrix_struct< Sint32, 2, 4> 
               Sint32_2_4_struct;

typedef math::Matrix_struct< Sint32, 3, 2> 
               Sint32_3_2_struct;

typedef math::Matrix_struct< Sint32, 3, 3> 
               Sint32_3_3_struct;

typedef math::Matrix_struct< Sint32, 3, 4> 
               Sint32_3_4_struct;

typedef math::Matrix_struct< Sint32, 4, 2> 
               Sint32_4_2_struct;

typedef math::Matrix_struct< Sint32, 4, 3> 
               Sint32_4_3_struct;

typedef math::Matrix_struct< Sint32, 4, 4> 
               Sint32_4_4_struct;



typedef math::Matrix_struct< Uint32, 2, 2> 
               Uint32_2_2_struct;

typedef math::Matrix_struct< Uint32, 2, 3> 
               Uint32_2_3_struct;

typedef math::Matrix_struct< Uint32, 2, 4> 
               Uint32_2_4_struct;

typedef math::Matrix_struct< Uint32, 3, 2> 
               Uint32_3_2_struct;

typedef math::Matrix_struct< Uint32, 3, 3> 
               Uint32_3_3_struct;

typedef math::Matrix_struct< Uint32, 3, 4> 
               Uint32_3_4_struct;

typedef math::Matrix_struct< Uint32, 4, 2> 
               Uint32_4_2_struct;

typedef math::Matrix_struct< Uint32, 4, 3> 
               Uint32_4_3_struct;

typedef math::Matrix_struct< Uint32, 4, 4> 
               Uint32_4_4_struct;



typedef math::Matrix_struct< Float32, 2, 2> 
               Float32_2_2_struct;

typedef math::Matrix_struct< Float32, 2, 3> 
               Float32_2_3_struct;

typedef math::Matrix_struct< Float32, 2, 4> 
               Float32_2_4_struct;

typedef math::Matrix_struct< Float32, 3, 2> 
               Float32_3_2_struct;

typedef math::Matrix_struct< Float32, 3, 3> 
               Float32_3_3_struct;

typedef math::Matrix_struct< Float32, 3, 4> 
               Float32_3_4_struct;

typedef math::Matrix_struct< Float32, 4, 2> 
               Float32_4_2_struct;

typedef math::Matrix_struct< Float32, 4, 3> 
               Float32_4_3_struct;

typedef math::Matrix_struct< Float32, 4, 4> 
               Float32_4_4_struct;



typedef math::Matrix_struct< Float64, 2, 2> 
               Float64_2_2_struct;

typedef math::Matrix_struct< Float64, 2, 3> 
               Float64_2_3_struct;

typedef math::Matrix_struct< Float64, 2, 4> 
               Float64_2_4_struct;

typedef math::Matrix_struct< Float64, 3, 2> 
               Float64_3_2_struct;

typedef math::Matrix_struct< Float64, 3, 3> 
               Float64_3_3_struct;

typedef math::Matrix_struct< Float64, 3, 4> 
               Float64_3_4_struct;

typedef math::Matrix_struct< Float64, 4, 2> 
               Float64_4_2_struct;

typedef math::Matrix_struct< Float64, 4, 3> 
               Float64_4_3_struct;

typedef math::Matrix_struct< Float64, 4, 4> 
               Float64_4_4_struct;



typedef math::Color 
               Color;

typedef math::Color_struct 
               Color_struct;

using mi::math::Clip_mode;
using mi::math::CLIP_RGB;
using mi::math::CLIP_ALPHA;
using mi::math::CLIP_RAW;



typedef math::Spectrum 
               Spectrum;

typedef math::Spectrum_struct 
               Spectrum_struct;



typedef math::Bbox< Float32, 3> 
               Bbox3;

typedef math::Bbox_struct< Float32, 3> 
               Bbox3_struct;


 // end group mi_neuray_compounds

} // namespace mi

#endif // MI_NEURAYLIB_TYPEDEFS_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...

Typedefs

typedef math::Bbox< Float32, 3>  
Three-dimensional bounding box. More...
typedef math::Bbox_struct< Float32, 3>  
Three-dimensional bounding box (underlying POD type). More...
typedef math::Vector< bool, 2>  
Vector of two bool. More...
typedef math::Matrix< bool, 2, 2>  
2 x 2 matrix of bool. More...
typedef math::Matrix_struct< bool, 2, 2>  
2 x 2 matrix of bool (underlying POD type). More...
typedef math::Matrix< bool, 2, 3>  
2 x 3 matrix of bool. More...
typedef math::Matrix_struct< bool, 2, 3>  
2 x 3 matrix of bool (underlying POD type). More...
typedef math::Matrix< bool, 2, 4>  
2 x 4 matrix of bool. More...
typedef math::Matrix_struct< bool, 2, 4>  
2 x 4 matrix of bool (underlying POD type). More...
typedef math::Vector_struct< bool, 2>  
Vector of two bool (underlying POD type). More...
typedef math::Vector< bool, 3>  
Vector of three bool. More...
typedef math::Matrix< bool, 3, 2>  
3 x 2 matrix of bool. More...
typedef math::Matrix_struct< bool, 3, 2>  
3 x 2 matrix of bool (underlying POD type). More...
typedef math::Matrix< bool, 3, 3>  
3 x 3 matrix of bool. More...
typedef math::Matrix_struct< bool, 3, 3>  
3 x 3 matrix of bool (underlying POD type). More...
typedef math::Matrix< bool, 3, 4>  
3 x 4 matrix of bool. More...
typedef math::Matrix_struct< bool, 3, 4>  
3 x 4 matrix of bool (underlying POD type). More...
typedef math::Vector_struct< bool, 3>  
Vector of three bool (underlying POD type). More...
typedef math::Vector< bool, 4>  
Vector of four bool. More...
typedef math::Matrix< bool, 4, 2>  
4 x 2 matrix of bool. More...
typedef math::Matrix_struct< bool, 4, 2>  
4 x 2 matrix of bool (underlying POD type). More...
typedef math::Matrix< bool, 4, 3>  
4 x 3 matrix of bool. More...
typedef math::Matrix_struct< bool, 4, 3>  
4 x 3 matrix of bool (underlying POD type). More...
typedef math::Matrix< bool, 4, 4>  
4 x 4 matrix of bool. More...
typedef math::Matrix_struct< bool, 4, 4>  
4 x 4 matrix of bool (underlying POD type). More...
typedef math::Vector_struct< bool, 4>  
Vector of four bool (underlying POD type). More...
typedef math::Color  
RGBA color class. More...
typedef math::Color_struct  
RGBA color class (underlying POD type). More...
typedef math::Vector< Float32, 2>  
Vector of two Float32. More...
typedef math::Matrix< Float32, 2, 2>  
2 x 2 matrix of Float32. More...
typedef math::Matrix_struct< Float32, 2, 2>  
2 x 2 matrix of Float32 (underlying POD type). More...
typedef math::Matrix< Float32, 2, 3>  
2 x 3 matrix of Float32. More...
typedef math::Matrix_struct< Float32, 2, 3>  
2 x 3 matrix of Float32 (underlying POD type). More...
typedef math::Matrix< Float32, 2, 4>  
2 x 4 matrix of Float32. More...
typedef math::Matrix_struct< Float32, 2, 4>  
2 x 4 matrix of Float32 (underlying POD type). More...
typedef math::Vector_struct< Float32, 2>  
Vector of two Float32 (underlying POD type). More...
typedef math::Vector< Float32, 3>  
Vector of three Float32. More...
typedef math::Matrix< Float32, 3, 2>  
3 x 2 matrix of Float32. More...
typedef math::Matrix_struct< Float32, 3, 2>  
3 x 2 matrix of Float32 (underlying POD type). More...
typedef math::Matrix< Float32, 3, 3>  
3 x 3 matrix of Float32. More...
typedef math::Matrix_struct< Float32, 3, 3>  
3 x 3 matrix of Float32 (underlying POD type). More...
typedef math::Matrix< Float32, 3, 4>  
3 x 4 matrix of Float32. More...
typedef math::Matrix_struct< Float32, 3, 4>  
3 x 4 matrix of Float32 (underlying POD type). More...
typedef math::Vector_struct< Float32, 3>  
Vector of three Float32 (underlying POD type). More...
typedef math::Vector< Float32, 4>  
Vector of four Float32. More...
typedef math::Matrix< Float32, 4, 2>  
4 x 2 matrix of Float32. More...
typedef math::Matrix_struct< Float32, 4, 2>  
4 x 2 matrix of Float32 (underlying POD type). More...
typedef math::Matrix< Float32, 4, 3>  
4 x 3 matrix of Float32. More...
typedef math::Matrix_struct< Float32, 4, 3>  
4 x 3 matrix of Float32 (underlying POD type). More...
typedef math::Matrix< Float32, 4, 4>  
4 x 4 matrix of Float32. More...
typedef math::Matrix_struct< Float32, 4, 4>  
4 x 4 matrix of Float32 (underlying POD type). More...
typedef math::Vector_struct< Float32, 4>  
Vector of four Float32 (underlying POD type). More...
typedef math::Vector< Float64, 2>  
Vector of two Float64. More...
typedef math::Matrix< Float64, 2, 2>  
2 x 2 matrix of Float64. More...
typedef math::Matrix_struct< Float64, 2, 2>  
2 x 2 matrix of Float64 (underlying POD type). More...
typedef math::Matrix< Float64, 2, 3>  
2 x 3 matrix of Float64. More...
typedef math::Matrix_struct< Float64, 2, 3>  
2 x 3 matrix of Float64 (underlying POD type). More...
typedef math::Matrix< Float64, 2, 4>  
2 x 4 matrix of Float64. More...
typedef math::Matrix_struct< Float64, 2, 4>  
2 x 4 matrix of Float64 (underlying POD type). More...
typedef math::Vector_struct< Float64, 2>  
Vector of two Float64 (underlying POD type). More...
typedef math::Vector< Float64, 3>  
Vector of three Float64. More...
typedef math::Matrix< Float64, 3, 2>  
3 x 2 matrix of Float64. More...
typedef math::Matrix_struct< Float64, 3, 2>  
3 x 2 matrix of Float64 (underlying POD type). More...
typedef math::Matrix< Float64, 3, 3>  
3 x 3 matrix of Float64. More...
typedef math::Matrix_struct< Float64, 3, 3>  
3 x 3 matrix of Float64 (underlying POD type). More...
typedef math::Matrix< Float64, 3, 4>  
3 x 4 matrix of Float64. More...
typedef math::Matrix_struct< Float64, 3, 4>  
3 x 4 matrix of Float64 (underlying POD type). More...
typedef math::Vector_struct< Float64, 3>  
Vector of three Float64 (underlying POD type). More...
typedef math::Vector< Float64, 4>  
Vector of four Float64. More...
typedef math::Matrix< Float64, 4, 2>  
4 x 2 matrix of Float64. More...
typedef math::Matrix_struct< Float64, 4, 2>  
4 x 2 matrix of Float64 (underlying POD type). More...
typedef math::Matrix< Float64, 4, 3>  
4 x 3 matrix of Float64. More...
typedef math::Matrix_struct< Float64, 4, 3>  
4 x 3 matrix of Float64 (underlying POD type). More...
typedef math::Matrix< Float64, 4, 4>  
4 x 4 matrix of Float64. More...
typedef math::Matrix_struct< Float64, 4, 4>  
4 x 4 matrix of Float64 (underlying POD type). More...
typedef math::Vector_struct< Float64, 4>  
Vector of four Float64 (underlying POD type). More...
typedef math::Vector< Sint32, 2>  
Vector of two Sint32. More...
typedef math::Matrix< Sint32, 2, 2>  
2 x 2 matrix of Sint32. More...
typedef math::Matrix_struct< Sint32, 2, 2>  
2 x 2 matrix of Sint32 (underlying POD type). More...
typedef math::Matrix< Sint32, 2, 3>  
2 x 3 matrix of Sint32. More...
typedef math::Matrix_struct< Sint32, 2, 3>  
2 x 3 matrix of Sint32 (underlying POD type). More...
typedef math::Matrix< Sint32, 2, 4>  
2 x 4 matrix of Sint32. More...
typedef math::Matrix_struct< Sint32, 2, 4>  
2 x 4 matrix of Sint32 (underlying POD type). More...
typedef math::Vector_struct< Sint32, 2>  
Vector of two Sint32 (underlying POD type). More...
typedef math::Vector< Sint32, 3>  
Vector of three Sint32. More...
typedef math::Matrix< Sint32, 3, 2>  
3 x 2 matrix of Sint32. More...
typedef math::Matrix_struct< Sint32, 3, 2>  
3 x 2 matrix of Sint32 (underlying POD type). More...
typedef math::Matrix< Sint32, 3, 3>  
3 x 3 matrix of Sint32. More...
typedef math::Matrix_struct< Sint32, 3, 3>  
3 x 3 matrix of Sint32 (underlying POD type). More...
typedef math::Matrix< Sint32, 3, 4>  
3 x 4 matrix of Sint32. More...
typedef math::Matrix_struct< Sint32, 3, 4>  
3 x 4 matrix of Sint32 (underlying POD type). More...
typedef math::Vector_struct< Sint32, 3>  
Vector of three Sint32 (underlying POD type). More...
typedef math::Vector< Sint32, 4>  
Vector of four Sint32. More...
typedef math::Matrix< Sint32, 4, 2>  
4 x 2 matrix of Sint32. More...
typedef math::Matrix_struct< Sint32, 4, 2>  
4 x 2 matrix of Sint32 (underlying POD type). More...
typedef math::Matrix< Sint32, 4, 3>  
4 x 3 matrix of Sint32. More...
typedef math::Matrix_struct< Sint32, 4, 3>  
4 x 3 matrix of Sint32 (underlying POD type). More...
typedef math::Matrix< Sint32, 4, 4>  
4 x 4 matrix of Sint32. More...
typedef math::Matrix_struct< Sint32, 4, 4>  
4 x 4 matrix of Sint32 (underlying POD type). More...
typedef math::Vector_struct< Sint32, 4>  
Vector of four Sint32 (underlying POD type). More...
typedef math::Spectrum  
Spectrum class. More...
typedef math::Spectrum_struct  
Spectrum class (underlying POD type). More...
typedef math::Vector< Uint32, 2>  
Vector of two Uint32. More...
typedef math::Matrix< Uint32, 2, 2>  
2 x 2 matrix of Uint32. More...
typedef math::Matrix_struct< Uint32, 2, 2>  
2 x 2 matrix of Uint32 (underlying POD type). More...
typedef math::Matrix< Uint32, 2, 3>  
2 x 3 matrix of Uint32. More...
typedef math::Matrix_struct< Uint32, 2, 3>  
2 x 3 matrix of Uint32 (underlying POD type). More...
typedef math::Matrix< Uint32, 2, 4>  
2 x 4 matrix of Uint32. More...
typedef math::Matrix_struct< Uint32, 2, 4>  
2 x 4 matrix of Uint32 (underlying POD type). More...
typedef math::Vector_struct< Uint32, 2>  
Vector of two Uint32 (underlying POD type). More...
typedef math::Vector< Uint32, 3>  
Vector of three Uint32. More...
typedef math::Matrix< Uint32, 3, 2>  
3 x 2 matrix of Uint32. More...
typedef math::Matrix_struct< Uint32, 3, 2>  
3 x 2 matrix of Uint32 (underlying POD type). More...
typedef math::Matrix< Uint32, 3, 3>  
3 x 3 matrix of Uint32. More...
typedef math::Matrix_struct< Uint32, 3, 3>  
3 x 3 matrix of Uint32 (underlying POD type). More...
typedef math::Matrix< Uint32, 3, 4>  
3 x 4 matrix of Uint32. More...
typedef math::Matrix_struct< Uint32, 3, 4>  
3 x 4 matrix of Uint32 (underlying POD type). More...
typedef math::Vector_struct< Uint32, 3>  
Vector of three Uint32 (underlying POD type). More...
typedef math::Vector< Uint32, 4>  
Vector of four Uint32. More...
typedef math::Matrix< Uint32, 4, 2>  
4 x 2 matrix of Uint32. More...
typedef math::Matrix_struct< Uint32, 4, 2>  
4 x 2 matrix of Uint32 (underlying POD type). More...
typedef math::Matrix< Uint32, 4, 3>  
4 x 3 matrix of Uint32. More...
typedef math::Matrix_struct< Uint32, 4, 3>  
4 x 3 matrix of Uint32 (underlying POD type). More...
typedef math::Matrix< Uint32, 4, 4>  
4 x 4 matrix of Uint32. More...
typedef math::Matrix_struct< Uint32, 4, 4>  
4 x 4 matrix of Uint32 (underlying POD type). More...
typedef math::Vector_struct< Uint32, 4>  
Vector of four Uint32 (underlying POD type). More...