OptiX  3.9
NVIDIA OptiX Acceleration Engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Member Functions | Friends | List of all members
optix::TransformObj Class Reference

Detailed Description

Transform wraps the OptiX C API RTtransform opaque type and its associated function set.

Inheritance diagram for optix::TransformObj:
optix::DestroyableObj optix::APIObj

Public Member Functions

void destroy ()
 
void validate ()
 
Context getContext () const
 
RTtransform get ()
 
template<typename T >
void setChild (T child)
 
template<typename 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)
 

Member Function Documentation

template<typename T >
void optix::TransformObj::setChild ( child)
inline

Set the child node of this transform. See rtTransformSetChild.

void optix::TransformObj::setMatrix ( bool  transpose,
const float *  matrix,
const float *  inverse_matrix 
)
inline

Set the transform matrix for this node. See rtTransformSetMatrix.