17 #ifndef AGXOSG_READERWRITER_H
18 #define AGXOSG_READERWRITER_H
24 #include <osgDB/ReadFile>
45 class ExampleApplication;
71 AGXOSG_EXPORT osg::Node*
readNodeFile(
const std::string& filename,
const osgDB::ReaderWriter::Options* options,
bool searchForIve=
false );
97 agx::Real detailRatio=0.35,
bool createAxis=
false,
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...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
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)
Utility function for reading various files:
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
AGXCORE_EXPORT Component * root()