The SEDRIS Data Representation Model
APPENDIX C - Types
SE_Polygon_Flag
/*
 * ENUM: SE_Polygon_Flag
 *
 *   These flags are used to indicate the state or use of a
 *   polygon, and are used as values to include or for inclusion
 *   in an SE_Token_Set.
 */
typedef enum
{
SE_POLY_FLAG_TERRAIN = 0x00000001, (notes)
SE_POLY_FLAG_HAT_TEST = 0x00000002, (notes)
SE_POLY_FLAG_COLLIDIBLE = 0x00000004, (notes)
SE_POLY_FLAG_PROJECTILE_COLLIDIBLE = 0x00000008, (notes)
SE_POLY_FLAG_BACKDROP_SKY = 0x00000010, (notes)
SE_POLY_FLAG_BACKDROP_GROUND = 0x00000020, (notes)
SE_POLY_FLAG_CUT = 0x00000040, (notes)
SE_POLY_FLAG_RAISED = 0x00000080, (notes)
SE_POLY_FLAG_DECAL = 0x00000100, (notes)
SE_POLY_FLAG_INACTIVE = 0x00000200, (notes)
SE_POLY_FLAG_INVISIBLE = 0x00000400, (notes)
SE_POLY_FLAG_FOOTPRINT = 0x00000800, (notes)
SE_POLY_FLAG_WATER = 0x00001000, (notes)
SE_POLY_FLAG_CLUTTER_ENHANCED = 0x00002000, (notes)
SE_POLY_FLAG_SHADOW = 0x00004000, (notes)
SE_POLY_FLAG_SUN_ILLUMINATED = 0x00008000, (notes)
SE_POLY_FLAG_MOON_REFLECTION = 0x00010000, (notes)
SE_POLY_FLAG_ENABLE_FRACTAL = 0x00020000, (notes)
SE_POLY_FLAG_CUT_IMAGERY = 0x00040000, (notes)
SE_POLY_FLAG_VISIBLE_PERIMETER = 0x00080000, (notes)
SE_POLY_FLAG_VISIBLE_INTERIOR = 0x00100000, (notes)
SE_POLY_FLAG_VISIBLE_FLOOR = 0x00200000, (notes)
SE_POLY_FLAG_OPAQUE_TOP = 0x00400000, (notes)
SE_POLY_FLAG_LASER_RANGE_FINDING = 0x00800000, (notes)
SE_POLY_FLAG_REFLECTIVE = 0x01000000, (notes)
SE_POLY_FLAG_SITE_OCCULTING = 0x02000000, (notes)
SE_POLY_FLAG_ENABLE_POLYGON_RANGE_BLENDING = 0x04000000, (notes)
SE_POLY_FLAG_ENABLE_FEATURE_SIZE_BLENDING = 0x08000000, (notes)
SE_POLY_FLAG_CONCAVE = 0x10000000, (notes)
SE_POLY_FLAG_DONT_DRAPE = 0x20000000 (notes)
} SE_Polygon_Flag;


Enumerant Notes


SE_POLY_FLAG_TERRAIN

 Indicates that this <Polygon> is a terrain polygon.

SE_POLY_FLAG_HAT_TEST

 Indicates that this <Polygon> is used for height
 above terrain tests for CIG applications.

SE_POLY_FLAG_COLLIDIBLE

 Indicates that this <Polygon> is used for collision
 detection.  If an object collides with this polygon,
 a collision state is set.

SE_POLY_FLAG_PROJECTILE_COLLIDIBLE

 Indicates that this <Polygon> is used for projectile
 collision detection.  If a projectile collides with
 this polygon, a projectile collision state is set.

SE_POLY_FLAG_BACKDROP_SKY

 Indicates that this <Polygon> is the default sky backdrop.

SE_POLY_FLAG_BACKDROP_GROUND

 Indicates that this <Polygon> is the default ground backdrop.

SE_POLY_FLAG_CUT

 Indicates that this <Polygon> was cut below the
 terrain surface. These are normally derived from
 <Linear Features>, such as roads and rivers.

SE_POLY_FLAG_RAISED

 Indicates that this <Polygon> was a filling polygon
 above the terrain surface. These are normally
 derived from linear features such as roads.
 This flag also indicates that this polygon was raised
 above the terrain surface. These are normally
 derived from areal features such as forest
 canopies

SE_POLY_FLAG_DECAL

 Indicates that this <Polygon> always has rendering
 priority above any other coplanar <Polygon>. This flag
 would supercede the index value in any applicable
 <Rendering Priority Level> instance.

SE_POLY_FLAG_INACTIVE

 Indicates that this <Polygon> is inactive, or not used.

SE_POLY_FLAG_INVISIBLE

 Indicates that this <Polygon> is invisible, or not seen.

SE_POLY_FLAG_FOOTPRINT

 Indicates that this <Polygon> is a footprint for
 other geometry.

SE_POLY_FLAG_WATER

 Indicates that this <Polygon> is water. This flag
 is used only when other polygons (i.e. lake bottom)
 are below it.

SE_POLY_FLAG_CLUTTER_ENHANCED

 Indicates that this <Polygon> has algorithmically
 scattered model instances on it.

SE_POLY_FLAG_SHADOW

 Indicates that this <Polygon> is in a shadow.

SE_POLY_FLAG_SUN_ILLUMINATED

 Indicates that this <Polygon> is illuminated
 depending on the position of the sun.

SE_POLY_FLAG_MOON_REFLECTION

 Indicates that the moon's reflection is to be
 generated upon this <Polygon>

SE_POLY_FLAG_ENABLE_FRACTAL

 Allows the face of this polygon to fractalize in
 real-time; provided for use in applications such
 as representing sea states.

 This flag indicates that the shape of this <Polygon>
 may change at run-time. One example in which this
 might be used is for a <Polygon> representing part
 of the surface of a body of water, such as a sea.
 In such an example, the colour might also change
 if different colour textures were being used for
 the surface. For 3D representations of a sea
 surface that changes with (for instance)
 EAC_BEAUFORT_WIND_SCALE, the colour of a <Polygon>
 may tend more towards white as the sea gets rougher.

SE_POLY_FLAG_CUT_IMAGERY

 Flags the polygon to be used to cut geospecific
 imagery into the cultural features

SE_POLY_FLAG_VISIBLE_PERIMETER

 This flag is used with the RAISED_POLYGON flag,
 indicating that it has been raised, but also
 specifies that the perimeter wall is visible.

SE_POLY_FLAG_VISIBLE_INTERIOR

 This flag is used with the RAISED_POLYGON flag,
 indicating that it has been raised, but also
 specifies that the interior wall is visible.

SE_POLY_FLAG_VISIBLE_FLOOR

 This flag is used with the RAISED_POLYGON flag,
 indicating that it has been raised, but also
 specifies that the floor is visible.

SE_POLY_FLAG_OPAQUE_TOP

 This flag is used with the RAISED_POLYGON flag,
 indicating that it has been raised, but also
 specifies that the top is opaque.

SE_POLY_FLAG_LASER_RANGE_FINDING

 Indicates that this polygon is used for horizontal
 tests for CIG applications.
 This flag is much like the HAT_TEST_POLYGON type.
 Instead of testing in the vertical direction, this
 flag indicates the polygon is used in tests in the
 horizontal direction.

SE_POLY_FLAG_REFLECTIVE

 This flag indicates that it reflects light that
 is shown on it.

SE_POLY_FLAG_SITE_OCCULTING

 This flag indicates that this polygon is a threat
 site, and is not occulted by other polygons.

SE_POLY_FLAG_ENABLE_POLYGON_RANGE_BLENDING

 This flag indicates that range ring blending is
 enabled. Polygons that have this flag set will
 all blend (geometry and texture) at the same
 range (distance).

SE_POLY_FLAG_ENABLE_FEATURE_SIZE_BLENDING

 This flag indicates that feature based blending is
 enabled. Polygons that have this flag set will all
 blend (geometry and texture) simultaneously based
 on the size (radius) of the original feature that
 the polygons were derived from.

SE_POLY_FLAG_CONCAVE

 This flag indicates that the <Polygon> is concave.

SE_POLY_FLAG_DONT_DRAPE

 For conforming <Polygons> (<Polygons> with all <LSR Location 2Ds>), a
 <Polygon> usually drapes across the terrain, breaking into multiple
 polygons if the draped polygon crosses terrain facets.  If this flag
 is set, then the <Polygon> is not draped and does not break at
 terrain facets.  Instead, terrain facets are ignored.  The <Polygon>
 is simply defined by the locations of its conformed <Vertex> components.



Prev: SE_Pixel_Fill_Method. Next: SE_Predef_Func_Arg_Structure.


Return to: Top of this Page, Type Index

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™