17 #ifndef AGXIO_READERWRITER_H 18 #define AGXIO_READERWRITER_H 77 double fovy = 0,
double aspectRatio = 0 );
FileType
Specify the type of file.
The agxIO namespace contains classes for reading, writing and finding files.
#define AGXPHYSICS_EXPORT
AGXPHYSICS_EXPORT bool writeFile(const agx::String &filename, 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 into various files:
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...
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
AGXPHYSICS_EXPORT bool readFile(const agx::String &filename, agxSDK::Simulation *simulation, agxSDK::Assembly *parent=nullptr, agx::UInt selection=agxSDK::Simulation::READ_DEFAULT)
Utility function for reading various files:
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
An assembly is a collection of basic simulation objects, such as rigid bodies, constraints, geometries.
AGXPHYSICS_EXPORT bool decompressArchive(const agx::String &archiveFile, const agx::String &directory)
Function which will de-compress an archive to a target directory.