AGXDynamics
2.35.0.3
ContactForceFilterParticipant.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2022. Algoryx Simulation AB.
3
4
All AGX source code, intellectual property, documentation, sample code,
5
tutorials, scene files and technical white papers, are copyrighted, proprietary
6
and confidential material of Algoryx Simulation AB. You may not download, read,
7
store, distribute, publish, copy or otherwise disseminate, use or expose this
8
material unless having a written signed agreement with Algoryx Simulation AB, or
9
having been advised so by Algoryx Simulation AB for a time limited evaluation,
10
or having purchased a valid commercial license from Algoryx Simulation AB.
11
12
Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13
from using this software, unless otherwise stated in written agreements with
14
Algoryx Simulation AB.
15
*/
16
17
#pragma once
18
19
#include <
agxCollide/Geometry.h
>
20
#include <
agx/RigidBody.h
>
21
22
namespace
agxCollide
23
{
24
class
Space
;
25
}
26
27
namespace
agx
28
{
29
namespace
detail
30
{
31
class
ContactForceFilterParticipant
32
{
33
public
:
34
ContactForceFilterParticipant
();
35
ContactForceFilterParticipant
(
agx::RigidBody
& body);
36
ContactForceFilterParticipant
(
agxCollide::Geometry
& geometry);
37
38
agx::RigidBody
*
getBody
();
39
agxCollide::Geometry
*
getGeometry
();
40
41
bool
isValid
()
const
;
42
43
static
agxCollide::GeometryContactVector
getContacts
(
44
ContactForceFilterParticipant
& lhs,
ContactForceFilterParticipant
& rhs,
agxCollide::Space
& space);
45
46
private
:
47
agx::RigidBodyObserver
m_body;
48
agxCollide::GeometryObserver
m_geometry;
49
};
50
}
51
}
agx::Vector
Templated vector class.
Definition:
Vector.h:52
agx::detail::ContactForceFilterParticipant::getGeometry
agxCollide::Geometry * getGeometry()
agx::RigidBody
The rigid body class, combining a geometric model and a frame of reference.
Definition:
RigidBody.h:54
Geometry.h
agx::detail::ContactForceFilterParticipant::getBody
agx::RigidBody * getBody()
agx::observer_ptr< RigidBody >
agx
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Definition:
AddedMassInteraction.h:22
agx::detail::ContactForceFilterParticipant
Definition:
ContactForceFilterParticipant.h:31
agxCollide::Geometry
The geometry representation used by the collision detection engine.
Definition:
Geometry.h:92
agx::detail::ContactForceFilterParticipant::isValid
bool isValid() const
agxCollide::Space
This class contains all Geometries and performs Broad Phase and Narrow Phase collision detection to c...
Definition:
Space.h:81
RigidBody.h
agx::detail::ContactForceFilterParticipant::ContactForceFilterParticipant
ContactForceFilterParticipant()
agxCollide
This namespace consists of a set of classes for handling geometric intersection tests including boole...
Definition:
ContactForceFilterParticipant.h:22
agx::detail::ContactForceFilterParticipant::getContacts
static agxCollide::GeometryContactVector getContacts(ContactForceFilterParticipant &lhs, ContactForceFilterParticipant &rhs, agxCollide::Space &space)
include
agx
ContactForceFilterParticipant.h
Generated on Fri Feb 10 2023 14:06:09 for AGXDynamics by
1.8.17