|
OWL
OptiX7 Wrapper Library
|
#include <UserGeomGroup.h>
Public Member Functions | |
| UserGeomGroup (Context *const context, size_t numChildren) | |
| virtual std::string | toString () const |
| void | buildOrRefit (bool FULL_REBUILD) |
| void | buildAccel () override |
| void | refitAccel () override |
| template<bool FULL_REBUILD> | |
| void | buildAccelOn (const DeviceContext::SP &device) |
Public Member Functions inherited from owl::GeomGroup | |
| GeomGroup (Context *const context, size_t numChildren) | |
| virtual | ~GeomGroup () |
| void | setChild (int childID, Geom::SP child) |
| int | getSBTOffset () const override |
Public Member Functions inherited from owl::Group | |
| Group (Context *const context, ObjectRegistry ®istry) | |
| DeviceData & | getDD (const DeviceContext::SP &device) const |
| RegisteredObject::DeviceData::SP | createOn (const DeviceContext::SP &device) override |
| OptixTraversableHandle | getTraversable (const DeviceContext::SP &device) const |
Public Member Functions inherited from owl::RegisteredObject | |
| RegisteredObject (Context *const context, ObjectRegistry ®istry) | |
| ~RegisteredObject () | |
Public Member Functions inherited from owl::ContextObject | |
| ContextObject (Context *const context) | |
Public Member Functions inherited from owl::Object | |
| Object () | |
| virtual DeviceData::SP | createOn (const std::shared_ptr< DeviceContext > &device) |
| void | createDeviceData (const std::vector< std::shared_ptr< DeviceContext >> &devices) |
| template<typename T > | |
| std::shared_ptr< T > | as () |
Additional Inherited Members | |
Public Types inherited from owl::GeomGroup | |
| typedef std::shared_ptr< GeomGroup > | SP |
Public Types inherited from owl::Group | |
| typedef std::shared_ptr< Group > | SP |
Public Types inherited from owl::ContextObject | |
| typedef std::shared_ptr< ContextObject > | SP |
Public Types inherited from owl::Object | |
| typedef std::shared_ptr< Object > | SP |
Public Attributes inherited from owl::GeomGroup | |
| std::vector< Geom::SP > | geometries |
| const int | sbtOffset |
Public Attributes inherited from owl::Group | |
| box3f | bounds [2] |
Public Attributes inherited from owl::RegisteredObject | |
| int | ID |
| ObjectRegistry & | registry |
Public Attributes inherited from owl::ContextObject | |
| Context *const | context |
Public Attributes inherited from owl::Object | |
| const size_t | uniqueID |
| std::vector< DeviceData::SP > | deviceData |
Static Public Attributes inherited from owl::Object | |
| static std::atomic< uint64_t > | nextAvailableID |
a geometry group / BLAS over user-defined/custom primitives. This Group may only be built over UserGeom's
| owl::UserGeomGroup::UserGeomGroup | ( | Context *const | context, |
| size_t | numChildren | ||
| ) |
|
overridevirtual |
re*build* this accel - actual work depens on subclass
Implements owl::Group.
| void owl::UserGeomGroup::buildAccelOn | ( | const DeviceContext::SP & | device | ) |
low-level accel structure builder for given device
the N build inputs that go into the builder
arrays of the vertex pointers - the buildinputs cointina pointers* to the pointers, so need a temp copy here
| void owl::UserGeomGroup::buildOrRefit | ( | bool | FULL_REBUILD | ) |
build() and refit() share most of their code; this functoin does all that code, with only minor specialization based on build vs refit
|
overridevirtual |
re*fit* this accel - actual work depens on subclass
Implements owl::Group.
|
inlinevirtual |
pretty-printer, for printf-debugging
Reimplemented from owl::GeomGroup.