TazGraph Project v0.1.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
PathLinkerComponent Class Reference
Inheritance diagram for PathLinkerComponent:
Inheritance graph
[legend]
Collaboration diagram for PathLinkerComponent:
Collaboration graph
[legend]

Public Member Functions

void init () override
 
void update (float deltaTime) override
 
void draw (size_t v_index, PlaneColorRenderer &batch, TazGraphEngine::Window &window)
 
void addLink (EntityID linkId)
 
void removeLink (EntityID link)
 
std::string GetComponentName () override
 
void showGUI (std::vector< BaseComponent * > otherComponents={}) override
 
void showGUI (std::vector< BaseComponent * > otherComponents, std::vector< Entity * > otherEntities) override
 
void createInnerLinks ()
 
void removeInnerLinks ()
 
void init () override
 
void update (float deltaTime) override
 
void draw (size_t v_index, PlaneColorRenderer &batch, TazGraphEngine::Window &window)
 
void addLink (EntityID linkId)
 
void removeLink (EntityID link)
 
std::string GetComponentName () override
 
void showGUI (std::vector< BaseComponent * > otherComponents={}) override
 
void showGUI (std::vector< BaseComponent * > otherComponents, std::vector< Entity * > otherEntities) override
 
void createInnerLinks ()
 
void removeInnerLinks ()
 
- Public Member Functions inherited from BaseComponent
virtual void draw (size_t e_index, PlaneModelRenderer &batch, TazGraphEngine::Window &window)
 
virtual void draw (size_t e_index, LineRenderer &batch, TazGraphEngine::Window &window)
 
virtual void draw (size_t e_index, LightRenderer &batch, TazGraphEngine::Window &window)
 

Public Attributes

std::vector< EntityID > innerLinks
 
std::vector< EntityID > pathLinks
 
float width = 1.0f
 
float last_width = 1.0f
 
TazColor color = TazColor(0, 0, 0, 255)
 
TazColor last_color = TazColor(0, 0, 0, 255)
 
TransformComponenttransform = nullptr
 
- Public Attributes inherited from Component
Entityentity = nullptr
 
- Public Attributes inherited from BaseComponent
bool modifyPosition = false
 
ComponentID id = 0u
 

Member Function Documentation

◆ draw() [1/2]

void PathLinkerComponent::draw ( size_t  v_index,
PlaneColorRenderer batch,
TazGraphEngine::Window window 
)
inlinevirtual

Reimplemented from BaseComponent.

◆ draw() [2/2]

void PathLinkerComponent::draw ( size_t  v_index,
PlaneColorRenderer batch,
TazGraphEngine::Window window 
)
inlinevirtual

Reimplemented from BaseComponent.

◆ GetComponentName() [1/2]

std::string PathLinkerComponent::GetComponentName ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ GetComponentName() [2/2]

std::string PathLinkerComponent::GetComponentName ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ init() [1/2]

void PathLinkerComponent::init ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ init() [2/2]

void PathLinkerComponent::init ( )
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ showGUI() [1/4]

void PathLinkerComponent::showGUI ( std::vector< BaseComponent * >  otherComponents,
std::vector< Entity * >  otherEntities 
)
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ showGUI() [2/4]

void PathLinkerComponent::showGUI ( std::vector< BaseComponent * >  otherComponents,
std::vector< Entity * >  otherEntities 
)
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ showGUI() [3/4]

void PathLinkerComponent::showGUI ( std::vector< BaseComponent * >  otherComponents = {})
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ showGUI() [4/4]

void PathLinkerComponent::showGUI ( std::vector< BaseComponent * >  otherComponents = {})
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ update() [1/2]

void PathLinkerComponent::update ( float  deltaTime)
inlineoverridevirtual

Reimplemented from BaseComponent.

◆ update() [2/2]

void PathLinkerComponent::update ( float  deltaTime)
inlineoverridevirtual

Reimplemented from BaseComponent.


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