SilverScreen Solid Modeler

SYMBOL_NODE        

SYMBOL_NODE        

Previous topic Next topic  

SYMBOL_NODE        

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

SYMBOL_NODE

 

Structure

An entity-level data type that stores the information associated with a SilverScreen symbol

 

   

 struct SYMBOL_NODE : BOS_NODE

    {

    MATRIX      matrix;

    double      pattern_scale;

    MODEL_NODE  *model;

    SCHEMA_NODE *first_schema;

    TAG_NODE    *first_tag;

    NAME        model_name;

    FILE_NAME   library_name;

    RGB         pattern_rgb;

    RGB         surface_rgb;

    int         bits_surface;

    int         surface_pattern_number;

    };

 

 

 

Members

Member

Description

matrix

The transformation matrix that is applied to the model geometry to render the symbol.

pattern_scale

A scaling factor that is applied to all patterns of all primitives contained by the symbol when 0x2 is enabled in 'bits_surface'.

model

A pointer to the model geometry that represents the symbol. The geometry is in model space and must be transformed through the symbol matrix to be mapped to world space.

first_schema

A SCHEMA_NODE pointer to the first schema associated with the symbol.

first_tag

A TAG_NODE pointer to the first tag associated with the symbol.

model_name

The name of the model 'model'.

library_name

The model library in which the model 'model' is contained.

pattern_rgb

The color that is used to over-ride all patterns of all primitives contained by the symbol when 0x1 is enabled in 'bits_surface'

surface_rgb

The color that is used to over-ride all surface colors of all primitives contained by the symbol when 0x8 is enabled in 'bits_surface'.

bits_surface

A bit flag that controls rendering properties, and whose meaning is

Value

Meaning

0x1

Force a pattern color on a symbol

0x2

Force a pattern scale on a symbol

0x4

Force a pattern on a symbol

0x8

Force a surface color on a symbol

 

surface_pattern_number

A pattern that is applied to all closed primitives contained in the symbol when 0x4 is enabled in 'bits_surface'.

 

 

Remarks

Rendering properties are normally taken from the model geometry and there is no need to use the 'bits_surface' mechanism or associated properties.

 

 

See Also

get_bos

 

Header

silver.h, ssnodes.h