InfoVis 2013  1.0
Information Visualisation project - "Mapping Text with Phrase Nets"
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
NodeGraphManager.cpp File Reference
#include "NodeGraphManager.h"
#include "GraphNode.h"
#include "Application.h"
#include "UIManager.h"
#include "CEGUI/Window.h"
#include "CEGUI/CoordConverter.h"
#include "Arrow.h"
#include <glm.hpp>
#include <string>
#include <iostream>
#include <algorithm>
#include <time.h>
#include "RegexPhraseMatcher.h"

Functions

void calculateArrowPoints (glm::vec2 &startPoint, glm::vec2 &endPoint, const CEGUI::Window *firstWindow, const CEGUI::Window *secondWindow)
 
glm::vec2 calculateWindowCenter (const CEGUI::Rectf &absoluteWindowArea)
 
glm::vec2 calculateLocalCollisionFromCenter (const CEGUI::Rectf &absoluteArea, const glm::vec2 &vector)
 
CEGUI::Colour calculateInterpolatedColour (const glm::vec4 &colour1, const glm::vec4 &colour2, float interpolator)
 

Function Documentation

void calculateArrowPoints ( glm::vec2 &  startPoint,
glm::vec2 &  endPoint,
const CEGUI::Window *  firstWindow,
const CEGUI::Window *  secondWindow 
)
CEGUI::Colour calculateInterpolatedColour ( const glm::vec4 &  colour1,
const glm::vec4 &  colour2,
float  interpolator 
)
glm::vec2 calculateLocalCollisionFromCenter ( const CEGUI::Rectf &  absoluteArea,
const glm::vec2 &  vector 
)
glm::vec2 calculateWindowCenter ( const CEGUI::Rectf &  absoluteWindowArea)