AGX Dynamics  2.35.0.1
agxIO/ReaderWriter.h File Reference
#include <agx/agxPhysics_export.h>
#include <string>
#include <agx/String.h>
#include <agx/Vec3.h>
#include <agxSDK/Simulation.h>

Go to the source code of this file.

Namespaces

 agxIO
 The agxIO namespace contains classes for reading, writing and finding files.
 
 agxSDK
 The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simulation system including Material, event listeners etc.
 

Enumerations

enum  agxIO::FileType { agxIO::FILETYPE_AGX , agxIO::FILETYPE_AAGX , agxIO::FILETYPE_POV }
 Specify the type of file. More...
 

Functions

AGXPHYSICS_EXPORT bool agxIO::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. More...
 
AGXPHYSICS_EXPORT bool agxIO::decompressArchive (const agx::String &archiveFile, const agx::String &directory)
 Function which will de-compress an archive to a target directory. More...
 
AGXPHYSICS_EXPORT bool agxIO::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: More...
 
AGXPHYSICS_EXPORT bool agxIO::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: More...
 
AGXPHYSICS_EXPORT bool agxIO::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. More...