31 std::shared_ptr<SceneGraph>
active();
44 void pushScene(std::shared_ptr<SceneGraph> scn);
SceneGraphFactory(const SceneGraphFactory &)=delete
static std::atomic< SceneGraphFactory * > pInstance
std::shared_ptr< SceneGraph > createNewScene()
Create a new SceneGraph.
SceneGraphFactory & operator=(const SceneGraphFactory &)=delete
std::shared_ptr< SceneGraph > createDefaultScene()
static SceneGraphFactory * instance()
void pushScene(std::shared_ptr< SceneGraph > scn)
SceneGraphFactory()=default
std::stack< std::shared_ptr< SceneGraph > > mSceneGraphs
~SceneGraphFactory()=default
SceneGraphCreator mDefaultCreator
void setDefaultCreator(SceneGraphCreator creator)
std::shared_ptr< SceneGraph > active()
This is an implementation of AdditiveCCD based on peridyno.
std::function< std::shared_ptr< SceneGraph >()> SceneGraphCreator