Overview     Modules     Class Hierarchy     Classes     Members  

tlp::SizeProperty Class Reference
[Properties]

#include <SizeProperty.h>

Inheritance diagram for tlp::SizeProperty:
Collaboration diagram for tlp::SizeProperty:

List of all members.

Public Member Functions

Static Public Attributes

Protected Member Functions

Friends


Constructor & Destructor Documentation

tlp::SizeProperty::SizeProperty ( Graph ,
std::string  n = "" 
)

Member Function Documentation

PropertyInterface* tlp::SizeProperty::clonePrototype ( Graph ,
const std::string &   
) [virtual]

Creates an object of the same real type of the current property, in the the graph (first parameter) with the name (second parameter). Values are not copied.

Implements tlp::PropertyInterface.

int tlp::SizeProperty::compare ( const node  n1,
const node  n2 
) const [virtual]

Compare sizes of n1 and n2 using their volume.

Reimplemented from tlp::AbstractProperty< Tnode, Tedge, TPROPERTY >.

Size tlp::SizeProperty::getMax ( Graph sg = 0  ) 
Size tlp::SizeProperty::getMin ( Graph sg = 0  ) 
std::string tlp::SizeProperty::getTypename (  )  const [inline, virtual]

Returns a string describing the type of the property. i.e. "graph", "double", "layout", "string", "integer", "color", "size", ...

Implements tlp::PropertyInterface.

void tlp::SizeProperty::resetMinMax (  )  [protected]
void tlp::SizeProperty::scale ( const tlp::Vector< float, 3 > &  ,
Iterator< node > *  ,
Iterator< edge > *   
)
void tlp::SizeProperty::scale ( const tlp::Vector< float, 3 > &  ,
Graph sg = 0 
)
virtual void tlp::SizeProperty::setAllNodeValue ( const Size v  )  [virtual]
virtual void tlp::SizeProperty::setNodeValue ( const node  n,
const Size v 
) [virtual]

Friends And Related Function Documentation

friend class SizeAlgorithm [friend]

Member Data Documentation

const std::string tlp::SizeProperty::propertyTypename [static]


Tulip Software by LaBRI Visualization Team    2001 - 2011