17 #ifndef AGXUNIT_AGXOSGUNITTESTHELPERFUNCTIONS_H 18 #define AGXUNIT_AGXOSGUNITTESTHELPERFUNCTIONS_H 37 class GeometryContact;
42 class ExampleApplication;
69 const char* groupName,
77 const char* groupName,
93 const char* groupName,
98 unsigned int minNumContacts = 1);
105 const char* groupName,
106 const char* testName,
110 unsigned int minNumContacts = 1);
118 const char* groupName,
119 const char* testName );
Class that encapsulates rendering and simulation using OpenSceneGraph.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
agx::VectorPOD< RigidBody * > RigidBodyPtrVector
void(* ScenePtr)(agxSDK::Simulation *simulation, osg::Group *root)
The agx namespace 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))
The rigid body class, combining a geometric model and a frame of reference.
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...