neuray API Programmer's Manual

typedefs.h File Reference

Description

Typedefs for types from the math API.

Code Example

typedefs.h

‎/***************************************************************************************************
 * Copyright 2024 NVIDIA Corporation. All rights reserved.
 **************************************************************************************************/

#ifndef MI_NEURAYLIB_TYPEDEFS_H
#define MI_NEURAYLIB_TYPEDEFS_H

#include <mi/neuraylib/matrix_typedefs.h>
#include <mi/neuraylib/vector_typedefs.h>

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

namespace mi {





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::Color  
RGBA color class. More...
typedef math::Color_struct  
RGBA color class (underlying POD type). More...
typedef math::Spectrum  
Spectrum class. More...
typedef math::Spectrum_struct  
Spectrum class (underlying POD type). More...