#include <Renderer.h>
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 |
Light * | m_light |
SelectedObject * | selectedObj |
int | actView |
int | blendingmode |
vec3 | rotateTree |
float | scaleTree |
RenderTree * | tree [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 |
SplineSet * | splineSet |
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 |
| ) |
|
Renderer::~Renderer |
( |
void |
| ) |
|
Member Function Documentation
void Renderer::SetBlending |
( |
bool |
value | ) |
|
This method enables the blending
- Parameters:
-
value | [bool] true... enable blending false... disable blending |
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. |
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.
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.
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.
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.
void Renderer::UpdateStates |
( |
| ) |
[protected] |
This method updates all states. It reads the RenderStates class for the new states
Member Data Documentation
The documentation for this class was generated from the following files:
- J:/Caro/C++_Coding/HierarchicalEdgeBundle/HierarchicalEdgeBundle/header/Renderer.h
- J:/Caro/C++_Coding/HierarchicalEdgeBundle/HierarchicalEdgeBundle/src/Renderer.cpp