KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ACCELERATOR_3D Class Referenceabstract

#include <accelerator_3d.h>

Inheritance diagram for ACCELERATOR_3D:
BVH_PBRT

Public Member Functions

 ACCELERATOR_3D ()
 
virtual ~ACCELERATOR_3D ()
 
virtual bool Intersect (const RAY &aRay, HITINFO &aHitInfo) const =0
 
virtual bool Intersect (const RAY &aRay, HITINFO &aHitInfo, unsigned int aAccNodeInfo) const =0
 
virtual bool Intersect (const RAYPACKET &aRayPacket, HITINFO_PACKET *aHitInfoPacket) const =0
 
virtual bool IntersectP (const RAY &aRay, float aMaxDistance) const =0
 

Protected Attributes

BBOX_3D m_bbox
 

Detailed Description

Definition at line 36 of file accelerator_3d.h.

Constructor & Destructor Documentation

◆ ACCELERATOR_3D()

ACCELERATOR_3D::ACCELERATOR_3D ( )

Definition at line 32 of file accelerator_3d.cpp.

References m_bbox, and BBOX_3D::Reset().

◆ ~ACCELERATOR_3D()

ACCELERATOR_3D::~ACCELERATOR_3D ( )
virtual

Definition at line 38 of file accelerator_3d.cpp.

Member Function Documentation

◆ Intersect() [1/3]

◆ Intersect() [2/3]

virtual bool ACCELERATOR_3D::Intersect ( const RAY aRay,
HITINFO aHitInfo,
unsigned int  aAccNodeInfo 
) const
pure virtual

Implemented in BVH_PBRT.

◆ Intersect() [3/3]

virtual bool ACCELERATOR_3D::Intersect ( const RAYPACKET aRayPacket,
HITINFO_PACKET aHitInfoPacket 
) const
pure virtual

Implemented in BVH_PBRT.

◆ IntersectP()

virtual bool ACCELERATOR_3D::IntersectP ( const RAY aRay,
float  aMaxDistance 
) const
pure virtual

Implemented in BVH_PBRT.

Referenced by RENDER_3D_RAYTRACE_BASE::shadeHit().

Member Data Documentation

◆ m_bbox

BBOX_3D ACCELERATOR_3D::m_bbox
protected

Definition at line 53 of file accelerator_3d.h.

Referenced by ACCELERATOR_3D().


The documentation for this class was generated from the following files: