Hierarchical Edge Bundle 1.0
Public Member Functions | Public Attributes
RenderImplementation Class Reference

#include <RenderImplementation.h>

Inheritance diagram for RenderImplementation:
Inheritance graph
[legend]
Collaboration diagram for RenderImplementation:
Collaboration graph
[legend]

List of all members.

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

Cameracamera

Detailed Description

This method implements the renderer

Author:
Michael Beham
Date:
6.6.2011

Constructor & Destructor Documentation

RenderImplementation::RenderImplementation ( void  )

standard constructor

RenderImplementation::~RenderImplementation ( void  )

standard deconstructor


Member Function Documentation

void RenderImplementation::BeginCamera ( )

This method enables the camera

void RenderImplementation::BeginCamera ( Camera cam)

This method enables the camera

Parameters:
cam[Camera*] camera

Here is the call graph for this function:

void RenderImplementation::BeginTextures ( int  tex,
int  tex2,
int  tex3,
int  tex4,
int  tex5,
int  tex6,
int  tex7 
)

This method binds textures

Parameters:
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

Here is the call graph for this function:

void RenderImplementation::DrawAllVertices ( )

This method draws all vertices

Here is the call graph for this function:

Here is the caller graph for this function:

void RenderImplementation::DrawFont ( GLint  x,
GLint  y,
std::string  string,
int  set,
float  scale 
)

This method draws a word at a specified position

Parameters:
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

Here is the caller graph for this function:

void RenderImplementation::DrawGrid ( )

This method draws the grid

Here is the call graph for this function:

void RenderImplementation::DrawHierarchyEdges ( )

This method draws the hierarchy edges

void RenderImplementation::DrawHierarchyEdges ( bool  noshadow)

This method draws the hierarchy edges

Parameters:
noshadow[bool] true... if it's not a shadow pass
void RenderImplementation::DrawHUD ( int  time)

This method draws the HUD

Parameters:
time[int] time for calculating the actual frame

Here is the call graph for this function:

Here is the caller graph for this function:

void RenderImplementation::DrawNotSelectedVertices ( VertexPtr  v)

This method draws all nodes without the passed.

Parameters:
v[VertexPtr] node, which shouldn't draw

Here is the call graph for this function:

Here is the caller graph for this function:

void RenderImplementation::DrawObjects ( Camera camera,
Light light 
)

This method draws the actual frame

Parameters:
camera[Camera*] scene camera
light[Light*] scene light source

Here is the call graph for this function:

Here is the caller graph for this function:

void RenderImplementation::DrawRelationEdges ( )

This method draws the relation edges

Here is the call graph for this function:

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

Here is the caller graph for this function:

void RenderImplementation::DrawSelectedVertex ( VertexPtr  v)

This method draws the selected vertex param v [VertexPtr] Node to draw

Here is the call graph for this function:

Here is the caller graph for this function:

void RenderImplementation::DrawVertices ( )

This method draws all vertices

Here is the call graph for this function:

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

Returns:
[Matrix] model view matrix
Matrix RenderImplementation::GetProjectionMatrix ( )

This method returns the actual projection matrix

Returns:
[Matrix] projection matrix
void RenderImplementation::Initialize ( )

This method initialize the renderer

Here is the call graph for this function:

Here is the caller graph for this function:

void RenderImplementation::LoadFont ( )

This method loads the font

Here is the call graph for this function:

Here is the caller graph for this function:

void RenderImplementation::Picking ( int  curserX,
int  curserY 
)

This method performs picking

Parameters:
curserX[int] x position of the curser
curserY[int] y position of the curser

Here is the call graph for this function:

Here is the caller graph for this function:

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

Parameters:
color[vec3] start color of the edge
alpha[float] start alpha of the edge

Implements Renderer.

Here is the call graph for this function:

void RenderImplementation::UpdateHierarchyEdgeColorAt ( vec3  color,
float  alpha,
unsigned int  actView 
)

This method updates the color of all hierarchy edges

Parameters:
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

Parameters:
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

Here is the call graph for this function:

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

Parameters:
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

Here is the call graph for this function:

void RenderImplementation::UpdateRelationEdgeColor ( vec3  color,
float  alpha,
vec3  endcolor,
float  endalpha 
) [virtual]

This method updates the color of all relation edges

Parameters:
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.

Here is the call graph for this function:

void RenderImplementation::UpdateSelectionColor ( vec3  color,
float  alpha 
) [virtual]

This method updates the selection color

Parameters:
color[vec3] color
alpha[float] alpha

Implements Renderer.

void RenderImplementation::UpdateSphereColor ( vec3  color,
float  alpha 
) [virtual]

This method updates the color of all spheres

Parameters:
color[vec3] start color of the edge
alpha[float] start alpha of the edge

Implements Renderer.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines