|
Cogs.Core
|
Classes | |
| struct | RvmparserOption |
| struct | RvmparserOptionBase |
Public Member Functions | |
| LoadRvmCommand (EditorState *state, const StringView &path, bool openInRoot, bool synchronous) | |
| void | apply () override |
| Run the command. | |
| void | undo () override |
| void | beginModal () override |
| Called when the command is initiated. | |
| void | showGui () override |
| Display custom ImGUI. | |
| bool | continueModal () override |
| Shall return true while the GUI should still be shown. False when. | |
| void | loadFile () |
Public Member Functions inherited from Cogs::Core::ModalEditorCommand | |
| ModalEditorCommand (EditorState *state) | |
| virtual void | beginModal ()=0 |
| Called when the command is initiated. | |
| virtual void | showGui ()=0 |
| Display custom ImGUI. | |
| virtual bool | continueModal ()=0 |
| Shall return true while the GUI should still be shown. False when. | |
Public Member Functions inherited from Cogs::Core::EditorCommand | |
| EditorCommand (EditorState *state, Context *context) | |
| virtual void | apply ()=0 |
| Run the command. | |
| virtual void | undo ()=0 |
| virtual void | redo () |
| virtual bool | mergeWith (const EditorCommand *) |
| virtual MeshHandle | applyMesh (MeshHandle) |
| Workaround for having extendable mesh processing available without linking (e.g command -> RR). | |
| virtual void | close () |
| Close command, i.e. prevent merging with another command. | |
| bool | isClosed () const |
| bool | merge (const EditorCommand *command) |
| Merge into this if not this is closed. | |
Private Member Functions | |
| template<typename T > | |
| void | createOption (RvmparserOption< T > &out, StringView name, T value) |
Private Attributes | |
| bool | modal = false |
| std::string | pathStr |
| std::string | fileName |
| bool | openInRoot = false |
| bool | synchronous = false |
| std::vector< RvmparserOptionBase * > | allOptions |
| RvmparserOption< bool > | rvmMdb2 |
| RvmparserOption< bool > | rvmMdb2GuessHierarchy |
| RvmparserOption< bool > | rvmInheritAttributes |
| RvmparserOption< float > | rvmTessellateTolerance |
| RvmparserOption< float > | rvmTessellateFeatureAngle |
| RvmparserOption< float > | rvmTessellateCullDiameter |
| RvmparserOption< bool > | rvmParseColorize |
| RvmparserOption< bool > | rvmParseIgnoreAttributeIndentation |
| RvmparserOption< bool > | rvmParseIgnoreAttributeHierarchy |
| RvmparserOption< bool > | rvmParseAllowReparent |
| RvmparserOption< bool > | rvmVueExperimental |
Additional Inherited Members | |
Public Attributes inherited from Cogs::Core::EditorCommand | |
| std::vector< ParsedValue > | options |
| Options passed to the command when running in batch mode. | |
| bool | permanentUndo = false |
| True if cannot Redo after Undo. | |
Protected Attributes inherited from Cogs::Core::EditorCommand | |
| EditorState * | state = nullptr |
| Context * | context = nullptr |
Definition at line 10 of file LoadRvmCommand.h.
| Cogs::Core::LoadRvmCommand::LoadRvmCommand | ( | EditorState * | state, |
| const StringView & | path, | ||
| bool | openInRoot, | ||
| bool | synchronous | ||
| ) |
Definition at line 18 of file LoadRvmCommand.cpp.
|
inlineoverridevirtual |
Run the command.
In batch scripts this method is called for all type of commands. In interactive mode this method is not called for model commands (subclasses of ModalEditorCommand)
Implements Cogs::Core::EditorCommand.
Definition at line 14 of file LoadRvmCommand.h.
|
overridevirtual |
Called when the command is initiated.
Implements Cogs::Core::ModalEditorCommand.
Definition at line 37 of file LoadRvmCommand.cpp.
|
overridevirtual |
Shall return true while the GUI should still be shown. False when.
Implements Cogs::Core::ModalEditorCommand.
Definition at line 86 of file LoadRvmCommand.cpp.
|
inlineprivate |
Definition at line 50 of file LoadRvmCommand.h.
| void Cogs::Core::LoadRvmCommand::loadFile | ( | ) |
Definition at line 91 of file LoadRvmCommand.cpp.
|
overridevirtual |
Display custom ImGUI.
Implements Cogs::Core::ModalEditorCommand.
Definition at line 42 of file LoadRvmCommand.cpp.
|
inlineoverridevirtual |
Implements Cogs::Core::EditorCommand.
Definition at line 15 of file LoadRvmCommand.h.
|
private |
Definition at line 47 of file LoadRvmCommand.h.
|
private |
Definition at line 26 of file LoadRvmCommand.h.
|
private |
Definition at line 24 of file LoadRvmCommand.h.
|
private |
Definition at line 27 of file LoadRvmCommand.h.
|
private |
Definition at line 25 of file LoadRvmCommand.h.
|
private |
Definition at line 58 of file LoadRvmCommand.h.
|
private |
Definition at line 56 of file LoadRvmCommand.h.
|
private |
Definition at line 57 of file LoadRvmCommand.h.
|
private |
Definition at line 67 of file LoadRvmCommand.h.
|
private |
Definition at line 64 of file LoadRvmCommand.h.
|
private |
Definition at line 66 of file LoadRvmCommand.h.
|
private |
Definition at line 65 of file LoadRvmCommand.h.
|
private |
Definition at line 62 of file LoadRvmCommand.h.
|
private |
Definition at line 61 of file LoadRvmCommand.h.
|
private |
Definition at line 60 of file LoadRvmCommand.h.
|
private |
Definition at line 69 of file LoadRvmCommand.h.
|
private |
Definition at line 28 of file LoadRvmCommand.h.