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

template<typename FLOAT , typename INTEGER >
bool SIM_API SIMdetectAndResolveSDFCollisions (SIM_Engine &engine, SIM_Object *obj, GU_Detail *gdp_a, GA_Range range_a, typename GA_PageHandleV< UT_Vector3T< FLOAT >>::RWType &position_points_a_resolved_end, typename GA_PageHandleV< UT_Vector3T< FLOAT >>::RWType &velocity_points_a_resolved_end, bool usepscale, typename GA_PageHandleScalar< FLOAT >::ROType &thickness_points_a, typename GA_PageHandleScalar< FLOAT >::ROType &bounce_points_a, typename GA_PageHandleScalar< FLOAT >::ROType &friction_points_a, typename GA_PageHandleScalar< FLOAT >::ROType &dynamicfriction_points_a, typename GA_PageHandleScalar< FLOAT >::ROType &bounceforward_points_a, typename GA_PageHandleV< UT_Vector3T< FLOAT >>::RWType &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)
 
template<typename FLOAT , typename INTEGER >
bool SIM_API SIMdetectSDFCollisions (SIM_Engine &engine, SIM_Object *obj, GU_Detail *gdp_a, GA_Range range_a, typename GA_PageHandleV< UT_Vector3T< FLOAT >>::RWType &position_points_a_resolved_end, bool usepscale, typename GA_PageHandleScalar< FLOAT >::ROType &thickness_points_a, typename GA_PageHandleV< UT_Vector3T< FLOAT >>::RWType &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_RWHandleT< INTEGER > &hitnum_a, GA_RWHandleT< UT_Vector3T< FLOAT >> &hitpos_a, GA_RWHandleT< UT_Vector3T< FLOAT >> &hitnml_a, GA_RWHandleT< FLOAT > &hittime_a, GA_RWHandleS &hitpath_a, GA_RWHandleT< INTEGER > &hitprim_a, GA_RWHandleT< UT_Vector3T< FLOAT >> &hituv_a, GA_RWHandleT< UT_Vector3T< FLOAT >> &hitvel_a)
 

Function Documentation

template<typename FLOAT , typename INTEGER >
bool SIM_API SIMdetectAndResolveSDFCollisions ( SIM_Engine engine,
SIM_Object obj,
GU_Detail gdp_a,
GA_Range  range_a,
typename GA_PageHandleV< UT_Vector3T< FLOAT >>::RWType &  position_points_a_resolved_end,
typename GA_PageHandleV< UT_Vector3T< FLOAT >>::RWType &  velocity_points_a_resolved_end,
bool  usepscale,
typename GA_PageHandleScalar< FLOAT >::ROType &  thickness_points_a,
typename GA_PageHandleScalar< FLOAT >::ROType &  bounce_points_a,
typename GA_PageHandleScalar< FLOAT >::ROType &  friction_points_a,
typename GA_PageHandleScalar< FLOAT >::ROType &  dynamicfriction_points_a,
typename GA_PageHandleScalar< FLOAT >::ROType &  bounceforward_points_a,
typename GA_PageHandleV< UT_Vector3T< FLOAT >>::RWType &  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 
)
template<typename FLOAT , typename INTEGER >
bool SIM_API SIMdetectSDFCollisions ( SIM_Engine engine,
SIM_Object obj,
GU_Detail gdp_a,
GA_Range  range_a,
typename GA_PageHandleV< UT_Vector3T< FLOAT >>::RWType &  position_points_a_resolved_end,
bool  usepscale,
typename GA_PageHandleScalar< FLOAT >::ROType &  thickness_points_a,
typename GA_PageHandleV< UT_Vector3T< FLOAT >>::RWType &  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_RWHandleT< INTEGER > &  hitnum_a,
GA_RWHandleT< UT_Vector3T< FLOAT >> &  hitpos_a,
GA_RWHandleT< UT_Vector3T< FLOAT >> &  hitnml_a,
GA_RWHandleT< FLOAT > &  hittime_a,
GA_RWHandleS hitpath_a,
GA_RWHandleT< INTEGER > &  hitprim_a,
GA_RWHandleT< UT_Vector3T< FLOAT >> &  hituv_a,
GA_RWHandleT< UT_Vector3T< FLOAT >> &  hitvel_a 
)