Tulip  4.6.0
Better Visualization Through Research
tlp::DoubleProperty Class Reference

#include <DoubleProperty.h>

+ Inheritance diagram for tlp::DoubleProperty:
+ Collaboration diagram for tlp::DoubleProperty:

List of all members.

Public Types

enum  PredefinedMetaValueCalculator {
  NO_CALC = 0, AVG_CALC = 1, SUM_CALC = 2, MAX_CALC = 3,
  MIN_CALC = 4
}

Public Member Functions

 DoubleProperty (Graph *, const std::string &n="")
virtual void clone_handler (AbstractProperty< tlp::DoubleType, tlp::DoubleType, tlp::NumericProperty > &)
PropertyInterfaceclonePrototype (Graph *, const std::string &)
NumericPropertycopyProperty (Graph *g)
void edgesUniformQuantification (unsigned int)
virtual double getEdgeDoubleDefaultValue () const
virtual double getEdgeDoubleMax (Graph *g=NULL)
virtual double getEdgeDoubleMin (Graph *g=NULL)
virtual double getEdgeDoubleValue (const edge e) const
virtual double getNodeDoubleDefaultValue () const
virtual double getNodeDoubleMax (Graph *g=NULL)
virtual double getNodeDoubleMin (Graph *g=NULL)
virtual double getNodeDoubleValue (const node n) const
const std::string & getTypename () const
void nodesUniformQuantification (unsigned int)
virtual void setAllEdgeValue (const double &v)
virtual void setAllNodeValue (const double &v)
virtual void setEdgeValue (const edge e, const double &v)
virtual void setMetaValueCalculator (PropertyInterface::MetaValueCalculator *calc)
void setMetaValueCalculator (PredefinedMetaValueCalculator nodeCalc=AVG_CALC, PredefinedMetaValueCalculator edgeCalc=AVG_CALC)
virtual void setNodeValue (const node n, const double &v)

Static Public Attributes

static const std::string propertyTypename

Detailed Description

A graph property that maps a double value to graph elements.

Examples:
graph_display/graph_display.cpp.

Definition at line 40 of file DoubleProperty.h.

 All Classes Files Functions Variables Enumerations Enumerator Properties