19 #ifndef AGXDATA_HDF5_TRACK_H
20 #define AGXDATA_HDF5_TRACK_H
22 #include <agx/config/AGX_USE_HDF5.h>
23 #include <agx/config.h>
63 virtual bool jumpToFrame(
agx::UInt frameIndex )
override;
68 virtual bool jumpToTime(
agx::Real time )
override;
75 virtual ~Hdf5FrameReader();
77 virtual agxData::Frame* readFrame(
agx::UInt frameIndex )
override;
80 bool isValidFrame(
agx::UInt frameIndex )
const;
99 agxData::Hdf5Journal::Session* m_session;
110 virtual void writeFrame(
const agxData::Frame* frame )
override;
117 virtual ~Hdf5FrameWriter();
135 agxData::Hdf5Journal::SessionRef m_session;
#define AGX_DECLARE_POINTER_TYPES(type)
Helper class for the FrameReaders that are backed by a file on disk.
virtual Frame * readFrame() override
Reads the next frame from disk using the virtual readFrame(UInt) method.
Base class for the FrameReaders that are backed by a file on disk.
Session(const agx::Name &name)
Node(const agx::Name &name, agx::Index id)
Buffer(const agx::Name &name, agx::Index id, BinaryData *data, const Format *format, size_t numElements, size_t byteOffset)
PartialBuffer(agxData::Frame::PartialBuffer *buffer)
EntityStorage(const agxData::Frame::EntityStorage *storage)
CustomBuffer(const agx::Name &name, agx::Index id, const Format *format, size_t numElements)
Value(const agx::Name &name, agx::Index id, BinaryData *data, const Format *format, size_t offset)
Representation of a path, a list of name components.
Contains classes for low level data storage for AGX.
bool AGXPHYSICS_EXPORT write(const std::string &filename, const agxStream::Serializable *data)
Write a Serializable object to a file.