|
Hierarchical Edge Bundle 1.0
|
#include <RenderImplementation.h>


Public Member Functions | |
| RenderImplementation (void) | |
| ~RenderImplementation (void) | |
| void | Initialize () |
| void | CreateObjects (View **view) |
| void | DrawObjects (Camera *camera, Light *light) |
| void | DrawGrid () |
| void | DrawVertices () |
| void | DrawAllVertices () |
| void | DrawSelectedVertex (VertexPtr v) |
| void | DrawNotSelectedVertices (VertexPtr v) |
| void | DrawRelationEdges () |
| void | DrawHierarchyEdges () |
| void | DrawHierarchyEdges (bool noshadow) |
| void | DrawScreenAlignedQuad (int tex, int tex2, int tex3, int tex4, int tex5, int tex6, int tex7) |
| void | BeginCamera () |
| void | BeginCamera (Camera *cam) |
| void | EndCamera () |
| void | BeginTextures (int tex, int tex2, int tex3, int tex4, int tex5, int tex6, int tex7) |
| void | EndTextures () |
| void | LoadFont () |
| void | UnloadFont () |
| void | DrawFont (GLint x, GLint y, std::string string, int set, float scale) |
| void | DrawHUD (int time) |
| Matrix | GetModelViewMatrix () |
| Matrix | GetProjectionMatrix () |
| void | Picking (int curserX, int curserY) |
| virtual void | UpdateSphereColor (vec3 color, float alpha) |
| virtual void | UpdateHierarchyEdgeColor (vec3 color, float alpha) |
| void | UpdateHierarchyEdgeColorAt (vec3 color, float alpha, unsigned int actView) |
| void | UpdateHierarchyEdgeColorSelectionAt (vec3 color, float alpha, vec3 sele_color, float sele_alpha, unsigned int at) |
| void | UpdateRelationEdgeColor (vec3 color, float alpha, vec3 sele_color, float sele_alpha, unsigned int at) |
| virtual void | UpdateRelationEdgeColor (vec3 color, float alpha, vec3 endcolor, float endalpha) |
| virtual void | UpdateSelectionColor (vec3 color, float alpha) |
Public Attributes | |
| Camera * | camera |
This method implements the renderer
| RenderImplementation::RenderImplementation | ( | void | ) |
standard constructor
| RenderImplementation::~RenderImplementation | ( | void | ) |
standard deconstructor
| void RenderImplementation::BeginCamera | ( | ) |
This method enables the camera
| void RenderImplementation::BeginCamera | ( | Camera * | cam | ) |
This method enables the camera
| cam | [Camera*] camera |

| void RenderImplementation::BeginTextures | ( | int | tex, |
| int | tex2, | ||
| int | tex3, | ||
| int | tex4, | ||
| int | tex5, | ||
| int | tex6, | ||
| int | tex7 | ||
| ) |
This method binds textures
| tex | [int] texture1 |
| tex2 | [int] texture2 |
| tex3 | [int] texture3 |
| tex4 | [int] texture4 |
| tex5 | [int] texture5 |
| tex6 | [int] texture6 |
| tex7 | [int] texture7 |
| void RenderImplementation::CreateObjects | ( | View ** | view | ) |
This method creates the rendering data for all layouts view [View**] layout data

| void RenderImplementation::DrawAllVertices | ( | ) |
This method draws all vertices


| void RenderImplementation::DrawFont | ( | GLint | x, |
| GLint | y, | ||
| std::string | string, | ||
| int | set, | ||
| float | scale | ||
| ) |
This method draws a word at a specified position
| x | [GLint] screen x position |
| y | [GLint] screen y position |
| string | [std::string] word to draw |
| set | [int] font |
| scale | [float] scale of the font |

| void RenderImplementation::DrawGrid | ( | ) |
This method draws the grid

| void RenderImplementation::DrawHierarchyEdges | ( | ) |
This method draws the hierarchy edges
| void RenderImplementation::DrawHierarchyEdges | ( | bool | noshadow | ) |
This method draws the hierarchy edges
| noshadow | [bool] true... if it's not a shadow pass |
| void RenderImplementation::DrawHUD | ( | int | time | ) |
This method draws the HUD
| time | [int] time for calculating the actual frame |


| void RenderImplementation::DrawNotSelectedVertices | ( | VertexPtr | v | ) |
This method draws all nodes without the passed.
| v | [VertexPtr] node, which shouldn't draw |


This method draws the actual frame
| camera | [Camera*] scene camera |
| light | [Light*] scene light source |


| void RenderImplementation::DrawRelationEdges | ( | ) |
This method draws the relation edges

| void RenderImplementation::DrawScreenAlignedQuad | ( | int | tex, |
| int | tex2, | ||
| int | tex3, | ||
| int | tex4, | ||
| int | tex5, | ||
| int | tex6, | ||
| int | tex7 | ||
| ) |
This method draws textures to scren [int] texture 1 [int] texture 2 [int] texture 3 [int] texture 4 [int] texture 5 [int] texture 6 [int] texture 7

| void RenderImplementation::DrawSelectedVertex | ( | VertexPtr | v | ) |
This method draws the selected vertex param v [VertexPtr] Node to draw


| void RenderImplementation::DrawVertices | ( | ) |
This method draws all vertices

| void RenderImplementation::EndCamera | ( | ) |
This method disables the camera
| void RenderImplementation::EndTextures | ( | ) |
This method unbind all textures
| Matrix RenderImplementation::GetModelViewMatrix | ( | ) |
This method returns the actual modelview matrix
| Matrix RenderImplementation::GetProjectionMatrix | ( | ) |
This method returns the actual projection matrix
| void RenderImplementation::Initialize | ( | ) |
This method initialize the renderer


| void RenderImplementation::LoadFont | ( | ) |
This method loads the font


| void RenderImplementation::Picking | ( | int | curserX, |
| int | curserY | ||
| ) |
This method performs picking
| curserX | [int] x position of the curser |
| curserY | [int] y position of the curser |


| void RenderImplementation::UnloadFont | ( | ) |
This method deletes the front
| void RenderImplementation::UpdateHierarchyEdgeColor | ( | vec3 | color, |
| float | alpha | ||
| ) | [virtual] |
This method updates the color of all hierarchy edges
| color | [vec3] start color of the edge |
| alpha | [float] start alpha of the edge |
Implements Renderer.

| void RenderImplementation::UpdateHierarchyEdgeColorAt | ( | vec3 | color, |
| float | alpha, | ||
| unsigned int | actView | ||
| ) |
This method updates the color of all hierarchy edges
| color | [vec3] start color of the edge |
| alpha | [float] start alpha of the edge |
| endcolor | [vec3] end color of the edge |
| ebdalpha | [float] end alpha of the edge |
| void RenderImplementation::UpdateHierarchyEdgeColorSelectionAt | ( | vec3 | color, |
| float | alpha, | ||
| vec3 | sele_color, | ||
| float | sele_alpha, | ||
| unsigned int | at | ||
| ) |
This method updates the color of a given hierarchy edge
| at | [unsigned int] selected edge |
| color | [vec3] start color of the edge |
| alpha | [float] start alpha of the edge |
| endcolor | [vec3] end color of the edge |
| ebdalpha | [float] end alpha of the edge |

| void RenderImplementation::UpdateRelationEdgeColor | ( | vec3 | color, |
| float | alpha, | ||
| vec3 | sele_color, | ||
| float | sele_alpha, | ||
| unsigned int | at | ||
| ) |
This method updates the color of a given relation edge
| at | [unsigned int] selected edge |
| color | [vec3] start color of the edge |
| alpha | [float] start alpha of the edge |
| endcolor | [vec3] end color of the edge |
| ebdalpha | [float] end alpha of the edge |

| void RenderImplementation::UpdateRelationEdgeColor | ( | vec3 | color, |
| float | alpha, | ||
| vec3 | endcolor, | ||
| float | endalpha | ||
| ) | [virtual] |
This method updates the color of all relation edges
| color | [vec3] start color of the edge |
| alpha | [float] start alpha of the edge |
| endcolor | [vec3] end color of the edge |
| ebdalpha | [float] end alpha of the edge |
Implements Renderer.

| void RenderImplementation::UpdateSelectionColor | ( | vec3 | color, |
| float | alpha | ||
| ) | [virtual] |
This method updates the selection color
| color | [vec3] color |
| alpha | [float] alpha |
Implements Renderer.
| void RenderImplementation::UpdateSphereColor | ( | vec3 | color, |
| float | alpha | ||
| ) | [virtual] |
This method updates the color of all spheres
| color | [vec3] start color of the edge |
| alpha | [float] start alpha of the edge |
Implements Renderer.
1.7.4