|
KiCad PCB EDA Suite
|
#include <container_3d.h>
Public Member Functions | |
| CONTAINER_3D_BASE () | |
| virtual | ~CONTAINER_3D_BASE () |
| void | Add (OBJECT_3D *aObject) |
| void | Clear () |
| const std::list< OBJECT_3D * > & | GetList () const |
| void | ConvertTo (std::vector< const OBJECT_3D * > &aOutVector) const |
| const BBOX_3D & | GetBBox () const |
| virtual bool | Intersect (const RAY &aRay, HITINFO &aHitInfo) const =0 |
| virtual bool | IntersectP (const RAY &aRay, float aMaxDistance) const =0 |
Protected Attributes | |
| BBOX_3D | m_bbox |
| std::list< OBJECT_3D * > | m_objects |
Definition at line 32 of file container_3d.h.
| CONTAINER_3D_BASE::CONTAINER_3D_BASE | ( | ) |
Definition at line 32 of file container_3d.cpp.
|
virtual |
Definition at line 53 of file container_3d.cpp.
References Clear().
|
inline |
Definition at line 39 of file container_3d.h.
References OBJECT_3D::GetBBox(), m_bbox, and m_objects.
Referenced by RENDER_3D_RAYTRACE_BASE::addExtrudedBodyToRaytracer(), RENDER_3D_RAYTRACE_BASE::addModels(), RENDER_3D_RAYTRACE_BASE::addPlaceholderToRaytracer(), and RENDER_3D_RAYTRACE_BASE::createObject().
| void CONTAINER_3D_BASE::Clear | ( | ) |
Definition at line 39 of file container_3d.cpp.
References m_bbox, and m_objects.
Referenced by ~CONTAINER_3D_BASE().
| void CONTAINER_3D_BASE::ConvertTo | ( | std::vector< const OBJECT_3D * > & | aOutVector | ) | const |
Definition at line 59 of file container_3d.cpp.
References m_objects.
Referenced by BVH_PBRT::BVH_PBRT().
|
inline |
Definition at line 54 of file container_3d.h.
References m_bbox.
|
inline |
Definition at line 50 of file container_3d.h.
References m_objects.
Referenced by BVH_PBRT::BVH_PBRT().
|
pure virtual |
Implemented in CONTAINER_3D.
|
pure virtual |
Implemented in CONTAINER_3D.
|
protected |
Definition at line 60 of file container_3d.h.
Referenced by Add(), Clear(), CONTAINER_3D_BASE(), GetBBox(), and CONTAINER_3D::Intersect().
|
protected |
Definition at line 61 of file container_3d.h.
Referenced by Add(), Clear(), CONTAINER_3D_BASE(), ConvertTo(), GetList(), CONTAINER_3D::Intersect(), and CONTAINER_3D::IntersectP().