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

Go to the source code of this file.

Classes

class  SIM_SweptCollisionImpactAccumulator
 

Functions

bool SIM_API SIMdetectAndResolveCollisions (SIM_SweptCollisionImpactAccumulator *const impact_acculumator, GA_Range range_a, GA_RWPageHandleV3 &position_points_a_resolved_end, GA_RWPageHandleV3 &velocity_points_a_resolved_end, GA_ROPageHandleF &thickness_points_a, GA_ROPageHandleF &mass_points_a, GA_ROPageHandleF &bounce_points_a, GA_ROPageHandleF &friction_points_a, GA_ROPageHandleF &bounceforward_points_a, GA_RWPageHandleV3 &position_points_a_start, bool pscaleisradius, const SIM_TriangleConnectivity &triangles_b, const std::vector< fpreal32 > &thickness_points_b, const std::vector< fpreal32 > &bounce_points_b, const std::vector< fpreal32 > &friction_points_b, const std::vector< fpreal32 > &bounceforward_points_b, const SIM_PositionPoints &position_points_b_start, const SIM_PositionPoints &position_points_b_end, const SIM_VelocityPoints &velocity_points_b_end, const fpreal64 t_start, const fpreal64 t_end)
 
bool SIM_API SIMdetectCollisions (GA_Range range_a, GA_RWPageHandleV3 &position_points_a_resolved_end, GA_ROPageHandleF &thickness_points_a, GA_RWPageHandleV3 &position_points_a_start, bool pscaleisradius, const SIM_TriangleConnectivity &triangles_b, const std::vector< fpreal32 > &thickness_points_b, const SIM_PositionPoints &position_points_b_start, const SIM_PositionPoints &position_points_b_end, 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 SIMdetectAndResolveCollisions ( SIM_SweptCollisionImpactAccumulator *const  impact_acculumator,
GA_Range  range_a,
GA_RWPageHandleV3 position_points_a_resolved_end,
GA_RWPageHandleV3 velocity_points_a_resolved_end,
GA_ROPageHandleF thickness_points_a,
GA_ROPageHandleF mass_points_a,
GA_ROPageHandleF bounce_points_a,
GA_ROPageHandleF friction_points_a,
GA_ROPageHandleF bounceforward_points_a,
GA_RWPageHandleV3 position_points_a_start,
bool  pscaleisradius,
const SIM_TriangleConnectivity triangles_b,
const std::vector< fpreal32 > &  thickness_points_b,
const std::vector< fpreal32 > &  bounce_points_b,
const std::vector< fpreal32 > &  friction_points_b,
const std::vector< fpreal32 > &  bounceforward_points_b,
const SIM_PositionPoints position_points_b_start,
const SIM_PositionPoints position_points_b_end,
const SIM_VelocityPoints velocity_points_b_end,
const fpreal64  t_start,
const fpreal64  t_end 
)
bool SIM_API SIMdetectCollisions ( GA_Range  range_a,
GA_RWPageHandleV3 position_points_a_resolved_end,
GA_ROPageHandleF thickness_points_a,
GA_RWPageHandleV3 position_points_a_start,
bool  pscaleisradius,
const SIM_TriangleConnectivity triangles_b,
const std::vector< fpreal32 > &  thickness_points_b,
const SIM_PositionPoints position_points_b_start,
const SIM_PositionPoints position_points_b_end,
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 
)