KiCad PCB EDA Suite
CGENERICACCELERATOR Class Referenceabstract

#include <caccelerator.h>

Inheritance diagram for CGENERICACCELERATOR:
CBVH_PBRT

Public Member Functions

 CGENERICACCELERATOR ()
 
virtual ~CGENERICACCELERATOR ()
 
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

CBBOX m_bbox
 

Detailed Description

Definition at line 37 of file caccelerator.h.

Constructor & Destructor Documentation

CGENERICACCELERATOR::CGENERICACCELERATOR ( )

Definition at line 33 of file caccelerator.cpp.

References m_bbox, and CBBOX::Reset().

34 {
35  m_bbox.Reset();
36 }
void Reset()
Function Reset reset the bounding box to zero and de-initialized it.
Definition: cbbox.cpp:98
CGENERICACCELERATOR::~CGENERICACCELERATOR ( )
virtual

Definition at line 38 of file caccelerator.cpp.

39 {
40 }

Member Function Documentation

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

Implemented in CBVH_PBRT.

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

Implemented in CBVH_PBRT.

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

Implemented in CBVH_PBRT.

Referenced by C3D_RENDER_RAYTRACING::shadeHit().

Member Data Documentation

CBBOX CGENERICACCELERATOR::m_bbox
protected

Definition at line 40 of file caccelerator.h.

Referenced by CGENERICACCELERATOR().


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