| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tlp::LayoutProperty Class Reference |
tlp::LayoutProperty::LayoutProperty | ( | Graph * | ) |
tlp::LayoutProperty::~LayoutProperty | ( | ) |
PropertyInterface* tlp::LayoutProperty::clonePrototype | ( | Graph * | , | |
std::string | ||||
) | [virtual] |
Implements tlp::PropertyInterface.
void tlp::LayoutProperty::copy | ( | const | node, | |
const | node, | |||
PropertyInterface * | ||||
) | [virtual] |
Implements tlp::PropertyInterface.
void tlp::LayoutProperty::copy | ( | const | edge, | |
const | edge, | |||
PropertyInterface * | ||||
) | [virtual] |
Implements tlp::PropertyInterface.
void tlp::LayoutProperty::translate | ( | const tlp::Vector< float, 3 > & | v, | |
Graph * | graph = 0 | |||
) |
void tlp::LayoutProperty::translate | ( | const tlp::Vector< float, 3 > & | v, | |
Iterator< node > * | , | |||
Iterator< edge > * | ||||
) |
void tlp::LayoutProperty::scale | ( | const tlp::Vector< float, 3 > & | v, | |
Graph * | graph = 0 | |||
) |
void tlp::LayoutProperty::scale | ( | const tlp::Vector< float, 3 > & | v, | |
Iterator< node > * | , | |||
Iterator< edge > * | ||||
) |
void tlp::LayoutProperty::rotateZ | ( | const double & | alpha, | |
Graph * | graph = 0 | |||
) |
Rotates the layout proxy of the passed graph by alpha degrees
Rotates the passed nodes and edges in the given layout proxy by alpha degrees
void tlp::LayoutProperty::center | ( | Graph * | graph = 0 |
) |
void tlp::LayoutProperty::normalize | ( | Graph * | graph = 0 |
) |
void tlp::LayoutProperty::perfectAspectRatio | ( | ) |
void tlp::LayoutProperty::resetBoundingBox | ( | ) |
double tlp::LayoutProperty::edgeLength | ( | edge | e | ) |
Returns the length of an edge, the bends are taken into account. Thus, it measure the length of a polyline. Warning this function only measure the length of the polyline between bends, when using curves like bezier etc... the result will not be the length of the curve.
double tlp::LayoutProperty::averageAngularResolution | ( | Graph * | graph = 0 |
) |
Returns the average angular resolution of the layout it is defined for 2D drawing, the third coordinates is omitted
Returns the average angular resolution of a node it is defined for 2D drawing, the third coordinates is omitted
Returns a vector of all angular resolution of a node it is defined for 2D drawing, the third coordinates is omitted
unsigned int tlp::LayoutProperty::crossingNumber | ( | ) |
Returns the number of crossings in the layout
void tlp::LayoutProperty::recompute_handler | ( | ) | [protected] |
void tlp::LayoutProperty::reset_handler | ( | ) | [protected] |
void tlp::LayoutProperty::clone_handler | ( | AbstractProperty< PointType, LineType > & | ) | [protected] |
virtual void tlp::LayoutProperty::setNodeValue_handler | ( | const node | n, | |
const PointType::RealType & | ||||
) | [protected, virtual] |
virtual void tlp::LayoutProperty::setEdgeValue_handler | ( | const edge | e, | |
const LineType::RealType & | ||||
) | [protected, virtual] |
virtual void tlp::LayoutProperty::setAllNodeValue_handler | ( | const PointType::RealType & | ) | [protected, virtual] |
virtual void tlp::LayoutProperty::setAllEdgeValue_handler | ( | const LineType::RealType & | ) | [protected, virtual] |
friend class LayoutAlgorithm [friend] |
Tulip Software by LaBRI Visualization Team 2001 - 2007 |