KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CONTAINER_3D Class Reference

#include <container_3d.h>

Inheritance diagram for CONTAINER_3D:
CONTAINER_3D_BASE

Public Member Functions

bool Intersect (const RAY &aRay, HITINFO &aHitInfo) const override
 
bool IntersectP (const RAY &aRay, float aMaxDistance) const override
 
void Add (OBJECT_3D *aObject)
 
void Clear ()
 
const LIST_OBJECTGetList () const
 
void ConvertTo (CONST_VECTOR_OBJECT &aOutVector) const
 
const BBOX_3DGetBBox () const
 

Protected Attributes

BBOX_3D m_bbox
 
LIST_OBJECT m_objects
 

Detailed Description

Definition at line 74 of file container_3d.h.

Member Function Documentation

◆ Add()

◆ Clear()

void CONTAINER_3D_BASE::Clear ( )
inherited

◆ ConvertTo()

void CONTAINER_3D_BASE::ConvertTo ( CONST_VECTOR_OBJECT aOutVector) const
inherited

Definition at line 62 of file container_3d.cpp.

References CONTAINER_3D_BASE::m_objects.

Referenced by BVH_PBRT::BVH_PBRT().

◆ GetBBox()

const BBOX_3D & CONTAINER_3D_BASE::GetBBox ( ) const
inlineinherited

Definition at line 63 of file container_3d.h.

References CONTAINER_3D_BASE::m_bbox.

Referenced by RENDER_3D_RAYTRACE_BASE::Reload().

◆ GetList()

const LIST_OBJECT & CONTAINER_3D_BASE::GetList ( ) const
inlineinherited

Definition at line 59 of file container_3d.h.

References CONTAINER_3D_BASE::m_objects.

Referenced by BVH_PBRT::BVH_PBRT(), and RENDER_3D_RAYTRACE_BASE::Reload().

◆ Intersect()

bool CONTAINER_3D::Intersect ( const RAY aRay,
HITINFO aHitInfo 
) const
overridevirtual

◆ IntersectP()

bool CONTAINER_3D::IntersectP ( const RAY aRay,
float  aMaxDistance 
) const
overridevirtual

Implements CONTAINER_3D_BASE.

Definition at line 100 of file container_3d.cpp.

References OBJECT_3D::IntersectP(), and CONTAINER_3D_BASE::m_objects.

Member Data Documentation

◆ m_bbox

BBOX_3D CONTAINER_3D_BASE::m_bbox
protectedinherited

◆ m_objects


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