KiCad PCB EDA Suite
|
Stores the hit information of a ray with a point on the surface of a object. More...
#include <hitinfo.h>
Public Attributes | |
SFVEC3F | m_HitNormal |
(12) normal at the hit point | |
float | m_tHit |
( 4) distance | |
const OBJECT_3D * | pHitObject |
( 4) Object that was hitted | |
SFVEC2F | m_UV |
( 8) 2-D texture coordinates | |
unsigned int | m_acc_node_info |
( 4) The acc stores here the node that it hits | |
SFVEC3F | m_HitPoint |
(12) hit position | |
float | m_ShadowFactor |
( 4) Shadow attenuation (1.0 no shadow, 0.0f darkness) | |
Stores the hit information of a ray with a point on the surface of a object.
unsigned int HITINFO::m_acc_node_info |
( 4) The acc stores here the node that it hits
Definition at line 42 of file hitinfo.h.
Referenced by HITINFO_PACKET_init(), BVH_PBRT::Intersect(), and RENDER_3D_RAYTRACE_BASE::renderAntiAliasPackets().
SFVEC3F HITINFO::m_HitNormal |
(12) normal at the hit point
Definition at line 37 of file hitinfo.h.
Referenced by HITINFO_PACKET_init(), CYLINDER::Intersect(), DUMMY_BLOCK::Intersect(), LAYER_ITEM::Intersect(), XY_PLANE::Intersect(), ROUND_SEGMENT::Intersect(), TRIANGLE::Intersect(), RENDER_3D_RAYTRACE_BASE::renderBlockTracing(), RENDER_3D_RAYTRACE_BASE::renderPreview(), BLINN_PHONG_MATERIAL::Shade(), and RENDER_3D_RAYTRACE_BASE::shadeHit().
SFVEC3F HITINFO::m_HitPoint |
(12) hit position
Definition at line 44 of file hitinfo.h.
Referenced by BOARD_NORMAL::Generate(), COPPER_NORMAL::Generate(), PLATED_COPPER_NORMAL::Generate(), PLASTIC_NORMAL::Generate(), PLASTIC_SHINE_NORMAL::Generate(), BRUSHED_METAL_NORMAL::Generate(), SILK_SCREEN_NORMAL::Generate(), CYLINDER::Intersect(), DUMMY_BLOCK::Intersect(), LAYER_ITEM::Intersect(), XY_PLANE::Intersect(), ROUND_SEGMENT::Intersect(), TRIANGLE::Intersect(), and RENDER_3D_RAYTRACE_BASE::shadeHit().
float HITINFO::m_ShadowFactor |
( 4) Shadow attenuation (1.0 no shadow, 0.0f darkness)
Definition at line 45 of file hitinfo.h.
Referenced by HITINFO_PACKET_init(), RENDER_3D_RAYTRACE_BASE::renderBlockTracing(), and RENDER_3D_RAYTRACE_BASE::shadeHit().
float HITINFO::m_tHit |
( 4) distance
Definition at line 38 of file hitinfo.h.
Referenced by PLASTIC_NORMAL::Generate(), getFirstHit(), getLastHit(), HITINFO_PACKET_init(), BVH_PBRT::Intersect(), CYLINDER::Intersect(), DUMMY_BLOCK::Intersect(), LAYER_ITEM::Intersect(), XY_PLANE::Intersect(), ROUND_SEGMENT::Intersect(), TRIANGLE::Intersect(), RENDER_3D_RAYTRACE_BASE::IntersectBoardItem(), RENDER_3D_RAYTRACE_BASE::renderAntiAliasPackets(), RENDER_3D_RAYTRACE_BASE::renderBlockTracing(), RENDER_3D_RAYTRACE_BASE::renderPreview(), and RENDER_3D_RAYTRACE_BASE::shadeHit().
SFVEC2F HITINFO::m_UV |
( 8) 2-D texture coordinates
Definition at line 41 of file hitinfo.h.
Referenced by TRIANGLE::GetDiffuseColor().
const OBJECT_3D* HITINFO::pHitObject |
( 4) Object that was hitted
Definition at line 40 of file hitinfo.h.
Referenced by CYLINDER::Intersect(), DUMMY_BLOCK::Intersect(), LAYER_ITEM::Intersect(), XY_PLANE::Intersect(), ROUND_SEGMENT::Intersect(), TRIANGLE::Intersect(), RENDER_3D_RAYTRACE_BASE::IntersectBoardItem(), RENDER_3D_RAYTRACE_BASE::renderPreview(), and RENDER_3D_RAYTRACE_BASE::shadeHit().