| 
    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 LIST_OBJECT & | GetList () const | 
| void | ConvertTo (CONST_VECTOR_OBJECT &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 | 
| LIST_OBJECT | m_objects | 
Definition at line 41 of file container_3d.h.
| CONTAINER_3D_BASE::CONTAINER_3D_BASE | ( | ) | 
Definition at line 32 of file container_3d.cpp.
      
  | 
  virtual | 
Definition at line 56 of file container_3d.cpp.
References Clear().
      
  | 
  inline | 
Definition at line 48 of file container_3d.h.
References OBJECT_3D::GetBBox(), m_bbox, and m_objects.
Referenced by RENDER_3D_RAYTRACE_BASE::addModels(), 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 | ( | CONST_VECTOR_OBJECT & | aOutVector | ) | const | 
Definition at line 62 of file container_3d.cpp.
References m_objects.
Referenced by BVH_PBRT::BVH_PBRT().
      
  | 
  inline | 
Definition at line 63 of file container_3d.h.
References m_bbox.
      
  | 
  inline | 
Definition at line 59 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 69 of file container_3d.h.
Referenced by Add(), Clear(), CONTAINER_3D_BASE(), GetBBox(), and CONTAINER_3D::Intersect().
      
  | 
  protected | 
Definition at line 70 of file container_3d.h.
Referenced by Add(), Clear(), CONTAINER_3D_BASE(), ConvertTo(), GetList(), CONTAINER_3D::Intersect(), and CONTAINER_3D::IntersectP().