KiCad PCB EDA Suite
|
#include <container_3d.h>
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_OBJECT & | GetList () const |
void | ConvertTo (CONST_VECTOR_OBJECT &aOutVector) const |
const BBOX_3D & | GetBBox () const |
Protected Attributes | |
BBOX_3D | m_bbox |
LIST_OBJECT | m_objects |
Definition at line 74 of file container_3d.h.
|
inlineinherited |
Definition at line 48 of file container_3d.h.
References OBJECT_3D::GetBBox(), CONTAINER_3D_BASE::m_bbox, CONTAINER_3D_BASE::m_objects, and BBOX_3D::Union().
Referenced by RENDER_3D_RAYTRACE_BASE::addModels(), RENDER_3D_RAYTRACE_BASE::createItemsFromContainer(), RENDER_3D_RAYTRACE_BASE::createObject(), RENDER_3D_RAYTRACE_BASE::insertHole(), and RENDER_3D_RAYTRACE_BASE::Reload().
|
inherited |
Definition at line 39 of file container_3d.cpp.
References CONTAINER_3D_BASE::m_bbox, CONTAINER_3D_BASE::m_objects, and BBOX_3D::Reset().
Referenced by RENDER_3D_RAYTRACE_BASE::Reload(), and CONTAINER_3D_BASE::~CONTAINER_3D_BASE().
|
inherited |
Definition at line 62 of file container_3d.cpp.
References CONTAINER_3D_BASE::m_objects.
Referenced by BVH_PBRT::BVH_PBRT().
|
inlineinherited |
Definition at line 63 of file container_3d.h.
References CONTAINER_3D_BASE::m_bbox.
Referenced by RENDER_3D_RAYTRACE_BASE::Reload().
|
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().
Implements CONTAINER_3D_BASE.
Definition at line 80 of file container_3d.cpp.
References BBOX_3D::Intersect(), OBJECT_3D::Intersect(), CONTAINER_3D_BASE::m_bbox, and CONTAINER_3D_BASE::m_objects.
|
overridevirtual |
Implements CONTAINER_3D_BASE.
Definition at line 100 of file container_3d.cpp.
References OBJECT_3D::IntersectP(), and CONTAINER_3D_BASE::m_objects.
|
protectedinherited |
Definition at line 69 of file container_3d.h.
Referenced by CONTAINER_3D_BASE::Add(), CONTAINER_3D_BASE::Clear(), CONTAINER_3D_BASE::CONTAINER_3D_BASE(), CONTAINER_3D_BASE::GetBBox(), and Intersect().
|
protectedinherited |
Definition at line 70 of file container_3d.h.
Referenced by CONTAINER_3D_BASE::Add(), CONTAINER_3D_BASE::Clear(), CONTAINER_3D_BASE::CONTAINER_3D_BASE(), CONTAINER_3D_BASE::ConvertTo(), CONTAINER_3D_BASE::GetList(), Intersect(), and IntersectP().