logo

Macro Programming

logo
Contents

layers Class Reference

Layer display setup class. More...

#include <layers.h>

List of all members.


Static Public Member Functions

static void enableAllLayer ()
 enable all layers
static int findLayer (string layerName)
 finding a layer
static void hideAllLayer ()
 hide all layers
static void reset3dView ()
 reset 3d view
static void showAllLayer ()
 show all layers

Static Public Attributes

static layer num [128]
 setup for a single layer

Detailed Description

Layer display setup class.

This class is the global setup for the display of all layers. Each layer is identified by a number between 0 and 127. The setup of a single layer can setup by the static public attribute num.

layers::num[5].name="Layer Number 5";
The class layers can not be used as type.
See also:
class layer


Member Function Documentation

static void layers::enableAllLayer (  )  [static]

enable all layers

makes all layers enable

static int layers::findLayer ( string  layerName  )  [static]

finding a layer

Use this function to find the number of a layer.

Parameters:
layerName name of the wanted layer
Returns:
number of the layer if found, -1 if layerName is not found

static void layers::hideAllLayer (  )  [static]

hide all layers

makes all layer invisible

static void layers::reset3dView (  )  [static]

reset 3d view

The 3D view of all layers is reset and turned off.

static void layers::showAllLayer (  )  [static]

show all layers

makes all layer visible


Member Data Documentation

layer layers::num[128] [static]

setup for a single layer

Each layer can setup seperately via the class layer. The layer-class can be accessed by this array.

See also:
layer


Contents
SourceForge.net Logo