| 
    OptiX
    3.9
    
   NVIDIA OptiX Acceleration Engine 
   | 
 
Selector wraps the OptiX C API RTselector opaque type and its associated function set.
  
 Public Member Functions | |
| void | destroy () | 
| void | validate () | 
| Context | getContext () const | 
| RTselector | get () | 
| void | setVisitProgram (Program program) | 
| Program | getVisitProgram () const | 
| void | setChildCount (unsigned int count) | 
| unsigned int | getChildCount () const | 
| template<typename T > | |
| void | setChild (unsigned int index, T child) | 
| template<typename T > | |
| T | getChild (unsigned int index) const | 
| RTobjecttype | getChildType (unsigned int index) const | 
| template<typename T > | |
| unsigned int | addChild (T child) | 
| template<typename T > | |
| unsigned int | removeChild (T child) | 
| void | removeChild (int index) | 
| void | removeChild (unsigned int index) | 
| template<typename T > | |
| unsigned int | getChildIndex (T child) const | 
| Variable | declareVariable (const std::string &name) | 
| Variable | queryVariable (const std::string &name) const | 
| void | removeVariable (Variable v) | 
| unsigned int | getVariableCount () const | 
| Variable | getVariable (unsigned int index) 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< SelectorObj > | 
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 and returns the index to the deleted element in case of success. Throws RT_ERROR_INVALID_VALUE if the parameter is invalid. Note: this function shifts down all the elements next to the removed one.
      
  | 
  inline | 
Remove a child in this group by its index. Throws RT_ERROR_INVALID_VALUE if the parameter is invalid. Note: this function shifts down all the elements next to the removed one.
      
  | 
  inline | 
Remove a child in this group by its index. Throws RT_ERROR_INVALID_VALUE if the parameter is invalid. Note: this function shifts down all the elements next to the removed one.
      
  | 
  inline | 
Set the number of children for this group. See rtSelectorSetChildCount.
      
  | 
  inline | 
Set the visitor program for this selector. See rtSelectorSetVisitProgram
 1.8.6