17 #ifndef AGX_FRICTIONMODEL_H 18 #define AGX_FRICTIONMODEL_H 27 #pragma warning( push ) 28 #pragma warning( disable : 4589 ) // Disable: 4589: Constructor of abstract class 'agx::FrictionModel' ignores initializer for virtual base class 'agxStream::Serializable' 36 class GeometryContact;
64 SCALE_BOUNDS = (1<<1),
65 ITERATIVE_PROJECTION = (1<<2)
87 int getCallbackMask()
const;
116 bool needsNlmcpCallbacks()
const;
262 return m_callbackMask;
267 return (m_callbackMask & SCALE_BOUNDS) != 0 && (m_solveType == DIRECT || m_solveType == DIRECT_AND_ITERATIVE);
271 #if defined(_MSC_VER) 272 #pragma warning( pop ) InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive...
Base class for all friction models with interface and some utility/necessary methods implemented...
agxCollide namespace consists of a set of classes for handling geometric intersection tests including...
Normal and friction equation calculated only in the DIRECT solver.
virtual ~IterativeProjectedConeFriction()
#define AGXPHYSICS_EXPORT
ScaleBoxFrictionModel(int callbackMask, SolveType preferredSolveType)
Base class providing referencing counted objects.
The geometry representation used by the collision detection engine.
Namespace agx contains the dynamics/math part of the AGX Dynamics API.
virtual ~ScaleBoxFrictionModel()
First Normal equation is calculated in the DIRECT solver, then in a second pass the normal and the fr...
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Iterative Projected Cone Friction (IPC friction) model.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
virtual ~BoxFrictionModel()
Class for writing serialized data in binary format to a stream.
Normal and friction equation calculated only in the ITERATIVE solver.
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
AGX_DECLARE_POINTER_TYPES(SpaceListener)