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

Public Member Functions

 Graph (TazGraphEngine::Window *window)
 
virtual int getNextSceneIndex () const override
 
virtual int getPreviousSceneIndex () const override
 
virtual void build () override
 
virtual void destroy () override
 
virtual void onEntry () override
 
virtual void onExit () override
 
virtual void update (float deltaTime) override
 
virtual void draw () override
 
virtual void BeginRender () override
 
virtual void updateUI () override
 
virtual void EndRender () override
 
void renderBatch (const std::vector< LinkEntity * > &entities, LineRenderer &batch)
 
void renderBatch (const std::vector< EmptyEntity * > &entities, PlaneColorRenderer &batch)
 
void renderBatch (const std::vector< NodeEntity * > &entities, PlaneColorRenderer &batch)
 
void renderBatch (const std::vector< EmptyEntity * > &entities, PlaneModelRenderer &batch)
 
void renderBatch (const std::vector< NodeEntity * > &entities, PlaneModelRenderer &batch)
 
void renderBatch (const std::vector< EmptyEntity * > &entities, LightRenderer &batch)
 
void drawHUD (const std::vector< NodeEntity * > &entities)
 
- Public Member Functions inherited from IScene
int getSceneIndex () const
 
void setRunning ()
 
SceneState getState () const
 
void setParentApp (AppInterface *app)
 
AppInterfacegetApp () const
 
void setManager (std::string m_managerName)
 

Public Attributes

Mapmap = nullptr
 

Static Public Attributes

static TazGraphEngine::Window_window = nullptr
 

Additional Inherited Members

- Protected Attributes inherited from IScene
SceneState _currentState = SceneState::NONE
 
AppInterface_app = nullptr
 
int _sceneIndex = -1
 
std::unordered_map< std::string, Manager * > managers
 
Managermanager = nullptr
 
std::string managerName = ""
 
bool _renderDebug = false
 
bool _clusterLayout = false
 

Member Function Documentation

◆ BeginRender()

void Graph::BeginRender ( )
overridevirtual

Implements IScene.

◆ build()

void Graph::build ( )
overridevirtual

Implements IScene.

◆ destroy()

void Graph::destroy ( )
overridevirtual

Implements IScene.

◆ draw()

void Graph::draw ( )
overridevirtual

Line Renderer Init

Color Renderer Init

Model Renderer Init

Light Renderer Init

this reduces a bit fps

Implements IScene.

◆ EndRender()

void Graph::EndRender ( )
overridevirtual

Implements IScene.

◆ getNextSceneIndex()

int Graph::getNextSceneIndex ( ) const
overridevirtual

Implements IScene.

◆ getPreviousSceneIndex()

int Graph::getPreviousSceneIndex ( ) const
overridevirtual

Implements IScene.

◆ onEntry()

void Graph::onEntry ( )
overridevirtual

Implements IScene.

◆ onExit()

void Graph::onExit ( )
overridevirtual

Implements IScene.

◆ renderBatch()

void Graph::renderBatch ( const std::vector< LinkEntity * > &  entities,
LineRenderer batch 
)

activate threads near the end, where we have completed everything else

◆ update()

void Graph::update ( float  deltaTime)
overridevirtual

Implements IScene.

◆ updateUI()

void Graph::updateUI ( )
overridevirtual

Implements IScene.


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