1.3.49
 
Loading...
Searching...
No Matches
RadiationModel.h File Reference
#include "CameraCalibration.h"
#include "Context.h"
#include "json.hpp"
#include <optix.h>
#include <optixu/optixpp_namespace.h>
#include <optixu/optixu_vector_functions.h>
#include <optixu/optixu_vector_types.h>
#include <utility>

Go to the source code of this file.

Data Structures

struct  CameraProperties
 Properties defining a radiation camera. More...
 
struct  RadiationCamera
 Data object for a radiation camera. More...
 
struct  RadiationBand
 Properties defining a radiation band. More...
 
struct  RadiationSource
 Radiation source data object. More...
 
class  RadiationModel
 Radiation transport model plugin. More...
 

Macros

#define RT_CHECK_ERROR(func)
 

Enumerations

enum  RadiationSourceType {
  RADIATION_SOURCE_TYPE_COLLIMATED = 0 , RADIATION_SOURCE_TYPE_SPHERE = 1 , RADIATION_SOURCE_TYPE_SUN_SPHERE = 2 , RADIATION_SOURCE_TYPE_RECTANGLE = 3 ,
  RADIATION_SOURCE_TYPE_DISK = 4
}
 Possible types of radiation sources. More...
 

Functions

void sutilHandleError (RTcontext context, RTresult code, const char *file, int line)
 
void sutilReportError (const char *message)
 

Detailed Description

Primary header file for radiation transport model.

Copyright (C) 2016-2025 Brian Bailey

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file RadiationModel.h.

Macro Definition Documentation

◆ RT_CHECK_ERROR

#define RT_CHECK_ERROR (   func)
Value:
do { \
RTresult code = func; \
if (code != RT_SUCCESS) \
sutilHandleError(OptiX_Context, code, __FILE__, __LINE__); \
} while (0)

Definition at line 2080 of file RadiationModel.h.

Enumeration Type Documentation

◆ RadiationSourceType

Possible types of radiation sources.

Definition at line 346 of file RadiationModel.h.

Function Documentation

◆ sutilHandleError()

void sutilHandleError ( RTcontext  context,
RTresult  code,
const char *  file,
int  line 
)

Definition at line 5722 of file RadiationModel.cpp.

◆ sutilReportError()

void sutilReportError ( const char *  message)

Definition at line 5731 of file RadiationModel.cpp.