Accel_Naive Class Referencefinal
Naive acceleration structure. More...
Inheritance diagram for Accel_Naive:
Public Member Functions | |
LM_IMPL_CLASS (Accel_Naive, Accel) | |
LM_IMPL_F (Initialize) | |
LM_IMPL_F (Build) | |
LM_IMPL_F (Intersect) | |
Public Member Functions inherited from Accel | |
LM_INTERFACE_CLASS (Accel, Configurable, 2) | |
LM_DISABLE_COPY_AND_MOVE (Accel) | |
LM_INTERFACE_F (0, Build, bool(const Scene *scene)) | |
Build the acceleration structure. More... | |
LM_INTERFACE_F (1, Intersect, bool(const Scene *scene, const Ray &ray, Intersection &isect, Float minT, Float maxT)) | |
Intersection query with triangles. More... | |
Public Member Functions inherited from Configurable | |
LM_INTERFACE_CLASS (Configurable, Component, 1) | |
LM_DISABLE_COPY_AND_MOVE (Configurable) | |
LM_INTERFACE_F (0, Initialize, bool(const PropertyNode *prop)) | |
Initialize the configurable component. More... | |
Public Member Functions inherited from SIMDAlignedType | |
void * | operator new (std::size_t size) throw (std::bad_alloc) |
void | operator delete (void *p) |
Detailed Description
Naive acceleration structure.
Almost-do-nothing acceleration structure. We simply utilizes a list of triangles from the primitives as a structure. We utilize this class only for testing, not recommend in the practical use.