InfoVis 2013
1.0
Information Visualisation project - "Mapping Text with Phrase Nets"
|
The program is managed by a couple of managing classes which each serve a specific purpose:
The Application class is the main class and the class from where the flow of the application in run-time is regulated. It controls the other big classes and owns them.
NodeGraphManager takes care of the creation of nodes during the processing of the documents. Documents are received from application as strings and nodes are built from them using the RegexPhraseMatcher class to split them into word connections. RegexPhraseMatcher offers the functionality for matching of regular expessions and is owned by this class. Furthermore NodeGraphmanager positions the nodes without overlap using several class methods.
UIManager handles all user interface related input and output, such as displaying the controls, the regex phrases that the user can choose from, etc. Also it manages the creation of text nodes.
ShaderManager handles the creation of OpenGL shaders
Renderer takes care of creating correct geometry and rendering it using OpenGL on a MSAA texture, which gets blit onto a render texture-target which is then used to display all arrows behind the text nodes.
Several classes are used for utility purposes and as datastructures, such as Arrow, GraphNode and Shader.