Overview     Modules     Class Hierarchy     Classes     Members  
tlp::GlGraphRenderingParameters Class Reference

#include <GlGraphRenderingParameters.h>

List of all members.

Public Member Functions


Detailed Description

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


Constructor & Destructor Documentation


Member Function Documentation

Get the boolean property use to filtering displaying of nodes/edges

get stencil number for edges label

return if Edge max size is block to node size

get stencil number for edges

Gets the property used for element ordering. Setting it to NULL will use viewMetric if the ordering is enabled.

Returns:
:DoubleProperty* The Property curretly used.

return true if the graph is draw with feedback information

return the absolute path used for the fonts loading

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

return if labels are billboarded

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

Deprecated:
Use getLabelsDensity instead

Return labels density This density must be in interval -100 100 -100 : No labels 0 : No overlap 100 : All labels

return max size of label : this max size is only used if labels aren't be scaled

get stencil number for meta-nodes label

get stencil number for meta-nodes

return min size of label : this min size is only used if labels aren't be scaled

get stencil number for nodes label

get stencil number for nodes

Gets the LOD below which the point mode is activated.

Returns:
float

return if polylines are bicolored

get stencil number for selected edges

get stencil number for selected meta-nodes

get stencil number for selected nodes

return the selection color

return the absolute path used for texture loading

return true if antialiasing is activated else false.

return true if edges are displayed.

return true if meta-nodes are displayed.

return true if nodes are displayed.

return true if 3D drawing of edges is activated

return true if color interpolation is activated

return true if color interpolation is activated

return true if element ordering is activated

return true if element Z ordering is activated

return the incremental rendering state

return if labels can be overlaped

Deprecated:
Use getLabelsDensity instead

return if labels are scaled to node size

return true if arrows drawing is activated else false.

See also:
setViewArrow

return true if drawing of nodes' labels is activated.

return the true if viewMetaLabels is enable else false

return true if drawing of nodes' labels is activated.

return true if drawing of outscreen labels is activated.

activate or deactivate anlialiasing

If true edges are displayed.

void tlp::GlGraphRenderingParameters::setDisplayFilteringProperty ( BooleanProperty *  filteringProperty) [inline]

This property is use to filter nodes/edges display, for a node/edge if this property is false : the node/edge will not be diplayed Warning : this property will not be saved in DataSet

If true meta-nodes are displayed.

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

activate or deactivate interpolation of nodes colors along edge

activate or deactivate interpolation of nodes colors along edge

set stencil number for edges label

set if Edge max size is block to node size

set stencil number for edges

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

void tlp::GlGraphRenderingParameters::setElementOrderingProperty ( tlp::DoubleProperty *  property)

Defines which property is used for the element ordering.

Parameters:
propertyThe property to use to order the elements.
Returns:
void

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

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)

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

Set if labels can be overlaped

Deprecated:
Use setLabelsDensity instead
void tlp::GlGraphRenderingParameters::setLabelsAreBillboarded ( bool  billboarded) [inline]

Set if labels are billboarded

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.

Deprecated:
Use setLabelsDensity instead

Set if labels are scaled to node size

Set labels density This density must be in interval -100 100 -100 : No labels 0 : No overlap 100 : All labels

Set max size of label : this max size is only used if labels aren't be scaled

set stencil number for meta-nodes label

set stencil number for meta-nodes

Set min size of label : this min size is only used if labels aren't be scaled

set stencil number for nodes label

set stencil number for nodes

void tlp::GlGraphRenderingParameters::setPointModeLOD ( const float  pointModeLOD)

Sets the LOD below which the point mode is activated. If the lod is strictly less than the value, the point mode will be activated.

Parameters:
pointModeLODThe LOD at which to enable point mode.
Returns:
void

Set if polylines are bicolored

set stencil number for selected edges

set stencil number for selected meta-nodes

set stencil number for selected nodes

Change the selection color

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

set the path for the texture loading

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

activate or deactivate displaying of labels on nodes.

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

activate or deactivate displaying of labels on nodes.

activate or deactivate displaying of labels outside the screen.



Tulip Software by LaBRI Visualization Team    2001 - 2012