Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
GeometryInheritanceTree.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/model/ModelParent.h"
7
8// auto generated forward declare list
9// clang-format off
10class GeometryGroup;
11namespace Json { class Value; }
12// clang-format on
13
15public:
16 // GeometryInheritanceTree inner types declare
17 // clang-format off
19 // clang-format on
20
21 // GeometryInheritanceTree inner types define
23 public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 32, ::std::string> mName;
27 ::ll::TypedStorage<8, 32, ::std::string> mFileName;
28 ::ll::TypedStorage<8, 112, ::ModelParent> mModelParent;
29 ::ll::TypedStorage<8, 24, ::std::vector<::GeometryInheritanceTree::GeometryInheritanceTreeNode*>> mChildren;
30 ::ll::TypedStorage<1, 1, bool> mIsVisited;
31 // NOLINTEND
32 };
33
34public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::Json::Value>>> mLoadedJsonFiles;
38 ::ll::
39 TypedStorage<8, 64, ::std::unordered_map<::std::string, ::GeometryInheritanceTree::GeometryInheritanceTreeNode>>
40 mNodes;
41 ::ll::TypedStorage<8, 80, ::std::mutex> mNodeLock;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI ::GeometryInheritanceTree::GeometryInheritanceTreeNode&
48 _node(::std::string const& name, ::std::string const& fileName);
49
50 MCNAPI void addInheritance(
51 ::std::string const& child,
52 ::std::string const& sourceFilePathWithExtension,
53 ::ModelParent const& modelParent,
54 ::std::string const& parentName
55 );
56
57 MCNAPI void visitBFS(
58 ::std::weak_ptr<::GeometryGroup> weakGeometryGroup,
59 ::std::function<void(::std::weak_ptr<::GeometryGroup>, ::std::string const&, ::ModelParent const&)> callback
60 ) const;
61 // NOLINTEND
62};
Definition GeometryGroup.h:5
Definition GeometryInheritanceTree.h:5
MCAPI void visitBFS(::std::weak_ptr<::GeometryGroup > weakGeometryGroup, ::std::function< void(::std::weak_ptr<::GeometryGroup >, ::std::string const &, ::ModelParent const &)> callback) const
MCAPI void addInheritance(::std::string const &child, ::std::string const &sourceFilePathWithExtension, ::ModelParent const &modelParent, ::std::string const &parentName)
MCAPI::GeometryInheritanceTree::GeometryInheritanceTreeNode & _node(::std::string const &name, ::std::string const &fileName)
Definition Value.h:16
Definition GeometryInheritanceTree.h:13
Definition ModelParent.h:5