NAME

GDX_ATTRIBUTES - Attribute Entity

GENERAL DESCRIPTION

A GDX Attributes entity contains a list of attributes to be associated to GDX entities. The actual association is via the GDX entities original database pointer.

Functions are provided to manage the attributes for more in formation see the "ENTITY ATTRIBUTES" section of the gdx_intro page.

DDF SPECIFICATION

entity 100:0 GDX_ATTRIBUTES "Attributes" {
count NUM_OF_PTRS;
ptr NATIVE_GEOM_PTRS[NUM_OF_PTRS];
struct COLOR{
double RED;
double GREEN;
double BLUE;
vstring NAME;
};
double MATRIX[];
vstring LABEL;
count NUM_OF_LEVELS;
vstring LEVEL[NUM_OF_LEVELS];
char HIERARCHY;
};

FIELD DESCRIPTIONS

Not all fields apply to all entities. As such, the fields can indicate no value.

NUM_OF_PTRS

Number of geometric pointers referencing this attribute

NATIVE_GEOM_PTRS[NUM_OF_PTRS]

List of original database pointers associated to this attrribute.

COLOR

Color attribute in the GDX subsystem No color is indicated by a RED, GREEN, or BLUE value equal to -1.0. The default is for no color.

RED

Red value as the percentage (0-100) of full intensity

GREEN

Green value as the percentage (0-100) of full intensity

BLUE

Blue value as the percentage (0-100) of full intensity

NAME

String value for name of the color. The default is NULL, indicating no color name.

MATRIX

The transformation matrix from the native entity that was applied to the GDX entity during creation. This matrix is a GDX_MATRIX (typedef available by including gdx_Interface.h) which is a 1D array of 12 doubles that represent a 3x4 matrix. For a detailed description of the fields corresponding to a GDX_MATRIX, see the gdx_entity_intro manual page. The default is NULL, no matrix.

LABEL

Entity Label in Alphanumeric Format. May be NULL.

NUM_OF_LEVELS

Number of levels (layers) associated. The default is 0, indicating no levels.

LEVEL[NUM_OF_LEVELS]

List of levels in Alphanumeric Format. Will be NULL if NUM_OF_LEVELS == 0.

HIERARCHY

Parent Attributes Apply

0

Parent Attributes Apply

1

Local Attributes Apply