Public Member Functions |
| LayoutProperty (Graph *graph, std::string name="") |
PropertyInterface * | clonePrototype (Graph *, const std::string &) |
std::string | getTypename () const |
Coord | getMax (Graph *subgraph=NULL) |
Coord | getMin (Graph *subgraph=NULL) |
void | translate (const Vec3f &move, Graph *subgraph=NULL) |
void | translate (const Vec3f &move, Iterator< node > *itNodes, Iterator< edge > *itEdges) |
void | scale (const Vec3f &scaleFactors, Graph *subgraph=NULL) |
void | scale (const Vec3f &scaleFactors, Iterator< node > *itNodes, Iterator< edge > *itEdges) |
void | rotateX (const double &alpha, Graph *subgraph=NULL) |
void | rotateY (const double &alpha, Graph *subgraph=NULL) |
void | rotateZ (const double &alpha, Graph *subgraph=NULL) |
void | rotateX (const double &alpha, Iterator< node > *itNodes, Iterator< edge > *itEdges) |
void | rotateY (const double &alpha, Iterator< node > *itNodes, Iterator< edge > *itEdges) |
void | rotateZ (const double &alpha, Iterator< node > *itNodes, Iterator< edge > *itEdges) |
void | center (Graph *subgraph=NULL) |
void | center (const Vec3f &newCenter, Graph *subgraph=NULL) |
void | normalize (Graph *subgraph=NULL) |
void | perfectAspectRatio () |
double | edgeLength (const edge e) const |
double | averageEdgeLength (const Graph *subgraph=NULL) const |
double | averageAngularResolution (const Graph *subgraph=NULL) const |
double | averageAngularResolution (const node n, const Graph *subgraph=NULL) const |
std::vector< double > | angularResolutions (const node n, const Graph *subgraph=NULL) const |
void | computeEmbedding (Graph *subgraph=NULL) |
void | computeEmbedding (const node n, Graph *subgraph=NULL) |
unsigned int | crossingNumber () const |
virtual void | setNodeValue (const node, const Coord &v) |
virtual void | setEdgeValue (const edge, const std::vector< Coord > &v) |
virtual void | setAllNodeValue (const Coord &v) |
virtual void | setAllEdgeValue (const std::vector< Coord > &v) |
| AbstractProperty (Graph *, std::string n="") |
Tnode::RealType | getNodeDefaultValue () const |
| Returns the default node value of the property.
|
Tedge::RealType | getEdgeDefaultValue () const |
| Returns the default edge value of the property.
|
tlp::StoredType< typename
Tnode::RealType >
::ReturnedConstValue | getNodeValue (const node n) const |
| Returns the value associated with the node n in this property. If there is no value, it returns the default ndoe value.
|
tlp::StoredType< typename
Tedge::RealType >
::ReturnedConstValue | getEdgeValue (const edge e) const |
| Returns the value associated to the edge e in this property. If there is no value, it returns the default edge value.
|
virtual void | setNodeValue (const node n, const typename Tnode::RealType &v) |
| Sets the value of a node and notify the observers of a modification.
|
virtual void | setEdgeValue (const edge e, const typename Tedge::RealType &v) |
| Set the value of an edge and notify the observers of a modification.
|
virtual void | setAllNodeValue (const typename Tnode::RealType &v) |
| Sets the value of all nodes and notify the observers.
|
virtual void | setAllEdgeValue (const typename Tedge::RealType &v) |
| Sets the value of all edges and notify the observers.
|
virtual void | erase (const node n) |
| Resets the value of a node to the default value.
|
virtual void | erase (const edge e) |
| Resets the value of an edge to the default value.
|
virtual AbstractProperty
< Tnode, Tedge, TPROPERTY > & | operator= (AbstractProperty< Tnode, Tedge, TPROPERTY > &prop) |
virtual std::string | getNodeDefaultStringValue () const |
virtual std::string | getEdgeDefaultStringValue () const |
virtual std::string | getNodeStringValue (const node n) const |
virtual std::string | getEdgeStringValue (const edge e) const |
virtual bool | setNodeStringValue (const node inN, const std::string &inV) |
virtual bool | setEdgeStringValue (const edge inE, const std::string &inV) |
virtual bool | setAllNodeStringValue (const std::string &inV) |
virtual bool | setAllEdgeStringValue (const std::string &inV) |
virtual tlp::Iterator< node > * | getNonDefaultValuatedNodes (const Graph *g=NULL) const |
| Returns an iterator on all nodes whose value is different from the default value. When the pointer to the graph is not NULL, only the nodes owned by this graph are returned by the iterator.
|
virtual tlp::Iterator< edge > * | getNonDefaultValuatedEdges (const Graph *g=NULL) const |
| Returns an iterator on all edges whose value is different from the default value. When the pointer to the graph is not NULL, only the edges owned by this graph are returned by the iterator.
|
virtual void | copy (const node destination, const node source, PropertyInterface *property, bool ifNotDefault=false) |
| Copies the value hold by a property on a node to another node on this property.
|
virtual void | copy (const edge destination, const edge source, PropertyInterface *property, bool ifNotDefault=false) |
| Copies the value hold by a property on an edge to another edge on this property.
|
virtual void | copy (PropertyInterface *property) |
| Copies the values hold by a property on this property.
|
virtual DataMem * | getNodeDefaultDataMemValue () const |
virtual DataMem * | getEdgeDefaultDataMemValue () const |
virtual DataMem * | getNodeDataMemValue (const node n) const |
virtual DataMem * | getEdgeDataMemValue (const edge e) const |
virtual DataMem * | getNonDefaultDataMemValue (const node n) const |
virtual DataMem * | getNonDefaultDataMemValue (const edge e) const |
virtual void | setNodeDataMemValue (const node n, const DataMem *v) |
virtual void | setEdgeDataMemValue (const edge e, const DataMem *v) |
virtual void | setAllNodeDataMemValue (const DataMem *v) |
virtual void | setAllEdgeDataMemValue (const DataMem *v) |
virtual void | computeMetaValue (node n, Graph *sg, Graph *mg) |
virtual void | computeMetaValue (edge e, tlp::Iterator< edge > *itE, Graph *mg) |
virtual void | setMetaValueCalculator (PropertyInterface::MetaValueCalculator *mvCalc) |
int | compare (const node n1, const node n2) const |
| Default implementation of PropertyInterface::compare(node n1,node n2)
|
int | compare (const edge e1, const edge e2) const |
| Default implementation of PropertyInterface::compare(edge e1,edge e2)
|
virtual | ~PropertyInterface () |
const std::string & | getName () const |
tlp::Graph * | getGraph () |
MetaValueCalculator * | getMetaValueCalculator () |
void | addPropertyObserver (PropertyObserver *pObs) |
void | removePropertyObserver (PropertyObserver *pObs) |
unsigned int | countPropertyObservers () const |
| Observable () |
_DEPRECATED | Observable (bool) |
virtual | ~Observable () |
tlp::Iterator< Observable * > * | getOnlookers () const |
| return an Iterator on all Onlookers
|
tlp::Iterator< Observable * > * | getObservables () const |
virtual void | treatEvents (const std::vector< Event > &events) |
virtual void _DEPRECATED | update (std::set< Observable * >::iterator, std::set< Observable * >::iterator) |
virtual void _DEPRECATED | observableDestroyed (Observable *) |
virtual void | treatEvent (const Event &) |
void | addObserver (Observable *const obs) const |
| use for old observer tulip compatibility
|
void | addListener (Observable *const obs) const |
| use for old observer tulip compatibility
|
void | removeOnlooker (const Observable &, OLOEDGETYPE type) const |
| remove an Observer/Listener of the observable
|
void | removeObserver (Observable *const obs) const |
| use for old observer tulip compatibility
|
void | removeListener (Observable *const obs) const |
void _DEPRECATED | notifyObservers () |
| use for old observer tulip compatibility
|
unsigned int | countObservers () const |
unsigned int | countOnLookers () const |
unsigned int | countListeners () const |
bool | hasOnlookers () const |
| remove all Observer/Listener of the observable
|
tlp::node | getNode () const |
| return the node representing that OLOObject in the OLOGraph
|
unsigned int | getSent () const |
| return the number of sent nofication
|
unsigned int | getReceived () const |
| return the number of received nofication
|
| GraphObserver () |
virtual | ~GraphObserver () |
| GraphObserver (const GraphObserver &) |
GraphObserver & | operator= (const GraphObserver &) |
virtual void | addNode (Graph *, const node) |
virtual void | addEdge (Graph *, const edge) |
virtual void | beforeSetEnds (Graph *, const edge) |
virtual void | afterSetEnds (Graph *, const edge) |
virtual void | delNode (Graph *, const node) |
virtual void | delEdge (Graph *, const edge) |
virtual void | reverseEdge (Graph *, const edge) |
virtual void | destroy (Graph *) |
virtual void | addSubGraph (Graph *, Graph *) |
virtual void | delSubGraph (Graph *, Graph *) |
virtual void | addLocalProperty (Graph *, const std::string &) |
virtual void | beforeDelLocalProperty (Graph *g, const std::string &pName) |
virtual void | afterDelLocalProperty (Graph *, const std::string &) |
virtual void | delLocalProperty (Graph *, const std::string &) |
virtual void | addInheritedProperty (Graph *, const std::string &) |
virtual void | beforeDelInheritedProperty (Graph *, const std::string &) |
virtual void | afterDelInheritedProperty (Graph *, const std::string &) |
virtual void | beforeSetAttribute (Graph *, const std::string &) |
virtual void | afterSetAttribute (Graph *, const std::string &) |
virtual void | removeAttribute (Graph *, const std::string &) |