AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
GranularContactForceReader.h
Go to the documentation of this file.
1/*
2Copyright 2007-2024. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#ifndef AGX_GRANLAR_CONTACT_FORCE_READER_H
18#define AGX_GRANLAR_CONTACT_FORCE_READER_H
19
20#include <agx/agx.h>
21#include <agx/Referenced.h>
23#include <agxSDK/Simulation.h>
24
25namespace agx
26{
74
76
77} // namespace agx
78
79#endif
#define AGXPHYSICS_EXPORT
The geometry representation used by the collision detection engine.
Definition Geometry.h:92
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Definition Simulation.h:126
Class for reading contact forces between granular bodies and rigid bodies and geometries.
agx::Vec3 getSumAbsoluteNormalContactForces(const agxCollide::Geometry *geo)
Get the sum of all normal forces on a single geometry, summing the absolute forces per contact point.
agx::Vec3 getContactForces(const agx::RigidBody *rb)
Get all contact forces on a single rigid body.
agx::Vec3 getSumAbsoluteFrictionContactForces(const agxCollide::Geometry *geo)
Get the sum of all tangential forces on a single geometry, summing the absolute forces per contact po...
agx::Vec3 getSumAbsoluteContactForces(const agxCollide::Geometry *geo)
Get the sum of all contact forces on a single geometry, summing the absolute forces per contact point...
agx::Vec3 getNormalContactForces(const agx::RigidBody *rb)
Get all normal forces on a single rigid body.
GranularContactForceReader(const agxSDK::Simulation *sim)
agx::Vec3 getFrictionContactForces(const agxCollide::Geometry *geo)
Get all tangential forces on a single geometry.
agx::Vec3 getFrictionContactForces(const agx::RigidBody *rb)
Get all tangential forces on a single rigid body.
agx::Vec3 getSumAbsoluteContactForces(const agx::RigidBody *rb)
Get the sum of all contact forces on a single rigid body, summing the absolute forces per contact poi...
void setSimulation(agxSDK::Simulation *sim)
Update reference to Simulation.
agx::Vec3 getSumAbsoluteNormalContactForces(const agx::RigidBody *rb)
Get the sum of all normal forces on a single rigid body, summing the absolute forces per contact poin...
agx::Vec3 getSumAbsoluteFrictionContactForces(const agx::RigidBody *rb)
Get the sum of all tangential forces on a single rigid body, summing the absolute forces per contact ...
agx::Vec3 getNormalContactForces(const agxCollide::Geometry *geo)
Get all normal forces on a single geometry.
agx::Vec3 getContactForces(const agxCollide::Geometry *geo)
Get all contact forces on a single geometry.
Base class providing referencing counted objects.
Definition Referenced.h:120
The rigid body class, combining a geometric model and a frame of reference.
Definition RigidBody.h:52
Smart pointer for observed objects, that automatically set pointers to them to null when they deleted...
Smart pointer for handling referenced counted objects.
Definition ref_ptr.h:30
#define CALLABLE
Definition macros.h:72
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
ref_ptr< GranularContactForceReader > GranularContactForceReaderRef