 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
127 bool remove(
agx::RigidBody* body,
bool removeAssociatedGeometries =
false);
330 template <
typename T >
331 T* getConstraint(
const agx::Name& name,
bool recursive =
true);
342 template <
typename T >
343 const T* getConstraint(
const agx::Name& name,
bool recursive =
true)
const;
527 void setLocalPosition(
const agx::Vec3& p );
564 void setLocalRotation(
const agx::Quat& q );
640 virtual void setVelocity(
const agx::Vec3& velocity);
646 virtual void setAngularVelocity(
const agx::Vec3& velocity);
697 void removeFromSimulation(
Simulation* simulation);
727 return m_frame.
get();
732 return m_frame.
get();
748 bool succeed()
const;
773 virtual void visit(
const Assembly*)
const;
793 template<
typename T >
796 return dynamic_cast< T*
>(this->
getConstraint(name, recursive));
799 template<
typename T >
802 return dynamic_cast< const T*
>(this->
getConstraint(name, recursive));
virtual void visit(const EventListener *) const
Specialized types of matrices for holding orthogonal transformation matrices.
Specialization for constraints that have only one degree of freedom such as Hinge and Prismatic.
The rigid body class, combining a geometric model and a frame of reference.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Specialization for constraints that have only one degree of freedom such as Hinge and Prismatic.
AGXCORE_EXPORT Type * getType(const agx::String &name)
virtual void removeNotification(Assembly *)
Called when this assembly is removed from another assembly.
An EventListener can be associated to a Simulation and triggered upon various events.
virtual void visit(agxCollide::Geometry *)
virtual void visit(agx::ObserverFrame *)
virtual void visit(const agx::ContactMaterial *) const
const agx::Constraint * getConstraint(const agx::Uuid &uuid, bool recursive=true) const
Find (linear search) and return a pointer to a Constraint with the given uuid.
virtual void visit(agx::ParticleSystem *)
virtual void visit(const agx::ObserverFrame *) const
virtual void visit(EventListener *)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
agx::Constraint1DOF * getConstraint1DOF(const agx::Name &name, bool recursive=true)
#define AGXPHYSICS_EXPORT
virtual void visit(agx::RigidBody *)
Class for visiting all elements in a tree of Assemblies.
virtual void visit(const agxCollide::Geometry *) const
virtual void visit(agx::Constraint *)
An assembly is a collection of basic simulation objects, such as rigid bodies, constraints,...
virtual agx::Frame * getFrame()
Return a reference to the frame containing transformation and velocity information for this assembly.
With this class you can attach an ObserverFrame object relative to a RigidBody.
Type
Specifies the type an assembly is.
A basic particle system that contains all the storages and buffers required for basic operation and a...
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
virtual void addNotification(Assembly *)
Called when this assembly is added to another assembly.
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...
virtual void visit(const agx::MergedBody *) const
virtual void visit(agx::ContactMaterial *)
virtual void visit(const agx::ParticleSystem *) const
agx::SetVector< agx::ref_ptr< agxSDK::Assembly > > AssemblyRefSetVector
The geometry representation used by the collision detection engine.
@ ASSEMBLY
This is a full fledged Assembly which uses Frame for the hierarchy.
virtual void visit(const agx::Interaction *) const
Representation of a name string.
virtual void visit(const agx::Emitter *) const
This class provides conversion services between Euler angles in any of the 24 conventions and corresp...
virtual void visit(const agx::Constraint *) const
The base class for interactions.
Base class providing referencing counted objects.
#define AGX_DECLARE_POINTER_TYPES(type)
static Assembly * asAssembly(agxStream::Serializable *obj)
virtual void visit(agx::MergedBody *)
The base class for a constraint.
virtual void visit(agx::Emitter *)
virtual void visit(const agx::RigidBody *) const
void setSucceed(bool flag)
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
#define AGX_ADD_FRAME_TRANSFORM_INTERFACE()
A UUID, or Universally unique identifier, is intended to uniquely identify information in a distribut...
The object defining a frame of reference and providing transformations operations.
Structure holding several "normal" rigid bodies.
Spawns new bodys inside a given volume.
agx::Constraint2DOF * getConstraint2DOF(const agx::Name &name, bool recursive=true)
virtual void removeNotification(agxSDK::Simulation *)
Called when this assembly is removed from a simulation.
virtual void visit(agx::Interaction *)