|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CollisionData
Method Summary | |
---|---|
int |
addConstraintInfo(Vertex3d vtx,
Point3d constraintLoc,
double weight,
DeformableContactConstraint con)
Adds the point information from this object's vertex and weight to the
supplied constraint. |
Collidable |
getComponent()
Returns the component involved in the collision |
PolygonalMesh |
getMesh()
Gets the PolygonalMesh used for collisions |
void |
markMasters(Vertex3d vtx,
boolean marked)
Mark the master dynamic components of vertex vtx
as being "used" |
int |
numActiveUnmarkedMasters(Vertex3d vtx)
Count the number of "free" master components for vertex vtx . |
Method Detail |
---|
PolygonalMesh getMesh()
Collidable getComponent()
int addConstraintInfo(Vertex3d vtx, Point3d constraintLoc, double weight, DeformableContactConstraint con)
this
object's vertex and weight to the
supplied constraint.
vtx
- vertex belonging to this
objectconstraintLoc
- actual world location of constraintweight
- weight used in constraintcon
- the constraint to modify
void markMasters(Vertex3d vtx, boolean marked)
vtx
as being "used"
int numActiveUnmarkedMasters(Vertex3d vtx)
vtx
.
Used for determining whether or not a collision should be allowed.
vtx
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |