Overview | Modules | Class Hierarchy | Classes | Members

# tlp::GlGraphRenderingParameters Class Reference

`#include <GlGraphRenderingParameters.h>`

List of all members.

## Detailed Description

That class defines all the paremters used by the GlGraph class during the rendering of a graph.

## Public Member Functions

- GlGraphRenderingParameters ()
- DataSet getParameters () const
- void setParameters (const DataSet &)
- void setAntialiasing (const bool state)
- bool isAntialiased () const
- void setViewArrow (const bool state)
- bool isViewArrow () const
- void setViewNodeLabel (const bool state)
- bool isViewNodeLabel () const
- void setViewEdgeLabel (const bool state)
- bool isViewEdgeLabel () const
- void setEdgeColorInterpolate (const bool state)
- bool isEdgeColorInterpolate () const
- void setEdgeSizeInterpolate (const bool state)
- bool isEdgeSizeInterpolate () const
- unsigned int getFontsType () const
- void setFontsType (unsigned int type)
- void setTexturePath (const std::string &path)
- std::string getTexturePath () const
- void setFontsPath (const std::string &path)
- std::string getFontsPath ()
- void setIncrementalRendering (const bool state)
- bool isIncrementalRendering () const
- void setViewMetaLabel (const bool state)
- bool isViewMetaLabel () const
- void setDisplayEdges (const bool state)
- bool isDisplayEdges () const
- void setDisplayNodes (const bool state)
- bool isDisplayNodes () const
- void setDisplayMetaNodes (const bool state)
- bool isDisplayMetaNodes () const
- void setSelectedNodesStencil (const int stencil)
- int getSelectedNodesStencil ()
- void setSelectedMetaNodesStencil (const int stencil)
- int getSelectedMetaNodesStencil ()
- void setSelectedEdgesStencil (const int stencil)
- int getSelectedEdgesStencil ()
- void setNodesStencil (const int stencil)
- int getNodesStencil ()
- void setMetaNodesStencil (const int stencil)
- int getMetaNodesStencil ()
- void setEdgesStencil (const int stencil)
- int getEdgesStencil ()
- void setNodesLabelStencil (const int stencil)
- int getNodesLabelStencil ()
- void setMetaNodesLabelStencil (const int stencil)
- int getMetaNodesLabelStencil ()
- void setEdgesLabelStencil (const int stencil)
- int getEdgesLabelStencil ()
- void setElementOrdered (const bool state)
- bool isElementOrdered () const
- void setElementZOrdered (const bool state)
- bool isElementZOrdered () const
- void setEdge3D (const bool state)
- bool isEdge3D () const
- unsigned int getLabelsBorder () const
- void setLabelsBorder (const unsigned int)
- void setEdgesMaxSizeToNodesSize (const bool b)
- bool getEdgesMaxSizeToNodesSize () const
- void setFeedbackRender (bool feedback)
- bool getFeedbackRender ()
- void setSelectionColor (const Color &color)
- Color getSelectionColor ()

## Constructor & Destructor Documentation

tlp::GlGraphRenderingParameters::GlGraphRenderingParameters | ( |  | ) |

## Member Function Documentation

int tlp::GlGraphRenderingParameters::getEdgesLabelStencil | ( |  | ) |

| get stencil number for edges label

bool tlp::GlGraphRenderingParameters::getEdgesMaxSizeToNodesSize | ( |  | ) | const

| return if Edge max size is block to node size

int tlp::GlGraphRenderingParameters::getEdgesStencil | ( |  | ) |

| get stencil number for edges

bool tlp::GlGraphRenderingParameters::getFeedbackRender | ( |  | ) |

| return true if the graph is draw with feedback information

std::string tlp::GlGraphRenderingParameters::getFontsPath | ( |  | ) |

| return the absolute path used for the fonts loading

unsigned int tlp::GlGraphRenderingParameters::getFontsType | ( |  | ) | const

| return the type of fonts used in the renderer(0=3D,1=bitmap,2=texture)

unsigned int tlp::GlGraphRenderingParameters::getLabelsBorder | ( |  | ) | const

| Get the size of the border that is added to any label when using bitmap fonts.

int tlp::GlGraphRenderingParameters::getMetaNodesLabelStencil | ( |  | ) |

| get stencil number for meta-nodes label

int tlp::GlGraphRenderingParameters::getMetaNodesStencil | ( |  | ) |

| get stencil number for meta-nodes

int tlp::GlGraphRenderingParameters::getNodesLabelStencil | ( |  | ) |

| get stencil number for nodes label

int tlp::GlGraphRenderingParameters::getNodesStencil | ( |  | ) |

| get stencil number for nodes

DataSet tlp::GlGraphRenderingParameters::getParameters | ( |  | ) | const

int tlp::GlGraphRenderingParameters::getSelectedEdgesStencil | ( |  | ) |

| get stencil number for selected edges

int tlp::GlGraphRenderingParameters::getSelectedMetaNodesStencil | ( |  | ) |

| get stencil number for selected meta-nodes

int tlp::GlGraphRenderingParameters::getSelectedNodesStencil | ( |  | ) |

| get stencil number for selected nodes

Color tlp::GlGraphRenderingParameters::getSelectionColor | ( |  | ) |

| return the selection color

std::string tlp::GlGraphRenderingParameters::getTexturePath | ( |  | ) | const

| return the absolute path used for texture loading

bool tlp::GlGraphRenderingParameters::isAntialiased | ( |  | ) | const

| return true if antialiasing is activated else false.

bool tlp::GlGraphRenderingParameters::isDisplayEdges | ( |  | ) | const

| return true if edges are displayed.

bool tlp::GlGraphRenderingParameters::isDisplayMetaNodes | ( |  | ) | const

| return true if meta-nodes are displayed.

bool tlp::GlGraphRenderingParameters::isDisplayNodes | ( |  | ) | const

| return true if nodes are displayed.

bool tlp::GlGraphRenderingParameters::isEdge3D | ( |  | ) | const

| return true if 3D drawing of edges is activated

bool tlp::GlGraphRenderingParameters::isEdgeColorInterpolate | ( |  | ) | const

| return true if color interpolation is activated

bool tlp::GlGraphRenderingParameters::isEdgeSizeInterpolate | ( |  | ) | const

| return true if color interpolation is activated

bool tlp::GlGraphRenderingParameters::isElementOrdered | ( |  | ) | const

| return true if element ordering is activated

bool tlp::GlGraphRenderingParameters::isElementZOrdered | ( |  | ) | const

| return true if element Z ordering is activated

bool tlp::GlGraphRenderingParameters::isIncrementalRendering | ( |  | ) | const

| return the incremental rendering state

bool tlp::GlGraphRenderingParameters::isViewArrow | ( |  | ) | const

return true if arrows drawing is activated else false.

See also:
  setViewArrow

bool tlp::GlGraphRenderingParameters::isViewEdgeLabel | ( |  | ) | const

| return true if drawing of nodes' labels is activated.

bool tlp::GlGraphRenderingParameters::isViewMetaLabel | ( |  | ) | const

| return the true if viewMetaLabels is enable else false

bool tlp::GlGraphRenderingParameters::isViewNodeLabel | ( |  | ) | const

| return true if drawing of nodes' labels is activated.

void tlp::GlGraphRenderingParameters::setAntialiasing | ( | const bool | state | ) |

| activate or deactivate anlialiasing

void tlp::GlGraphRenderingParameters::setDisplayEdges | ( | const bool | state | ) |

| If true edges are displayed.

void tlp::GlGraphRenderingParameters::setDisplayMetaNodes | ( | const bool | state | ) |

| If true meta-nodes are displayed.

void tlp::GlGraphRenderingParameters::setDisplayNodes | ( | const bool | state | ) |

| If true nodes are displayed.

void tlp::GlGraphRenderingParameters::setEdge3D | ( | const bool | state | ) |

| if true use 3D displaying of edges instead of 2D lines on ALL edges

void tlp::GlGraphRenderingParameters::setEdgeColorInterpolate | ( | const bool | state | ) |

| activate or deactivate interpolation of nodes colors along edge

void tlp::GlGraphRenderingParameters::setEdgeSizeInterpolate | ( | const bool | state | ) |

| activate or deactivate interpolation of nodes colors along edge

void tlp::GlGraphRenderingParameters::setEdgesLabelStencil | ( | const int | stencil | ) |

| set stencil number for edges label

void tlp::GlGraphRenderingParameters::setEdgesMaxSizeToNodesSize | ( | const bool | b | ) |

| set if Edge max size is block to node size

void tlp::GlGraphRenderingParameters::setEdgesStencil | ( | const int | stencil | ) |

| set stencil number for edges

void tlp::GlGraphRenderingParameters::setElementOrdered | ( | const bool | state | ) |

| If true node and edges are ordered according to the viewMetric property

void tlp::GlGraphRenderingParameters::setElementZOrdered | ( | const bool | state | ) |

| If true node and edges are ordered according to the distance with camera

void tlp::GlGraphRenderingParameters::setFeedbackRender | ( | bool | feedback | ) |

| if true draw graph with feedback information (very low)

void tlp::GlGraphRenderingParameters::setFontsPath | ( | const std::string & | path | ) |

| set the absolute path used for the fonts loading

void tlp::GlGraphRenderingParameters::setFontsType | ( | unsigned int | type | ) |

| set fonts type used in the renderer (0=3D,1=bitmap,2=texture)

void tlp::GlGraphRenderingParameters::setIncrementalRendering | ( | const bool | state | ) |

| if true glgraph use the incremental rendering else display all elements in one pass

void tlp::GlGraphRenderingParameters::setLabelsBorder | ( | const unsigned | int | ) |

| Get the size of the border that is added to any label when using bitmap fonts. Setting this parameter to a high value enables de reduce the label density in the final drawing. Default value is set to 2 which enables readable labels.

void tlp::GlGraphRenderingParameters::setMetaNodesLabelStencil | ( | const int | stencil | ) |

| set stencil number for meta-nodes label

void tlp::GlGraphRenderingParameters::setMetaNodesStencil | ( | const int | stencil | ) |

| set stencil number for meta-nodes

void tlp::GlGraphRenderingParameters::setNodesLabelStencil | ( | const int | stencil | ) |

| set stencil number for nodes label

void tlp::GlGraphRenderingParameters::setNodesStencil | ( | const int | stencil | ) |

| set stencil number for nodes

void tlp::GlGraphRenderingParameters::setParameters | ( | const DataSet & |  | ) |

void tlp::GlGraphRenderingParameters::setSelectedEdgesStencil | ( | const int | stencil | ) |

| set stencil number for selected edges

void tlp::GlGraphRenderingParameters::setSelectedMetaNodesStencil | ( | const int | stencil | ) |

| set stencil number for selected meta-nodes

void tlp::GlGraphRenderingParameters::setSelectedNodesStencil | ( | const int | stencil | ) |

| set stencil number for selected nodes

void tlp::GlGraphRenderingParameters::setSelectionColor | ( | const Color & | color | ) |

| Change the selection color

void tlp::GlGraphRenderingParameters::setTexturePath | ( | const std::string & | path | ) |

| set the path for the texture loading

void tlp::GlGraphRenderingParameters::setViewArrow | ( | const bool | state | ) |

| activate or deactivate displaying of arrows along the graph's edges.

void tlp::GlGraphRenderingParameters::setViewEdgeLabel | ( | const bool | state | ) |

| activate or deactivate displaying of labels on nodes.

void tlp::GlGraphRenderingParameters::setViewMetaLabel | ( | const bool | state | ) |

| If true and if labels are activated label inside meta nodes will be displayed

void tlp::GlGraphRenderingParameters::setViewNodeLabel | ( | const bool | state | ) |

| activate or deactivate displaying of labels on nodes.

Tulip Software by LaBRI Visualization Team 2001 - 2010