walberla::pe::raytracing::BodyIntersectionInfo Struct Reference

Detailed Description

Contains information about a ray-body intersection.

#include <Raytracer.h>

Public Attributes

unsigned int imageX
 Viewing plane x pixel coordinate the ray belongs to. More...
 
unsigned int imageY
 Viewing plane y pixel coordinate the ray belongs to. More...
 
walberla::id_t bodySystemID
 System ID of body which was hit. More...
 
double t
 Distance from camera to intersection point on body. More...
 
double r
 Red value for the pixel. More...
 
double g
 Green value for the pixel. More...
 
double b
 Blue value for the pixel. More...
 

Member Data Documentation

◆ b

double walberla::pe::raytracing::BodyIntersectionInfo::b

Blue value for the pixel.

-> MPI_DOUBLE

◆ bodySystemID

walberla::id_t walberla::pe::raytracing::BodyIntersectionInfo::bodySystemID

System ID of body which was hit.

-> MPI_UNSIGNED_LONG_LONG

◆ g

double walberla::pe::raytracing::BodyIntersectionInfo::g

Green value for the pixel.

-> MPI_DOUBLE

◆ imageX

unsigned int walberla::pe::raytracing::BodyIntersectionInfo::imageX

Viewing plane x pixel coordinate the ray belongs to.

-> MPI_UNSIGNED

◆ imageY

unsigned int walberla::pe::raytracing::BodyIntersectionInfo::imageY

Viewing plane y pixel coordinate the ray belongs to.

-> MPI_UNSIGNED

◆ r

double walberla::pe::raytracing::BodyIntersectionInfo::r

Red value for the pixel.

-> MPI_DOUBLE

◆ t

double walberla::pe::raytracing::BodyIntersectionInfo::t

Distance from camera to intersection point on body.

-> MPI_DOUBLE


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