Skip to content

Struct ImguiNodes

ClassList > ImguiNodes

  • #include <NodeEditor.h>

Public Attributes

Type Name
ImVec2 header = { 0,0 }
bool is_in_editing = { false }
bool is_out_editing = { false }
Nodes * m_node
std::unordered_map< Parameters *, PinStates > m_states
ImVec2 max = { 0,0 }
int max_pin_offset = 0
ImVec2 min = { 0,0 }

Public Static Attributes

Type Name
std::vector< ImU32 > n_color_list = /* multi line expression */
std::vector< ImU32 > pin_color_list = /* multi line expression */

Public Functions

Type Name
const ImVec2 GetInPinPos (const ImVec2 & _header_size, float _offset, int _idx)
Nodes * GetNodePtr () const
const ImVec2 GetOutPinPos (const ImVec2 & _header_size, float _offset, int _idx)
ImguiNodes (Nodes * _node)
void UpdateStates ()
Nodes * operator-> ()
~ImguiNodes ()

Public Attributes Documentation

variable header

ImVec2 ImguiNodes::header;

variable is_in_editing

bool ImguiNodes::is_in_editing;

variable is_out_editing

bool ImguiNodes::is_out_editing;

variable m_node

Nodes* ImguiNodes::m_node;

variable m_states

std::unordered_map<Parameters*, PinStates> ImguiNodes::m_states;

variable max

ImVec2 ImguiNodes::max;

variable max_pin_offset

int ImguiNodes::max_pin_offset;

variable min

ImVec2 ImguiNodes::min;

Public Static Attributes Documentation

variable n_color_list

std::vector< ImU32 > ImguiNodes::n_color_list;

variable pin_color_list

std::vector< ImU32 > ImguiNodes::pin_color_list;

Public Functions Documentation

function GetInPinPos

const ImVec2 ImguiNodes::GetInPinPos (
    const ImVec2 & _header_size,
    float _offset,
    int _idx
) 

function GetNodePtr

inline Nodes * ImguiNodes::GetNodePtr () const

function GetOutPinPos

const ImVec2 ImguiNodes::GetOutPinPos (
    const ImVec2 & _header_size,
    float _offset,
    int _idx
) 

function ImguiNodes

inline ImguiNodes::ImguiNodes (
    Nodes * _node
) 

function UpdateStates

void ImguiNodes::UpdateStates () 

function operator->

inline Nodes * ImguiNodes::operator-> () 

function ~ImguiNodes

ImguiNodes::~ImguiNodes () 


The documentation for this class was generated from the following file src/UI/item/NodeEditor.h