Hierarchical Edge Bundle 1.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
Renderer Class Reference

#include <Renderer.h>

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

List of all members.

Public Types

enum  BlendingMode {
  STD_BLENDING, MAX_BLENDING, STDMAX_BLENDING, AVGWEIGHTING_BLENDING,
  SUMAVG_BLENDING
}

Public Member Functions

 Renderer (void)
 ~Renderer (void)
virtual void UpdateSphereColor (vec3 color, float alpha)=0
virtual void UpdateHierarchyEdgeColor (vec3 color, float alpha)=0
virtual void UpdateRelationEdgeColor (vec3 color, float alpha, vec3 endcolor, float endalpha)=0
virtual void UpdateSelectionColor (vec3 color, float alpha)=0
void SetBlending (bool value)
void SetEnabledElements (int elements)

Protected Member Functions

void UpdateStates ()

Protected Attributes

Lightm_light
SelectedObjectselectedObj
int actView
int blendingmode
vec3 rotateTree
float scaleTree
RenderTreetree [5]
View ** m_view
vec3 sphereColor
float sphereAlpha
vec3 hierarchyColor
float hierarchyAlpha
vec3 relationStartColor
float relationStartAlpha
vec3 relationEndColor
float relationEndAlpha
vec3 selectionColor
float selectionAlpha
bool m_blending
bool m_drawRelationEdges
bool m_drawHierarchicEdges
bool m_drawVertices
bool m_drawGrid
bool m_mirrorrelationedges
unsigned int numberofhierarchyedges
SplineSetsplineSet
int numberofHierarchies
float * controlPolygonX
float * controlPolygonY
float m_beta
int numreledges

Member Enumeration Documentation

Enumerator:
STD_BLENDING 
MAX_BLENDING 
STDMAX_BLENDING 
AVGWEIGHTING_BLENDING 
SUMAVG_BLENDING 

Constructor & Destructor Documentation

Renderer::Renderer ( void  )

standard constructor

Renderer::~Renderer ( void  )

standard deconstructor


Member Function Documentation

void Renderer::SetBlending ( bool  value)

This method enables the blending

Parameters:
value[bool] true... enable blending false... disable blending

Here is the caller graph for this function:

void Renderer::SetEnabledElements ( int  elements)

This method defines which elements should be drawn. The input follows the idea of a bit array.

  • 1... nodes should be draw
  • 2... hierarchy edges should be draw
  • 4.... relation edges should be draw
  • 8.... grid should be draw
    Parameters:
    elements[int] elements which should be draw.

Here is the caller graph for this function:

virtual void Renderer::UpdateHierarchyEdgeColor ( vec3  color,
float  alpha 
) [pure virtual]

This method updates the hierarchy edges color

Parameters:
color[vec3] new color of the hierarchy edges
alpha[float] new alpha value of the hierarchy edges

Implemented in RenderImplementation.

Here is the caller graph for this function:

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

This method updates the relation edges color

Parameters:
color[vec3] new color of the relation edges
alpha[float] new alpha value of the relation edges

Implemented in RenderImplementation.

Here is the caller graph for this function:

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

This method updates the selction color

Parameters:
color[vec3] new color of the selction
alpha[float] new alpha value of the selction

Implemented in RenderImplementation.

Here is the caller graph for this function:

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

This method updates the node's color

Parameters:
color[vec3] new color of the nodes
alpha[float] new alpha value of the nodes

Implemented in RenderImplementation.

Here is the caller graph for this function:

void Renderer::UpdateStates ( ) [protected]

This method updates all states. It reads the RenderStates class for the new states

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

int Renderer::actView [protected]
int Renderer::blendingmode [protected]
float* Renderer::controlPolygonX [protected]
float* Renderer::controlPolygonY [protected]
float Renderer::hierarchyAlpha [protected]
vec3 Renderer::hierarchyColor [protected]
float Renderer::m_beta [protected]
bool Renderer::m_blending [protected]
bool Renderer::m_drawGrid [protected]
bool Renderer::m_drawVertices [protected]
Light* Renderer::m_light [protected]
View** Renderer::m_view [protected]
unsigned int Renderer::numberofhierarchyedges [protected]
int Renderer::numreledges [protected]
float Renderer::relationEndAlpha [protected]
vec3 Renderer::relationEndColor [protected]
float Renderer::relationStartAlpha [protected]
vec3 Renderer::relationStartColor [protected]
vec3 Renderer::rotateTree [protected]
float Renderer::scaleTree [protected]
float Renderer::selectionAlpha [protected]
vec3 Renderer::selectionColor [protected]
float Renderer::sphereAlpha [protected]
vec3 Renderer::sphereColor [protected]
RenderTree* Renderer::tree[5] [protected]

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