#include <GUIVertex.h>
List of all members.
Detailed Description
This class saves the coordinate, color, and alpha for a GUIVertex.
- Author:
- Michael Beham
- Date:
- 6.6.2010
Constructor & Destructor Documentation
GUIVertex::GUIVertex |
( |
vec3 |
position | ) |
|
constructor to save the coordinates
- Parameters:
-
position | [vec3] coordinates |
GUIVertex::GUIVertex |
( |
vec3 |
position, |
|
|
vec3 |
color |
|
) |
| |
constructor to save the coordinates and color
- Parameters:
-
position | [vec3] coordinates |
color | [vec3] color |
GUIVertex::GUIVertex |
( |
vec3 |
position, |
|
|
vec3 |
color, |
|
|
float |
opacity |
|
) |
| |
constructor to save the coordinates, color, and alpha value
- Parameters:
-
position | [vec3] coordinates |
color | [vec3] color |
color | [vec3] alpha |
GUIVertex::~GUIVertex |
( |
void |
| ) |
|
Member Function Documentation
vec3 GUIVertex::GetColor |
( |
| ) |
|
This method returns the color
- Returns:
- [vec3] color
float GUIVertex::GetOpacity |
( |
| ) |
|
This method returns the alpha value
- Returns:
- [float] opacity
vec3 GUIVertex::GetPosition |
( |
| ) |
|
This method returns the coordinate
- Returns:
- [vec3] coordinate
void GUIVertex::SetColor |
( |
vec3 |
color | ) |
|
This method sets the coordinate
- Parameters:
-
void GUIVertex::SetOpacity |
( |
float |
opacity | ) |
|
This method sets the alpha value
- Parameters:
-
void GUIVertex::SetPosition |
( |
vec3 |
pos | ) |
|
This method sets the coordinate
- Parameters:
-
The documentation for this class was generated from the following files:
- J:/Caro/C++_Coding/HierarchicalEdgeBundle/HierarchicalEdgeBundle/header/GUIVertex.h
- J:/Caro/C++_Coding/HierarchicalEdgeBundle/HierarchicalEdgeBundle/src/GUIVertex.cpp