---
name: "tlp_ForegroundEntity"
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/tlp_ForegroundEntity"
---

# tlp\_ForegroundEntity(3tulip)

Abstract class use by entities who want to be displayed in foreground of GlMainWidget.

## NAME

tlp::ForegroundEntity -

Abstract class use by entities who want to be displayed in foreground of **GlMainWidget**.

## SYNOPSIS

`#include <ForegroundEntity.h>`

### Public Member Functions

virtual **~ForegroundEntity** ()\
 virtual void **draw** (**GlMainWidget** \*glMainWidget)=0\

## Detailed Description

Abstract class use by entities who want to be displayed in foreground of **GlMainWidget**.

This class is use by entities who want to be displayed in foreground of **GlMainWidget**

**Warning:**

This entities are very special, this is reserved to entities who can't be in scene (for example rectangle on overview widget)

## Constructor & Destructor Documentation

### virtual tlp::ForegroundEntity::~ForegroundEntity ()` [inline, virtual]`

## Member Function Documentation

### virtual void tlp::ForegroundEntity::draw (GlMainWidget \* glMainWidget)` [pure virtual]` function to draw the entity

## Author

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