17 #ifndef AGXIO_READERWRITER_H
18 #define AGXIO_READERWRITER_H
80 double fovy = 0,
double aspectRatio = 0 );
#define AGXPHYSICS_EXPORT
An assembly is a collection of basic simulation objects, such as rigid bodies, constraints,...
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
The agxIO namespace contains classes for reading, writing and finding files.
void AGXCORE_EXPORT readFile(agx::String &result, const agx::String &filePath)
AGXPHYSICS_EXPORT bool createCompressedArchive(const agx::String &archiveName, const agx::StringVector &files)
Function which will create a zipped file of name archiveName containing the files listed in files.
FileType
Specify the type of file.
AGXPHYSICS_EXPORT bool decompressArchive(const agx::String &archiveFile, const agx::String &directory)
Function which will de-compress an archive to a target directory.
AGXPHYSICS_EXPORT bool writeFile(FileType type, std::ostream &outStream, agxSDK::Simulation *simulation, agx::Vec3 from=agx::Vec3(), agx::Vec3 at=agx::Vec3(), agx::Vec3 up=agx::Vec3(), double fovy=0, double aspectRatio=0)
Utility function for write a simulation to a stream.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...