Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::SolutionExplorerWindow Class Referencefinal

#include <SolutionExplorerWindow.h>

+ Inheritance diagram for Divide::SolutionExplorerWindow:

Public Member Functions

 SolutionExplorerWindow (Editor &parent, PlatformContext &context, const Descriptor &descriptor)
 
void drawInternal () override
 
- Public Member Functions inherited from Divide::DockedWindow
 DockedWindow (Editor &parent, Descriptor descriptor) noexcept
 
virtual ~DockedWindow ()=default
 
void draw ()
 
void backgroundUpdate ()
 
virtual string name () const
 
const Descriptordescriptor () const noexcept
 
virtual void onRemoveComponent (const EditorComponent &comp)
 
 PROPERTY_RW (ImGuiWindowFlags, windowFlags, 0)
 
 PROPERTY_RW (bool, enabled, true)
 
 PROPERTY_R_IW (bool, focused, false)
 
 PROPERTY_R_IW (bool, hovered, false)
 
 PROPERTY_R_IW (bool, visible, false)
 
- Public Member Functions inherited from Divide::PlatformContextComponent
 PlatformContextComponent (PlatformContext &context) noexcept
 
virtual ~PlatformContextComponent ()=default
 
PlatformContextcontext () noexcept
 
const PlatformContextcontext () const noexcept
 

Protected Member Functions

void drawRemoveNodeDialog ()
 
void drawReparentNodeDialog ()
 
void drawAddNodeDialog ()
 
void drawNodeParametersChildWindow ()
 
void drawChangeParentWindow ()
 
void drawContextMenu (SceneGraphNode *sgn)
 
void printCameraNode (ProjectManager *projectManager, Camera *const camera) const
 
void printSceneGraphNode (ProjectManager *projectManager, SceneGraphNode *sgn, I32 nodeIDX, bool open, bool secondaryView, bool modifierPressed)
 
void goToNode (const SceneGraphNode *sgn) const
 
void saveNode (const SceneGraphNode *sgn) const
 
void loadNode (SceneGraphNode *sgn) const
 
bool nodeHasChildrenInView (const SceneGraphNode *sgn) const
 
void createNode ()
 
- Protected Member Functions inherited from Divide::DockedWindow
virtual void drawInternal ()=0
 
virtual void backgroundUpdateInternal ()
 
const char * getIconForNode (const SceneGraphNode *sgn) noexcept
 

Private Attributes

ImGuiTextFilter _filter
 
I64 _nodeToRemove = -1
 
SceneGraphNode_parentNode = nullptr
 Used for adding child nodes.
 
bool _reparentSelectRequested = false
 Used when changing parents.
 
bool _reparentConfirmRequested = false
 
SceneGraphNode_childNode = nullptr
 
SceneGraphNode_tempParent = nullptr
 

Additional Inherited Members

- Protected Attributes inherited from Divide::DockedWindow
Editor_parent
 
Descriptor _descriptor
 
- Protected Attributes inherited from Divide::PlatformContextComponent
PlatformContext_context
 

Detailed Description

Definition at line 46 of file SolutionExplorerWindow.h.

Constructor & Destructor Documentation

◆ SolutionExplorerWindow()

Divide::SolutionExplorerWindow::SolutionExplorerWindow ( Editor parent,
PlatformContext context,
const Descriptor descriptor 
)

Definition at line 60 of file SolutionExplorerWindow.cpp.

Member Function Documentation

◆ createNode()

void Divide::SolutionExplorerWindow::createNode ( )
protected

Definition at line 962 of file SolutionExplorerWindow.cpp.

◆ drawAddNodeDialog()

void Divide::SolutionExplorerWindow::drawAddNodeDialog ( )
protected

Definition at line 706 of file SolutionExplorerWindow.cpp.

◆ drawChangeParentWindow()

void Divide::SolutionExplorerWindow::drawChangeParentWindow ( )
protected

Definition at line 1017 of file SolutionExplorerWindow.cpp.

◆ drawContextMenu()

void Divide::SolutionExplorerWindow::drawContextMenu ( SceneGraphNode sgn)
protected

Definition at line 90 of file SolutionExplorerWindow.cpp.

◆ drawInternal()

void Divide::SolutionExplorerWindow::drawInternal ( )
overridevirtual

Implements Divide::DockedWindow.

Definition at line 265 of file SolutionExplorerWindow.cpp.

◆ drawNodeParametersChildWindow()

void Divide::SolutionExplorerWindow::drawNodeParametersChildWindow ( )
protected

Definition at line 861 of file SolutionExplorerWindow.cpp.

◆ drawRemoveNodeDialog()

void Divide::SolutionExplorerWindow::drawRemoveNodeDialog ( )
protected

Definition at line 639 of file SolutionExplorerWindow.cpp.

◆ drawReparentNodeDialog()

void Divide::SolutionExplorerWindow::drawReparentNodeDialog ( )
protected

Definition at line 671 of file SolutionExplorerWindow.cpp.

◆ goToNode()

void Divide::SolutionExplorerWindow::goToNode ( const SceneGraphNode sgn) const
protected

Definition at line 947 of file SolutionExplorerWindow.cpp.

◆ loadNode()

void Divide::SolutionExplorerWindow::loadNode ( SceneGraphNode sgn) const
protected

Definition at line 957 of file SolutionExplorerWindow.cpp.

◆ nodeHasChildrenInView()

bool Divide::SolutionExplorerWindow::nodeHasChildrenInView ( const SceneGraphNode sgn) const
protected

Definition at line 152 of file SolutionExplorerWindow.cpp.

◆ printCameraNode()

void Divide::SolutionExplorerWindow::printCameraNode ( ProjectManager projectManager,
Camera *const  camera 
) const
protected

Definition at line 67 of file SolutionExplorerWindow.cpp.

◆ printSceneGraphNode()

void Divide::SolutionExplorerWindow::printSceneGraphNode ( ProjectManager projectManager,
SceneGraphNode sgn,
I32  nodeIDX,
bool  open,
bool  secondaryView,
bool  modifierPressed 
)
protected

Definition at line 167 of file SolutionExplorerWindow.cpp.

◆ saveNode()

void Divide::SolutionExplorerWindow::saveNode ( const SceneGraphNode sgn) const
protected

Definition at line 952 of file SolutionExplorerWindow.cpp.

Member Data Documentation

◆ _childNode

SceneGraphNode* Divide::SolutionExplorerWindow::_childNode = nullptr
private

Definition at line 76 of file SolutionExplorerWindow.h.

◆ _filter

ImGuiTextFilter Divide::SolutionExplorerWindow::_filter
private

Definition at line 69 of file SolutionExplorerWindow.h.

◆ _nodeToRemove

I64 Divide::SolutionExplorerWindow::_nodeToRemove = -1
private

Definition at line 70 of file SolutionExplorerWindow.h.

◆ _parentNode

SceneGraphNode* Divide::SolutionExplorerWindow::_parentNode = nullptr
private

Used for adding child nodes.

Definition at line 72 of file SolutionExplorerWindow.h.

◆ _reparentConfirmRequested

bool Divide::SolutionExplorerWindow::_reparentConfirmRequested = false
private

Definition at line 75 of file SolutionExplorerWindow.h.

◆ _reparentSelectRequested

bool Divide::SolutionExplorerWindow::_reparentSelectRequested = false
private

Used when changing parents.

Definition at line 74 of file SolutionExplorerWindow.h.

◆ _tempParent

SceneGraphNode* Divide::SolutionExplorerWindow::_tempParent = nullptr
private

Definition at line 77 of file SolutionExplorerWindow.h.


The documentation for this class was generated from the following files: