OptiX
3.9
NVIDIA OptiX Acceleration Engine
|
GeometryGroup wraps the OptiX C API RTgeometrygroup opaque type and its associated function set.
Public Member Functions | |
void | destroy () |
void | validate () |
Context | getContext () const |
RTgeometrygroup | get () |
void | setAcceleration (Acceleration acceleration) |
Acceleration | getAcceleration () const |
void | setChildCount (unsigned int count) |
unsigned int | getChildCount () const |
void | setChild (unsigned int index, GeometryInstance geometryinstance) |
GeometryInstance | getChild (unsigned int index) const |
unsigned int | addChild (GeometryInstance child) |
unsigned int | removeChild (GeometryInstance child) |
void | removeChild (int index) |
void | removeChild (unsigned int index) |
unsigned int | getChildIndex (GeometryInstance child) const |
Public Member Functions inherited from optix::APIObj | |
void | addReference () |
int | removeReference () |
virtual void | checkError (RTresult code) const |
virtual void | checkError (RTresult code, Context context) const |
void | checkErrorNoGetContext (RTresult code) const |
Friends | |
class | Handle< GeometryGroupObj > |
Additional Inherited Members | |
Static Public Member Functions inherited from optix::APIObj | |
static Exception | makeException (RTresult code, RTcontext context) |
|
inline |
Remove a child in this group. Note: this function is not order-preserving. Returns the position of the removed element if succeeded. Throws RT_ERROR_INVALID_VALUE if the parameter is invalid.
|
inline |
Remove a child in this group. Note: this function is not order-preserving. Throws RT_ERROR_INVALID_VALUE if the parameter is invalid.
|
inline |
Remove a child in this group. Note: this function is not order-preserving. Throws RT_ERROR_INVALID_VALUE if the parameter is invalid.
|
inline |
Set the Acceleration structure for this group. See rtGeometryGroupSetAcceleration.
|
inline |
Set the number of children for this group. See rtGeometryGroupSetChildCount.