X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FRWGltf%2FRWGltf_CafReader.hxx;h=d084408d43eef932fb5dbc773dc01a4f2a6485fc;hb=8a17a8bb45c4c633dc25ab6019ba7f94c019c9f2;hpb=8dcb81ac820f1d103517919c903e855df344e367 diff --git a/src/RWGltf/RWGltf_CafReader.hxx b/src/RWGltf/RWGltf_CafReader.hxx index 6d36cb7504..d084408d43 100644 --- a/src/RWGltf/RWGltf_CafReader.hxx +++ b/src/RWGltf/RWGltf_CafReader.hxx @@ -43,6 +43,12 @@ public: //! Set flag to ignore nodes without Geometry. void SetSkipEmptyNodes (bool theToSkip) { myToSkipEmptyNodes = theToSkip; } + //! Return TRUE if all scenes in the document should be loaded, FALSE by default which means only main (default) scene will be loaded. + bool ToLoadAllScenes() const { return myToLoadAllScenes; } + + //! Set flag to flag to load all scenes in the document, FALSE by default which means only main (default) scene will be loaded. + void SetLoadAllScenes (bool theToLoadAll) { myToLoadAllScenes = theToLoadAll; } + //! Set flag to use Mesh name in case if Node name is empty, TRUE by default. bool ToUseMeshNameAsFallback() { return myUseMeshNameAsFallback; } @@ -106,6 +112,7 @@ protected: Standard_Boolean myToParallel; //!< flag to use multithreading; FALSE by default Standard_Boolean myToSkipEmptyNodes; //!< ignore nodes without Geometry; TRUE by default + Standard_Boolean myToLoadAllScenes; //!< flag to load all scenes in the document, FALSE by default Standard_Boolean myUseMeshNameAsFallback; //!< flag to use Mesh name in case if Node name is empty, TRUE by default Standard_Boolean myIsDoublePrecision; //!< flag to fill in triangulation using single or double precision Standard_Boolean myToSkipLateDataLoading; //!< flag to skip triangulation loading