HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_SDFCollision.h File Reference
#include "SIM_API.h"
#include "SIM_SweptCollisionData.h"
#include <UT/UT_Vector3.h>
#include <UT/UT_ValArray.h>
#include <GA/GA_PageHandle.h>
#include <GA/GA_Handle.h>
#include <GA/GA_Range.h>
+ Include dependency graph for SIM_SDFCollision.h:

Go to the source code of this file.

Classes

struct  SIM_SDFCollideInfo
 

Functions

bool SIM_API SIMdetectAndResolveSDFCollisions (SIM_Engine &engine, SIM_Object *obj, GU_Detail *gdp_a, GA_Range range_a, GA_RWPageHandleV3 &position_points_a_resolved_end, GA_RWPageHandleV3 &velocity_points_a_resolved_end, bool usepscale, GA_ROPageHandleF &thickness_points_a, GA_ROPageHandleF &bounce_points_a, GA_ROPageHandleF &friction_points_a, GA_ROPageHandleF &dynamicfriction_points_a, GA_ROPageHandleF &bounceforward_points_a, GA_RWPageHandleV3 &position_points_a_start, const UT_ValArray< SIM_Object * > &affectors, const UT_Array< SIM_SDFCollideInfo > &affector_info, bool createimpacts, bool addfeedbacks, bool moveoutofsdf, const fpreal64 t_start, const fpreal64 t_end)
 
bool SIM_API SIMdetectSDFCollisions (SIM_Engine &engine, SIM_Object *obj, GU_Detail *gdp_a, GA_Range range_a, GA_RWPageHandleV3 &position_points_a_resolved_end, bool usepscale, GA_ROPageHandleF &thickness_points_a, GA_RWPageHandleV3 &position_points_a_start, const UT_ValArray< SIM_Object * > &affectors, const UT_Array< SIM_SDFCollideInfo > &affector_info, const fpreal64 t_start, const fpreal64 t_end, GA_RWHandleI &hitnum_a, GA_RWHandleV3 &hitpos_a, GA_RWHandleV3 &hitnml_a, GA_RWHandleF &hittime_a, GA_RWHandleS &hitpath_a, GA_RWHandleI &hitprim_a, GA_RWHandleV3 &hituv_a, GA_RWHandleV3 &hitvel_a)
 

Function Documentation

bool SIM_API SIMdetectAndResolveSDFCollisions ( SIM_Engine engine,
SIM_Object obj,
GU_Detail gdp_a,
GA_Range  range_a,
GA_RWPageHandleV3 position_points_a_resolved_end,
GA_RWPageHandleV3 velocity_points_a_resolved_end,
bool  usepscale,
GA_ROPageHandleF thickness_points_a,
GA_ROPageHandleF bounce_points_a,
GA_ROPageHandleF friction_points_a,
GA_ROPageHandleF dynamicfriction_points_a,
GA_ROPageHandleF bounceforward_points_a,
GA_RWPageHandleV3 position_points_a_start,
const UT_ValArray< SIM_Object * > &  affectors,
const UT_Array< SIM_SDFCollideInfo > &  affector_info,
bool  createimpacts,
bool  addfeedbacks,
bool  moveoutofsdf,
const fpreal64  t_start,
const fpreal64  t_end 
)
bool SIM_API SIMdetectSDFCollisions ( SIM_Engine engine,
SIM_Object obj,
GU_Detail gdp_a,
GA_Range  range_a,
GA_RWPageHandleV3 position_points_a_resolved_end,
bool  usepscale,
GA_ROPageHandleF thickness_points_a,
GA_RWPageHandleV3 position_points_a_start,
const UT_ValArray< SIM_Object * > &  affectors,
const UT_Array< SIM_SDFCollideInfo > &  affector_info,
const fpreal64  t_start,
const fpreal64  t_end,
GA_RWHandleI hitnum_a,
GA_RWHandleV3 hitpos_a,
GA_RWHandleV3 hitnml_a,
GA_RWHandleF hittime_a,
GA_RWHandleS hitpath_a,
GA_RWHandleI hitprim_a,
GA_RWHandleV3 hituv_a,
GA_RWHandleV3 hitvel_a 
)