Spline Class Reference

#include <Spline.h>

List of all members.

Public Member Functions

 Spline ()
 Spline (std::vector< TreeEntity * > pts, VVector *cs, VVector *ce, float alpha, float beta)
 ~Spline ()
void setAlpha (float alpha)
void setLongest (int num)
void setBeta (float beta)
void setEmphasize (float emph)
void setStatus (bool status)
void setColorStart (VVector *cs)
void setColorEnd (VVector *ce)
bool hasIntersection (float *line)
bool hasIntersectionSpecial (float *line)
void draw ()


Detailed Description

class representing an entity for a family tree

Constructor & Destructor Documentation

Spline::Spline (  )  [inline]

standard constructor

Spline::Spline ( std::vector< TreeEntity * >  pts,
VVector *  cs,
VVector *  ce,
float  alpha,
float  beta 
) [inline]

constructor

Spline::~Spline (  )  [inline]

standard destructor


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:
cs is the starting color

void Spline::setColorEnd ( VVector *  ce  )  [inline]

sets the color of the ending of the spline

Parameters:
ce is the ending color

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

void Spline::draw (  ) 

draws this spine


The documentation for this class was generated from the following files:

Generated on Tue Jun 3 21:15:49 2008 for Hierarchical Edge Bundles by  doxygen 1.5.6