#include <ray_data.h>
|
| NanoRTRayTracer (const HF::Geometry::MeshInfo< float > &MI) |
| Construct a new raytracer with an instance of meshinfo. More...
|
|
| NanoRTRayTracer (const HF::Geometry::MeshInfo< double > &MI) |
|
template<typename point_type , typename dist_type = real_t> |
HitStruct< real_t > | Intersect (const point_type &origin, const point_type &dir, dist_type distance=-1.0, int mesh_id=-1) |
|
template<typename point_type > |
bool | Occluded (const point_type &origin, const point_type &dir, float distance=-1, int mesh_id=-1) |
|
template<typename point_type > |
bool | PointIntersection (point_type &origin, const point_type &dir, float distance=-1, int mesh_id=-1) |
|
|
template<typename dist_type = real_t, typename N > |
NanoRay | ConstructRay (const N &origin, const N &direction, dist_type max_dist=std::numeric_limits< dist_type >::max()) |
|
Intersection | CreateHit () |
|
template<typename point_type , typename dist_type > |
void | MovePoint (point_type &point, const point_type &dir, dist_type dist) |
|
Definition at line 135 of file ray_data.h.
◆ Intersection
◆ Intersector
◆ NanoBVH
◆ NanoRay
◆ real_t
◆ vertex_t
◆ NanoRTRayTracer() [1/2]
◆ NanoRTRayTracer() [2/2]
◆ ConstructRay()
template<typename dist_type = real_t, typename N >
NanoRay HF::RayTracer::NanoRTRayTracer::ConstructRay |
( |
const N & |
origin, |
|
|
const N & |
direction, |
|
|
dist_type |
max_dist = std::numeric_limits<dist_type>::max() |
|
) |
| |
|
inlineprivate |
◆ CreateHit()
◆ Intersect()
template<typename point_type , typename dist_type = real_t>
HitStruct< real_t > HF::RayTracer::NanoRTRayTracer::Intersect |
( |
const point_type & |
origin, |
|
|
const point_type & |
dir, |
|
|
dist_type |
distance = -1.0 , |
|
|
int |
mesh_id = -1 |
|
) |
| |
|
inline |
◆ MovePoint()
template<typename point_type , typename dist_type >
void HF::RayTracer::NanoRTRayTracer::MovePoint |
( |
point_type & |
point, |
|
|
const point_type & |
dir, |
|
|
dist_type |
dist |
|
) |
| |
|
inlineprivate |
◆ Occluded()
template<typename point_type >
bool HF::RayTracer::NanoRTRayTracer::Occluded |
( |
const point_type & |
origin, |
|
|
const point_type & |
dir, |
|
|
float |
distance = -1 , |
|
|
int |
mesh_id = -1 |
|
) |
| |
|
inline |
◆ PointIntersection()
template<typename point_type >
bool HF::RayTracer::NanoRTRayTracer::PointIntersection |
( |
point_type & |
origin, |
|
|
const point_type & |
dir, |
|
|
float |
distance = -1 , |
|
|
int |
mesh_id = -1 |
|
) |
| |
|
inline |
◆ bvh
NanoBVH HF::RayTracer::NanoRTRayTracer::bvh |
|
private |
◆ indices
std::vector<unsigned int> HF::RayTracer::NanoRTRayTracer::indices |
|
private |
◆ intersector
std::unique_ptr<Intersector> HF::RayTracer::NanoRTRayTracer::intersector |
|
private |
◆ min_dist
const real_t HF::RayTracer::NanoRTRayTracer::min_dist = 0.0 |
|
private |
◆ vertices
std::vector<real_t> HF::RayTracer::NanoRTRayTracer::vertices |
|
private |
The documentation for this class was generated from the following files: