---
name: "Cube"
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/Cube/3tulip"
---

# Cube(3tulip)

A 3D glyph.

## NAME

Cube -

A 3D glyph.

## SYNOPSIS

### Public Member Functions

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

### Protected Member Functions

void **drawCube** ()\

## Detailed Description

A 3D glyph.

This glyph draws a textured cube using the 'viewTexture' node property value. If this property has no value, the cube is then colored using the 'viewColor' node property value.

## Author

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