Skip to content

Ray tracing warning. #1403

Closed Answered by robbietuk
claudiadom asked this question in Q&A
Discussion options

You must be logged in to vote

The warning comes from here

void
RayTraceVoxelsOnCartesianGrid(ProjMatrixElemsForOneBin& lor,
const CartesianCoordinate3D<float>& start_point,
const CartesianCoordinate3D<float>& stop_point,
const CartesianCoordinate3D<float>& voxel_size,
const float normalisation_constant)
{
const CartesianCoordinate3D<float> difference = stop_point - start_point;
if (norm(difference) <= .00001F)
{
// TODO
// not sure how to handle this case as we're normally ray tracing from voxel edges
warning("ray tracing with equal start and end point.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KrisThielemans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants