NVIDIA OptiX 6.5 API nvidia_logo_transpbg.gif Up
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
optix::GeometryObj Class Reference
Inheritance diagram for optix::GeometryObj:
optix::ScopedObj optix::DestroyableObj optix::APIObj

Public Member Functions

void destroy ()
 
void validate ()
 
Context getContext () const
 
RTgeometry get ()
 
void markDirty ()
 
bool isDirty () const
 
void setPrimitiveCount (unsigned int num_primitives)
 
unsigned int getPrimitiveCount () const
 
void setPrimitiveIndexOffset (unsigned int index_offset)
 
unsigned int getPrimitiveIndexOffset () const
 
void setMotionRange (float timeBegin, float timeEnd)
 
void getMotionRange (float &timeBegin, float &timeEnd)
 
void setMotionBorderMode (RTmotionbordermode beginMode, RTmotionbordermode endMode)
 
void getMotionBorderMode (RTmotionbordermode &beginMode, RTmotionbordermode &endMode)
 
void setMotionSteps (unsigned int n)
 
unsigned int getMotionSteps ()
 
void setBoundingBoxProgram (Program program)
 
Program getBoundingBoxProgram () const
 
void setIntersectionProgram (Program program)
 
Program getIntersectionProgram () 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
 
void setFlags (RTgeometryflags flags)
 
RTgeometryflags setFlags () const
 

Friends

class Handle< GeometryObj >
 

Additional Inherited Members

- Static Public Member Functions inherited from optix::APIObj
static Exception makeException (RTresult code, RTcontext context)
 

Detailed Description

Geometry wraps the OptiX C API RTgeometry opaque type and its associated function set.