The SEDRIS Data Representation Model
APPENDIX A - Classes
Rendering Properties

Class Name: Rendering Properties

Superclass - <SEDRIS Abstract Base>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

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

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

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

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

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

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

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

FAQs

No FAQs supplied.

Constraints

None.

Composed of (two-way)

Component of (two-way)

Inherited Field Elements

This class has no inherited field elements.

Field Elements

SE_Pixel_Fill_Method fill_method; (notes)
SE_Shade_Method shading; (notes)
SE_Colour_Binding colour_binding; (notes)
SE_Token_Set style; (notes)
SE_Token_Set side; (notes)

Notes

Composed of Notes


Presentation_Domain

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

Fields Notes


fill_method

 This indicates the colour blending method to be used.

shading

 This indicates the shading algorithm to be used.

colour_binding

 This indicates the colour inheritance / overload rule in effect.

style

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

side

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

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

Prev: Rendering Priority Level. Next: RGB Colour. Up:Index.

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