Overview | Modules | Class Hierarchy | Classes | Members

# tlp::QtMetaNodeRenderer Class Reference

`#include <QtMetaNodeRenderer.h>`

Collaboration diagram for tlp::QtMetaNodeRenderer:

[legend]
List of all members.

## Detailed Description

Class use to render a meta node, this version render nothing

## Public Member Functions

- QtMetaNodeRenderer (QWidget *parent, GlMainWidget *widget, GlGraphInputData *inputData)
- ~QtMetaNodeRenderer ()
- void update (std::set< Observable * >::iterator begin, std::set< Observable * >::iterator end)
- void observableDestroyed (Observable *)
- void addNode (Graph *graph, const node)
- void addEdge (Graph *graph, const edge)
- void delNode (Graph *graph, const node)
- void delEdge (Graph *graph, const edge)
- void reverseEdge (Graph *graph, const edge)
- void destroy (Graph *graph)
- void addSubGraph (Graph *graph, Graph *)
- void delSubGraph (Graph *graph, Graph *)
- void addLocalProperty (Graph *graph, const std::string &)
- void delLocalProperty (Graph *graph, const std::string &)
- void checkPropertyInterface (PropertyInterface *property)
- void beforeSetNodeValue (PropertyInterface *property, const node)
- void afterSetNodeValue (PropertyInterface *property, const node)
- void beforeSetEdgeValue (PropertyInterface *property, const edge)
- void afterSetEdgeValue (PropertyInterface *property, const edge)
- void beforeSetAllNodeValue (PropertyInterface *property)
- void afterSetAllNodeValue (PropertyInterface *property)
- void beforeSetAllEdgeValue (PropertyInterface *property)
- void afterSetAllEdgeValue (PropertyInterface *property)
- void destroy (PropertyInterface *property)
- void clearObservers ()
- virtual void prerender (node n, float lod, Camera *camera)
- virtual void render (node n, float lod, Camera *camera)
- virtual bool havePrerender ()
- virtual bool glMetaNodeHaveToRenderLabels ()
- virtual void setInputData (GlGraphInputData *data)
- virtual GlGraphInputData * getInputData ()
- void setBackgroundColor (const Color &color)
- void setStopUpdateMetaNodes (bool stopUpdate)

## Protected Attributes

- QWidget * parent
- GlMainWidget * parentGlMainWidget
- std::map< node, std::pair<
  int, int > > metaNodeTextureSize
- std::map< Graph *, node > graphToMetaNode
- std::list< std::string > textureName
- std::map< Graph *, std::list<
  Graph * > > parentGraphToGraph
- std::multimap< PropertyInterface *,
  Graph * > propertyToGraph
- TLP_HASH_MAP< Graph *, bool > haveToRenderGraph
- GlMainWidget * glMainWidget
- GlGraphInputData * inputData
- Color backgroundColor
- bool stopUpdateMetaNodes

## Static Protected Attributes

- static unsigned int depth

## Constructor & Destructor Documentation

tlp::QtMetaNodeRenderer::QtMetaNodeRenderer | ( | QWidget * | parent,
|  | GlMainWidget * | widget,
|  | GlGraphInputData * | inputData
| ) |

tlp::QtMetaNodeRenderer::~QtMetaNodeRenderer | ( |  | ) |

## Member Function Documentation

void tlp::QtMetaNodeRenderer::addEdge | ( | Graph * | graph,
|  | const | edge
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::addLocalProperty | ( | Graph * | graph,
|  | const std::string & |
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::addNode | ( | Graph * | graph,
|  | const | node
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::addSubGraph | ( | Graph * | graph,
|  | Graph * |
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::afterSetAllEdgeValue | ( | PropertyInterface * | property | ) | `[inline]`

void tlp::QtMetaNodeRenderer::afterSetAllNodeValue | ( | PropertyInterface * | property | ) | `[inline]`

void tlp::QtMetaNodeRenderer::afterSetEdgeValue | ( | PropertyInterface * | property,
|  | const | edge
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::afterSetNodeValue | ( | PropertyInterface * | property,
|  | const | node
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::beforeSetAllEdgeValue | ( | PropertyInterface * | property | ) | `[inline]`

void tlp::QtMetaNodeRenderer::beforeSetAllNodeValue | ( | PropertyInterface * | property | ) | `[inline]`

void tlp::QtMetaNodeRenderer::beforeSetEdgeValue | ( | PropertyInterface * | property,
|  | const | edge
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::beforeSetNodeValue | ( | PropertyInterface * | property,
|  | const | node
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::checkPropertyInterface | ( | PropertyInterface * | property | ) | `[inline]`

void tlp::QtMetaNodeRenderer::clearObservers | ( |  | ) |

void tlp::QtMetaNodeRenderer::delEdge | ( | Graph * | graph,
|  | const | edge
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::delLocalProperty | ( | Graph * | graph,
|  | const std::string & |
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::delNode | ( | Graph * | graph,
|  | const | node
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::delSubGraph | ( | Graph * | graph,
|  | Graph * |
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::destroy | ( | PropertyInterface * | property | ) | `[inline]`

void tlp::QtMetaNodeRenderer::destroy | ( | Graph * | graph | ) |

virtual GlGraphInputData* tlp::QtMetaNodeRenderer::getInputData | ( |  | ) | `[inline, virtual]`

virtual bool tlp::QtMetaNodeRenderer::glMetaNodeHaveToRenderLabels | ( |  | ) | `[inline, virtual]`

virtual bool tlp::QtMetaNodeRenderer::havePrerender | ( |  | ) | `[inline, virtual]`

void tlp::QtMetaNodeRenderer::observableDestroyed | ( | Observable * |  | ) | `[inline]`

virtual void tlp::QtMetaNodeRenderer::prerender | ( | node | n,
|  | float | lod,
|  | Camera * | camera
| ) | `[virtual]`

virtual void tlp::QtMetaNodeRenderer::render | ( | node | n,
|  | float | lod,
|  | Camera * | camera
| ) | `[virtual]`

void tlp::QtMetaNodeRenderer::reverseEdge | ( | Graph * | graph,
|  | const | edge
| ) | `[inline]`

void tlp::QtMetaNodeRenderer::setBackgroundColor | ( | const Color & | color | ) |

virtual void tlp::QtMetaNodeRenderer::setInputData | ( | GlGraphInputData * | data | ) | `[inline, virtual]`

void tlp::QtMetaNodeRenderer::setStopUpdateMetaNodes | ( | bool | stopUpdate | ) | `[inline]`

void tlp::QtMetaNodeRenderer::update | ( | std::set< Observable * >::iterator | begin,
|  | std::set< Observable * >::iterator | end
| ) | `[inline]`

## Member Data Documentation

Color tlp::QtMetaNodeRenderer::backgroundColor `[protected]`

unsigned int tlp::QtMetaNodeRenderer::depth `[static, protected]`

GlMainWidget* tlp::QtMetaNodeRenderer::glMainWidget `[protected]`

std::map<Graph *,node> tlp::QtMetaNodeRenderer::graphToMetaNode `[protected]`

TLP_HASH_MAP<Graph *,bool> tlp::QtMetaNodeRenderer::haveToRenderGraph `[protected]`

GlGraphInputData* tlp::QtMetaNodeRenderer::inputData `[protected]`

std::map<node,std::pair<int,int> > tlp::QtMetaNodeRenderer::metaNodeTextureSize `[protected]`

QWidget* tlp::QtMetaNodeRenderer::parent `[protected]`

GlMainWidget* tlp::QtMetaNodeRenderer::parentGlMainWidget `[protected]`

std::map<Graph *,std::list<Graph *> > tlp::QtMetaNodeRenderer::parentGraphToGraph `[protected]`

std::multimap<PropertyInterface *, Graph*> tlp::QtMetaNodeRenderer::propertyToGraph `[protected]`

bool tlp::QtMetaNodeRenderer::stopUpdateMetaNodes `[protected]`

std::list<std::string> tlp::QtMetaNodeRenderer::textureName `[protected]`

Tulip Software by LaBRI Visualization Team 2001 - 2010