---
name: "SquareBorderTextured"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/SquareBorderTextured"
---

# SquareBorderTextured(3tulip)

## NAME

SquareBorderTextured -

- •

  An implementation of square with variable border glyph.

## SYNOPSIS

### Classes

struct **TreeCache**\

### Public Member Functions

**SquareBorderTextured** (GlyphContext \*gc=NULL)\
 virtual **~SquareBorderTextured** ()\
 virtual void **getIncludeBoundingBox** (BoundingBox &boundingBox)\
 virtual void **draw** (node n, float lod)\
 virtual Coord **getAnchor** (const Coord &vector) const \

### Protected Types

typedef stdext::hash\_map\< node, int \> **mapNodeLevel\_t**\
 typedef stdext::hash\_map\< Graph \*, **TreeCache** \> **mapGraphCache\_t**\

### Protected Member Functions

node **findRoot** (node n)\
 bool **initializeNewGraph** (Graph \*, node)\
 void **unInitializeNewGraph** (Graph \*)\
 void **drawSquare** (node n, float borderSize)\
 int **attributeNodeLevel** (node n, int depth, **mapNodeLevel\_t** &mapnodelevel)\
 void **setTulipGLState** (node n)\
 float **calcBorderSum** (int level)\
 void **generateTexture** (Graph \*)\
 virtual void **addNode** (Graph \*, const node)\
 virtual void **addEdge** (Graph \*, const edge)\
 virtual void **delNode** (Graph \*, const node)\
 virtual void **delEdge** (Graph \*, const edge)\
 virtual void **destroy** (Graph \*)\

### Protected Attributes

**mapGraphCache\_t** **mapTree**\

## Detailed Description

- •

  An implementation of square with variable border glyph.

This glyph is an implementation of a square with a variable border. The size of the border depend on the depth of the node, decreasing from the root.

AUTHOR:

Julien Testut, Antony Durand, Pascal Ollier, Yashvin Nababsing, Sebastien Leclerc, Ruchon Thibault, Eric Dauchier, University Bordeaux I France

## Member Typedef Documentation

### typedef stdext::hash\_map\<Graph\*, TreeCache\> SquareBorderTextured::mapGraphCache\_t` [protected]`

### typedef stdext::hash\_map\<node, int\> SquareBorderTextured::mapNodeLevel\_t` [protected]`

## Member Data Documentation

### mapGraphCache\_t SquareBorderTextured::mapTree` [protected]`

## Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.
