44 virtual void writeFrame(
const agxData::Frame *frame)
override;
46 virtual void forceFlush()
override;
53 void writeFrameImpl(
const agxData::Frame *frame);
61 void updateCallback();
64 void write(
const agxData::Frame::PartialBuffer *buffer,
const agxData::Frame *frame);
65 void write(
const agxData::Frame::EntityStorage *storage,
const agxData::Frame *frame);
67 void evaluateEventsPre(
const agxData::Frame *frame);
68 void evaluateEventsPost(
const agxData::Frame *frame);
69 void writeConstraintData(
const agxData::Frame *frame);
70 bool writeFrameArchive(
const agxData::Frame *frame);
72 void updateArrayBuffers();
74 void debugPrint(
const agxData::Frame *frame);
75 void debugPrint(
const agx::Component *component,
const agxData::Frame *frame);
76 void debugPrint(
const agxData::Frame::PartialBuffer *buffer,
const agxData::Frame *frame);
77 void debugPrint(
const agxData::Buffer *buffer,
const agxData::Frame *frame);
79 void debugPrint(
const agxData::Value *value,
const agxData::Frame *frame);
88 T *getTarget(
const Object *source);
96 struct ArchiveObjectEntry {
101 class IncrementalArchive :
public agx::Observer
104 IncrementalArchive();
105 virtual ~IncrementalArchive();
110 std::stringstream& getStream();
115 virtual void objectDeleted(
void *target);
119 std::unique_ptr<std::stringstream> m_stream;
139 bool m_needClockUpdate;
146 ObjectIdTable m_objectIdTable;
149 IncrementalArchive m_incrementalArchive;
void setBlocking(bool blocking)
AGXTERRAIN_EXPORT void clear()
Inheritance with partial specialization due to bug with ref_ptr containers.
Data storage for a collection of entity instances of a specified EntityModel.
agx::Task * getUpdateTask()
A component is an object containing other objects, enabling hierarchical structuring.
Abstract representation of a value.
This namespace consists of a set of classes for handling geometric intersection tests including boole...
#define AGXPHYSICS_EXPORT
A representation of a generic task.
The geometry representation used by the collision detection engine.
The FrameWriter writes frames to an external target.
Vector containing 'raw' data.
Templated callback with one argument.
Templated callback with three arguments.
Abstract representation of a data buffer.
bool AGXPHYSICS_EXPORT write(const std::string &filename, const agxStream::Serializable *data)
Write a Serializable object to a file.
AGXTERRAIN_EXPORT TimingStorage & getStorage()
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Inheritance with partial specialization due to bug with ref_ptr containers.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
AGX_DECLARE_POINTER_TYPES(SpaceListener)
An assembly is a collection of basic simulation objects, such as rigid bodies, constraints, geometries.
agx::Object is a refcounted object with a name.