17 #ifndef AGXUNIT_AGXOSGUNITTESTHELPERFUNCTIONS_H 18 #define AGXUNIT_AGXOSGUNITTESTHELPERFUNCTIONS_H 37 class GeometryContact;
42 class ExampleApplication;
71 const char* groupName,
79 const char* groupName,
95 const char* groupName,
100 unsigned int minNumContacts = 1);
107 const char* groupName,
108 const char* testName,
112 unsigned int minNumContacts = 1);
120 const char* groupName,
121 const char* testName );
Class that encapsulates rendering and simulation using OpenSceneGraph.
agxCollide namespace consists of a set of classes for handling geometric intersection tests including...
void(* ScenePtr)(agxSDK::Simulation *simulation, osg::Group *root)
Namespace agx contains the dynamics/math part of the AGX Dynamics API.
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
AGXOSG_EXPORT osg::Group * testContainsContact(agxSDK::Simulation *simulation, agxOSG::ExampleApplication *application, ScenePtr scene, const char *groupName, const char *testName, agx::Vec3 normal, agx::Real depth, NormalType normalType=NORMAL, unsigned int minNumContacts=1)
AGXOSG_EXPORT osg::Group * testResting(agxSDK::Simulation *simulation, agxOSG::ExampleApplication *application, ManyBodiesRestingScenePtr restingScene, const char *groupName, const char *testName, agx::Real preTestingTime=agx::Real(1))
Contains classes/macros for handling unit tests within the AGX framework.
typedef void(GLAD_API_PTR *GLDEBUGPROC)(GLenum source
The rigid body class, combining a geometric model and a frame of reference.
agx::VectorPOD< RigidBodyPtr > RigidBodyPtrVector
AGXOSG_EXPORT osg::Group * testContainsNoContact(agxSDK::Simulation *simulation, agxOSG::ExampleApplication *application, ScenePtr scene, const char *groupName, const char *testName)
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
agx::RigidBody *(* OneBodyRestingScenePtr)(agxSDK::Simulation *simulation, osg::Group *root)
AGXCORE_EXPORT Component * root()
agx::RigidBodyPtrVector(* ManyBodiesRestingScenePtr)(agxSDK::Simulation *simulation, osg::Group *root)
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...