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 union
{
SE_Integer_Unsigned member;
struct
{

SE_Integer_Unsigned : 1  Backdrop_Ground;1
SE_Integer_Unsigned : 1  Backdrop_Sky;2
SE_Integer_Unsigned : 1  Clutter_Enhanced;3
SE_Integer_Unsigned : 1  Collidible;4
SE_Integer_Unsigned : 1  Concave;5
SE_Integer_Unsigned : 1  Cut;6
SE_Integer_Unsigned : 1  Cut_Imagery;7
SE_Integer_Unsigned : 1  Decal;8
SE_Integer_Unsigned : 1  Dont_Drape;9
SE_Integer_Unsigned : 1  Enable_Feature_Size_Blending;10
SE_Integer_Unsigned : 1  Enable_Fractal;11
SE_Integer_Unsigned : 1  Enable_Polygon_Range_Blending;12
SE_Integer_Unsigned : 1  Footprint;13
SE_Integer_Unsigned : 1  Hat_Test;14
SE_Integer_Unsigned : 1  Inactive;15
SE_Integer_Unsigned : 1  Invisible;16
SE_Integer_Unsigned : 1  Laser_Range_Finding;17
SE_Integer_Unsigned : 1  Moon_Reflection;18
SE_Integer_Unsigned : 1  Opaque_Top;19
SE_Integer_Unsigned : 1  Projectile_Collidible;20
SE_Integer_Unsigned : 1  Raised;21
SE_Integer_Unsigned : 1  Reflective;22
SE_Integer_Unsigned : 1  Shadow;23
SE_Integer_Unsigned : 1  Sun_Illuminated;24
SE_Integer_Unsigned : 1  Terrain;25
SE_Integer_Unsigned : 1  Visible_Floor;26
SE_Integer_Unsigned : 1  Visible_Interior;27
SE_Integer_Unsigned : 1  Visible_Perimeter;28
SE_Integer_Unsigned : 1  Waterbody_Surface;29
} member; } SE_Polygon_Flag;

Field Notes

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

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

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

4 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.

5 Indicates whether the given <Polygon> instance is concave.

6 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.

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

8 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.

9 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, 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.

10 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.

11 This flag exists to allow 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.

12 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).

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

14 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.

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

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

17 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.

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

19 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.

20 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.

21 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.

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

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

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

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

26 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.

27 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.

28 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.

29 Indicates that the given <Polygon> instance represents water, such that other <Polygon> instances representing an ECC_WATERBODY_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