Table 6.218 — DRM_Rendering_Properties

Property

Description

Class

  • <DRM Rendering Properties>

Superclass

Subclass

  • None.

Definition

An instance of this DRM class specifies a selection of shading algorithms, display sides, and presentation styles suggested to use when rendering <DRM Geometry> instances, particularly <DRM Polygon> instances.

(Use the SE_TokenSetDefinition() function to determine the underlying type of a class' token set.)

Class diagram

Figure 6.263 — DRM_Rendering_Properties

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

fill_method1

 

Pixel_Fill_Method

shading2

 

Shade_Method

colour_binding3

 

Colour_Binding

style4

 

Display_Style

side5

 

Display_Side

Associated to (one-way) (inherited)

  • None.

Associated to (one-way)

  • None.

Associated by (one-way) (inherited)

  • None.

Associated by (one-way)

  • None.

Associated with (two-way) (inherited)

  • None.

Associated with (two-way)

  • None.

Composed of (two-way) (inherited)

  • None.

Composed of (two-way)

Composed of (two-way metadata) (inherited)

  • None.

Composed of (two-way metadata)

  • None.

Component of (two-way) (inherited)

  • None.

Component of (two-way)

Constraints

Clarifications

1 This indicates the colour blending method to be used.

2 This indicates the shading algorithm to be used.

3 This indicates the colour inheritance / overload rule in effect.

4 This is the set of Display_Style tokens specifying what combination of wire vs. solid style is to be used.

5 This is the set of Display_Side tokens specifying which side(s) to display.

The front side of a <DRM Polygon> is the side that has a counterclockwise orientation of the ordered <DRM Vertex> components of the <DRM Polygon>. Normally either both sides or just the front sides of <DRM Polygon> instances are rendered; rendering just the front side of a <DRM Polygon> culls out the back face of the <DRM Polygon>.

6 If present, this component identifies the type of sensor for which the given <DRM Rendering Properties> instance is applicable.

Example(s)

  • Render flat shaded, solid, front-sides of polygons.

  • Render interpolation shaded, solid, front-sides of polygons.

  • Render Gouraud shaded, wire-frame, both-sides of polygons.

  • Render Phong shaded, solid, back-sides of polygons (possibly for a transmittal that describes an enclosed volume, and all of the polygons defining the enclosed volume face outwards, and the simulation would occur inside the enclosed volume, so only the back sides of the polygons shall be rendered).