The SEDRIS Data Representation Model
APPENDIX C - Types
SE_Polygon_Flag
/*
 * SET: 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 a set.
 */
typedef struct
{
SE_Integer_Unsigned : 1 Backdrop_Ground; (notes)
SE_Integer_Unsigned : 1 Backdrop_Sky; (notes)
SE_Integer_Unsigned : 1 Clutter_Enhanced; (notes)
SE_Integer_Unsigned : 1 Collidible; (notes)
SE_Integer_Unsigned : 1 Concave; (notes)
SE_Integer_Unsigned : 1 Cut; (notes)
SE_Integer_Unsigned : 1 Cut_Imagery; (notes)
SE_Integer_Unsigned : 1 Decal; (notes)
SE_Integer_Unsigned : 1 Dont_Drape; (notes)
SE_Integer_Unsigned : 1 Enable_Feature_Size_Blending; (notes)
SE_Integer_Unsigned : 1 Enable_Fractal; (notes)
SE_Integer_Unsigned : 1 Enable_Polygon_Range_Blending; (notes)
SE_Integer_Unsigned : 1 Footprint; (notes)
SE_Integer_Unsigned : 1 Hat_Test; (notes)
SE_Integer_Unsigned : 1 Inactive; (notes)
SE_Integer_Unsigned : 1 Invisible; (notes)
SE_Integer_Unsigned : 1 Laser_Range_Finding; (notes)
SE_Integer_Unsigned : 1 Moon_Reflection; (notes)
SE_Integer_Unsigned : 1 Opaque_Top; (notes)
SE_Integer_Unsigned : 1 Projectile_Collidible; (notes)
SE_Integer_Unsigned : 1 Raised; (notes)
SE_Integer_Unsigned : 1 Reflective; (notes)
SE_Integer_Unsigned : 1 Shadow; (notes)
SE_Integer_Unsigned : 1 Sun_Illuminated; (notes)
SE_Integer_Unsigned : 1 Terrain; (notes)
SE_Integer_Unsigned : 1 Visible_Floor; (notes)
SE_Integer_Unsigned : 1 Visible_Interior; (notes)
SE_Integer_Unsigned : 1 Visible_Perimeter; (notes)
SE_Integer_Unsigned : 1 Water_Body_Surface; (notes)
} SE_Polygon_Flag;


Field Notes


Backdrop_Ground

 Indicates that the given <Polygon> instance is the
 default "ground" backdrop.

Backdrop_Sky

 Indicates that the given <Polygon> instance is the
 default "sky" backdrop.

Clutter_Enhanced

 Indicates that the given <Polygon> instance has algorithmically
 scattered model instances on it.

Collidible

 Indicates that the given <Polygon> instance is used for
 collision detection.  If an environmental object collides
 with the environmental object represented by the given
 <Polygon> instance, a collision state is set.

Concave

 Indicates whether the given <Polygon> instance is concave.

Cut

 Indicates that the given <Polygon> instance was cut below the
 terrain surface. Such <Polygon> instances are normally derived
 from <Linear Feature> instances corresponding to environmental
 objects such as roads and rivers.

Cut_Imagery

 Indicates that the given <Polygon> instance is to be used to
 cut geospecific imagery into the cultural features.

Decal

 Indicates that the given <Polygon> instance shall always be
 given rendering priority above any other coplanar <Polygon>
 instance. When set to TRUE, this flag supercedes the index
 value in any applicable <Rendering Priority Level> instance.

Dont_Drape

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

Enable_Feature_Size_Blending

 This flag indicates whether feature based blending is enabled.
 All <Polygon> instances that have this flag set will blend
 (geometry and texture) simultaneously based on the size
 (radius) of the original feature that the <Polygon> instances
 were derived from.

Enable_Fractal

 This flag exists to allows the face of the given <Polygon>
 instance to fractalize in real-time, and is provided for
 use in applications such as representing sea states.

 This flag indicates that the shape of the given <Polygon>
 may change at run-time. One example in which this might
 be used is for a <Polygon> instance 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> instance may tend more towards white as the sea
 gets rougher.

Enable_Polygon_Range_Blending

 This flag indicates whether range ring blending is enabled.
 All <Polygon> instances that have this flag set will blend
 (geometry and texture) at the same range (distance).

Footprint

 Indicates that the given <Polygon> instance is a footprint
 for other geometry.

Hat_Test

 Indicates that the given <Polygon> instance P may be used to
 measure the vertical height of an object A that is positioned
 directly above P such that the "height above terrain" (HAT)
 of A is taken to be its height above P.

Inactive

 Indicates that the given <Polygon> instance is inactive,
 or not used.

Invisible

 Indicates that the given <Polygon> instance is invisible,
 or not seen.

Laser_Range_Finding

 Indicates that the given <Polygon> instance is used for
 horizontal tests for computer image generator (CIG)
 applications. This flag is analogous to HAT_TEST, where
 HAT_TEST is used for tests in the vertical direction and
 LASER_RANGE_FINDING is used for tests in the
 horizontal direction.

Moon_Reflection

 Indicates that the moon's reflection is to be
 generated upon the given <Polygon> instance.

Opaque_Top

 This flag is used with the RAISED flag, indicating that
 the given <Polygon> instance has been raised, such that
 it now forms part of a polyhedron, such that the
 top of the polyhedron is opaque.

Projectile_Collidible

 Indicates that the given <Polygon> instance is used for
 projectile collision detection.  If an environmental object
 corresponding to a projectile collides with the environmental
 object represented by the given <Polygon> instance, a
 projectile collision state is set.

Raised

 Indicates that the given <Polygon> instance was a filling polygon
 above the terrain surface. Such <Polygon> instances are normally
 derived from <Linear Feature> instances corresponding to
 environmental objects such as roads.

 This flag also indicates that the given <Polygon> instance was
 raised above the surrounding terrain surface. Such <Polygon>
 instances are normally derived from <Areal Feature> instances
 corresponding to environmental objects such as forest canopies.

Reflective

 This flag indicates that the given <Polygon> instance
 reflects light that is shown on it.

Shadow

 Indicates that the given <Polygon> instance is in a shadow.

Sun_Illuminated

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

Terrain

 Indicates that the given <Polygon> instance is a
 "terrain polygon".

Visible_Floor

 This flag is used with the RAISED flag, indicating that
 the given <Polygon> instance has been raised, such that
 it now forms part of a polyhedron, such that the
 floor of the polyhedron is visible.

Visible_Interior

 This flag is used with the RAISED flag, indicating that
 the given <Polygon> instance has been raised, such that
 it now forms part of a polyhedron, such that the
 interior wall of the polyhedron is visible.

Visible_Perimeter

 This flag is used with the RAISED flag, indicating that
 the given <Polygon> instance has been raised, such that
 it now forms part of a polyhedron, such that the
 perimeter wall of the polyhedron is visible.

Water_Body_Surface

 Indicates that the given <Polygon> instance represents
 water, such that other <Polygon> instances representing
 an ECC_WATER_BODY_FLOOR exist below the given <Polygon>
 instance.



Prev: SE_Point_Light_Display_Type. Next: SE_Predef_Func_Arg_Structure.


Return to: Top of this Page, Type Index

Last updated: July 16, 2004 Copyright © 2004 SEDRIS