Spline Class Reference
#include <Spline.h>
List of all members.
Detailed Description
class representing an entity for a family tree
Constructor & Destructor Documentation
Spline::Spline |
( |
|
) |
[inline] |
Spline::Spline |
( |
std::vector< TreeEntity * > |
pts, |
|
|
VVector * |
cs, |
|
|
VVector * |
ce, |
|
|
float |
alpha, |
|
|
float |
beta | |
|
) |
| | [inline] |
Spline::~Spline |
( |
|
) |
[inline] |
Member Function Documentation
void Spline::setAlpha |
( |
float |
alpha |
) |
[inline] |
sets the alpha transparency parameter
- Parameters:
-
| alpha | is the alpha parameter |
void Spline::setLongest |
( |
int |
num |
) |
[inline] |
sets longest spline
- Parameters:
-
| num | is the maximal number of points that occur |
void Spline::setBeta |
( |
float |
beta |
) |
[inline] |
sets the beta shift parameter
- Parameters:
-
| beta | is the beta shift parameter |
void Spline::setEmphasize |
( |
float |
emph |
) |
[inline] |
sets the emphasize parameter
- Parameters:
-
| emph | is the emphasize parameter |
void Spline::setStatus |
( |
bool |
status |
) |
[inline] |
sets the status on/off
- Parameters:
-
| status | is the status parameter |
void Spline::setColorStart |
( |
VVector * |
cs |
) |
[inline] |
sets the color of the starting of the spline
- Parameters:
-
void Spline::setColorEnd |
( |
VVector * |
ce |
) |
[inline] |
sets the color of the ending of the spline
- Parameters:
-
bool Spline::hasIntersection |
( |
float * |
line |
) |
|
returns true if this spline has an intersection with a segment (abscisse) p1 - p2
- Parameters:
-
| p1 | is the starting point of the segment |
| p2 | is the ending point of the segment |
- Returns:
- true if this spline has an intersection with a segment (abscisse) p1 - p2
bool Spline::hasIntersectionSpecial |
( |
float * |
line |
) |
|
returns true if this spline has an intersection with a segment (abscisse) p1 - p2 for inverse rooted trees (extra)
- Parameters:
-
| p1 | is the starting point of the segment |
| p2 | is the ending point of the segment |
- Returns:
- true if this spline has an intersection with a segment (abscisse) p1 - p2
The documentation for this class was generated from the following files:
- D:/Uni/InfoVis/LU/src/Spline.h
- D:/Uni/InfoVis/LU/src/Spline.cpp