AGXOSG_EXPORT osg::Node * readNodeFile(const std::string &filename, const osgDB::ReaderWriter::Options *options, bool searchForIve=false)
Read a specified filename from disk and return it as a OpenSceneGraph node.
AGXOSG_EXPORT bool readFile(const std::string &filename, agxSDK::Simulation *simulation, osg::Group *root, agxSDK::Assembly *parent=nullptr, agx::Real detailRatio=0.35, bool createAxis=false, agx::UInt selection=agxSDK::Simulation::READ_DEFAULT, agxOSG::RigidBodyRenderCache *cache=nullptr)
Utility function for reading various files:
RigidBodyRenderCache is used to cache generated visuals and lookup mappings of RigidBodies cloned fro...