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... | |
double walberla::pe::raytracing::BodyIntersectionInfo::b |
Blue value for the pixel.
-> MPI_DOUBLE
walberla::id_t walberla::pe::raytracing::BodyIntersectionInfo::bodySystemID |
System ID of body which was hit.
-> MPI_UNSIGNED_LONG_LONG
double walberla::pe::raytracing::BodyIntersectionInfo::g |
Green value for the pixel.
-> MPI_DOUBLE
unsigned int walberla::pe::raytracing::BodyIntersectionInfo::imageX |
Viewing plane x pixel coordinate the ray belongs to.
-> MPI_UNSIGNED
unsigned int walberla::pe::raytracing::BodyIntersectionInfo::imageY |
Viewing plane y pixel coordinate the ray belongs to.
-> MPI_UNSIGNED
double walberla::pe::raytracing::BodyIntersectionInfo::r |
Red value for the pixel.
-> MPI_DOUBLE
double walberla::pe::raytracing::BodyIntersectionInfo::t |
Distance from camera to intersection point on body.
-> MPI_DOUBLE