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.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
The rigid body class, combining a geometric model and a frame of reference.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
void(* ScenePtr)(agxSDK::Simulation *simulation, osg::Group *root)
AGXOSG_EXPORT osg::Group * testResting(agxSDK::Simulation *simulation, agxOSG::ExampleApplication *application, OneBodyRestingScenePtr restingScene, const char *groupName, const char *testName, agx::Real preTestingTime=agx::Real(1))
agx::RigidBodyPtrVector(* ManyBodiesRestingScenePtr)(agxSDK::Simulation *simulation, osg::Group *root)
agx::RigidBody *(* OneBodyRestingScenePtr)(agxSDK::Simulation *simulation, osg::Group *root)
AGXOSG_EXPORT osg::Group * testContainsNoContact(agxSDK::Simulation *simulation, agxOSG::ExampleApplication *application, ScenePtr scene, const char *groupName, const char *testName)
@ IGNORE_NORMAL_AND_DEPTH
AGXOSG_EXPORT osg::Group * testContainsContact(agxSDK::Simulation *simulation, agxOSG::ExampleApplication *application, ScenePtr scene, const char *groupName, const char *testName, agx::Vec3f normal, agx::Real depth, NormalType normalType=NORMAL, unsigned int minNumContacts=1)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
agx::VectorPOD< RigidBody * > RigidBodyPtrVector
AGXCORE_EXPORT Component * root()