17 #ifndef AGX_GRAVITYFIELD_H
18 #define AGX_GRAVITYFIELD_H
52 virtual Task* createRigidBodyTask() = 0;
55 virtual Task* createParticleSystemTask() = 0;
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive...
A component is an object containing other objects, enabling hierarchical structuring.
#define AGXPHYSICS_EXPORT
#define AGX_DECLARE_POINTER_TYPES(type)
A representation of a generic task.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Class for writing serialized data in binary format to a stream.
The class GravityField is responsible for calculating and applying a gravity force on a set of bodies...
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...