45 virtual void addNotification();
46 virtual void removeNotification();
56 virtual bool attachBody(
const agx::Vec3& worldPoint,
agx::RigidBody *body,
bool useLock =
false,
bool updateRotation =
false);
64 virtual bool updateAttachment(
const agx::Vec3& mousePositionWorld);
67 bool playbackMode()
const;
79 agx::Vec3 getCurrentWorldMousePoint()
const;
82 agx::Vec3 getWorldAttachmentPoint()
const;
85 bool isActive()
const;
94 agx::Vec3 getLocalAttachmentPoint()
const;
agx::ConstraintRef m_constraint
Pointer to a entity instance of type Physics.Material.
This joint will preserve the initial distance between a body and a point in world coordinate or betwe...
A class holding 4 dimensional vectors and providing basic arithmetic.
agxCollide::GeometryRef m_geometry
PickedParticle(agx::Physics::ParticlePtr p)
#define AGXPHYSICS_EXPORT
agx::Physics::ParticlePtr m_particle
The geometry representation used by the collision detection engine.
agx::Physics::ParticlePtr particle
Constraint that removes all 6 DOF between two bodies, or one body and the world.
Constraint that removes the three translation DOF between two bodies (or one and the world)...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Derive from this class to implement a listener for simulation GuiEvents.
virtual PickResult pick(float, float)
The rigid body class, combining a geometric model and a frame of reference.
agx::Physics::MaterialPtr material
agx::MaterialRef m_particleMaterial
agx::Vector< PickedParticle > m_particleSet
Pointer to a entity instance of type Physics.Particle.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
agx::ref_ptr< PickHandler > PickHandlerRef
agx::RigidBodyRef m_rigidBody