![]() |
Prusa Slicer 2.6.0
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| typedef void(* | RTCBoundsFunc) (void *ptr, size_t item, RTCBounds &bounds_o) |
| typedef void(* | RTCBoundsFunc2) (void *userPtr, void *geomUserPtr, size_t item, RTCBounds *bounds_o) |
| typedef void(* | RTCIntersectFunc) (void *ptr, RTCRay &ray, size_t item) |
| typedef void(* | RTCIntersectFunc4) (const void *valid, void *ptr, RTCRay4 &ray, size_t item) |
| typedef void(* | RTCIntersectFunc8) (const void *valid, void *ptr, RTCRay8 &ray, size_t item) |
| typedef void(* | RTCIntersectFunc16) (const void *valid, void *ptr, RTCRay16 &ray, size_t item) |
| typedef void(* | RTCOccludedFunc) (void *ptr, RTCRay &ray, size_t item) |
| typedef void(* | RTCOccludedFunc4) (const void *valid, void *ptr, RTCRay4 &ray, size_t item) |
| typedef void(* | RTCOccludedFunc8) (const void *valid, void *ptr, RTCRay8 &ray, size_t item) |
| typedef void(* | RTCOccludedFunc16) (const void *valid, void *ptr, RTCRay16 &ray, size_t item) |
| RTCORE_API unsigned | rtcNewUserGeometry (RTCScene scene, size_t numGeometries) |
| RTCORE_API unsigned | rtcNewUserGeometry2 (RTCScene scene, size_t numGeometries, size_t numTimeSteps=1) |
| RTCORE_API void | rtcSetBoundsFunction (RTCScene scene, unsigned geomID, RTCBoundsFunc bounds) |
| RTCORE_API void | rtcSetBoundsFunction2 (RTCScene scene, unsigned geomID, RTCBoundsFunc2 bounds, void *userPtr) |
| RTCORE_API void | rtcSetIntersectFunction (RTCScene scene, unsigned geomID, RTCIntersectFunc intersect) |
| RTCORE_API void | rtcSetIntersectFunction4 (RTCScene scene, unsigned geomID, RTCIntersectFunc4 intersect4) |
| RTCORE_API void | rtcSetIntersectFunction8 (RTCScene scene, unsigned geomID, RTCIntersectFunc8 intersect8) |
| RTCORE_API void | rtcSetIntersectFunction16 (RTCScene scene, unsigned geomID, RTCIntersectFunc16 intersect16) |
| RTCORE_API void | rtcSetOccludedFunction (RTCScene scene, unsigned geomID, RTCOccludedFunc occluded) |
| RTCORE_API void | rtcSetOccludedFunction4 (RTCScene scene, unsigned geomID, RTCOccludedFunc4 occluded4) |
| RTCORE_API void | rtcSetOccludedFunction8 (RTCScene scene, unsigned geomID, RTCOccludedFunc8 occluded8) |
| RTCORE_API void | rtcSetOccludedFunction16 (RTCScene scene, unsigned geomID, RTCOccludedFunc16 occluded16) |
Type of bounding function.
| ptr | pointer to user data |
| item | item to calculate bounds for |
| bounds_o | returns calculated bounds |
Type of bounding function.
| userPtr | pointer to user data |
| geomUserPtr | pointer to geometry user data |
| item | item to calculate bounds for |
| bounds_o | returns calculated bounds |
Type of intersect function pointer for single rays.
| ptr | pointer to user data |
| ray | ray to intersect |
| item | item to intersect |
Type of intersect function pointer for ray packets of size 16.
| valid | pointer to valid mask |
| ptr | pointer to user data |
| ray | ray packet to intersect |
| item | item to intersect |
Type of intersect function pointer for ray packets of size 4.
| valid | pointer to valid mask |
| ptr | pointer to user data |
| ray | ray packet to intersect |
| item | item to intersect |
Type of intersect function pointer for ray packets of size 8.
| valid | pointer to valid mask |
| ptr | pointer to user data |
| ray | ray packet to intersect |
| item | item to intersect |
Type of occlusion function pointer for single rays.
| ptr | pointer to user data |
| ray | ray to test occlusion |
| item | item to test for occlusion |
Type of occlusion function pointer for ray packets of size 16.
| ptr | pointer to valid mask pointer to user data |
| ray | Ray packet to test occlusion. |
| item | item to test for occlusion |
Type of occlusion function pointer for ray packets of size 4.
| ptr | pointer to valid mask pointer to user data |
| ray | Ray packet to test occlusion. |
| item | item to test for occlusion |
Type of occlusion function pointer for ray packets of size 8.
| ptr | pointer to valid mask pointer to user data |
| ray | Ray packet to test occlusion. |
| item | item to test for occlusion |
| RTCORE_API unsigned rtcNewUserGeometry | ( | RTCScene | scene, |
| size_t | numGeometries | ||
| ) |
Creates a new user geometry object. This feature makes it possible to add arbitrary types of geometry to the scene by providing appropiate bounding, intersect and occluded functions. A user geometry object is a set of user geometries. As the rtcIntersect and rtcOccluded functions support different ray packet sizes, the user also has to provide different versions of intersect and occluded function pointers for these packet sizes. However, the ray packet size of the called function pointer always matches the packet size of the originally invoked rtcIntersect and rtcOccluded functions. A user data pointer, that points to a user specified representation of the geometry, is passed to each intersect and occluded function invokation, as well as the index of the geometry of the set to intersect.
| scene | the scene the user geometry set is created in |
| numGeometries | the number of geometries contained in the set |
| RTCORE_API unsigned rtcNewUserGeometry2 | ( | RTCScene | scene, |
| size_t | numGeometries, | ||
| size_t | numTimeSteps = 1 |
||
| ) |
| scene | the scene the user geometry set is created in |
| numGeometries | the number of geometries contained in the set |
| numTimeSteps | number of motion blur time steps |
| RTCORE_API void rtcSetBoundsFunction | ( | RTCScene | scene, |
| unsigned | geomID, | ||
| RTCBoundsFunc | bounds | ||
| ) |
Sets the bounding function to calculate bounding boxes of the user geometry items when building spatial index structures. The calculated bounding box have to be conservative and should be tight.
| RTCORE_API void rtcSetBoundsFunction2 | ( | RTCScene | scene, |
| unsigned | geomID, | ||
| RTCBoundsFunc2 | bounds, | ||
| void * | userPtr | ||
| ) |
Sets the bounding function to calculate bounding boxes of the user geometry items when building spatial index structures. The calculated bounding box have to be conservative and should be tight.
| RTCORE_API void rtcSetIntersectFunction | ( | RTCScene | scene, |
| unsigned | geomID, | ||
| RTCIntersectFunc | intersect | ||
| ) |
Set intersect function for single rays. The rtcIntersect function will call the passed function for intersecting the user geometry.
| RTCORE_API void rtcSetIntersectFunction16 | ( | RTCScene | scene, |
| unsigned | geomID, | ||
| RTCIntersectFunc16 | intersect16 | ||
| ) |
Set intersect function for ray packets of size 16. The rtcIntersect16 function will call the passed function for intersecting the user geometry.
| RTCORE_API void rtcSetIntersectFunction4 | ( | RTCScene | scene, |
| unsigned | geomID, | ||
| RTCIntersectFunc4 | intersect4 | ||
| ) |
Set intersect function for ray packets of size 4. The rtcIntersect4 function will call the passed function for intersecting the user geometry.
| RTCORE_API void rtcSetIntersectFunction8 | ( | RTCScene | scene, |
| unsigned | geomID, | ||
| RTCIntersectFunc8 | intersect8 | ||
| ) |
Set intersect function for ray packets of size 8. The rtcIntersect8 function will call the passed function for intersecting the user geometry.
| RTCORE_API void rtcSetOccludedFunction | ( | RTCScene | scene, |
| unsigned | geomID, | ||
| RTCOccludedFunc | occluded | ||
| ) |
Set occlusion function for single rays. The rtcOccluded function will call the passed function for intersecting the user geometry.
| RTCORE_API void rtcSetOccludedFunction16 | ( | RTCScene | scene, |
| unsigned | geomID, | ||
| RTCOccludedFunc16 | occluded16 | ||
| ) |
Set occlusion function for ray packets of size 16. The rtcOccluded16 function will call the passed function for intersecting the user geometry.
| RTCORE_API void rtcSetOccludedFunction4 | ( | RTCScene | scene, |
| unsigned | geomID, | ||
| RTCOccludedFunc4 | occluded4 | ||
| ) |
Set occlusion function for ray packets of size 4. The rtcOccluded4 function will call the passed function for intersecting the user geometry.
| RTCORE_API void rtcSetOccludedFunction8 | ( | RTCScene | scene, |
| unsigned | geomID, | ||
| RTCOccludedFunc8 | occluded8 | ||
| ) |
Set occlusion function for ray packets of size 8. The rtcOccluded8 function will call the passed function for intersecting the user geometry.