OptiX
3.9
NVIDIA OptiX Acceleration Engine
|
Transform wraps the OptiX C API RTtransform opaque type and its associated function set.
Public Member Functions | |
void | destroy () |
void | validate () |
Context | getContext () const |
RTtransform | get () |
template<typename T > | |
void | setChild (T child) |
template<typename T > | |
T | getChild () const |
RTobjecttype | getChildType () const |
void | setMatrix (bool transpose, const float *matrix, const float *inverse_matrix) |
void | getMatrix (bool transpose, float *matrix, float *inverse_matrix) 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< TransformObj > |
Additional Inherited Members | |
Static Public Member Functions inherited from optix::APIObj | |
static Exception | makeException (RTresult code, RTcontext context) |
|
inline |
Set the child node of this transform. See rtTransformSetChild.
|
inline |
Set the transform matrix for this node. See rtTransformSetMatrix.