next up previous contents index
Next: Memory Methods on Chain Up: The Data Hierarchy Tree Previous: Suprop

Chain

 

A subclass of Scene is Chain. Scene is mainly used as a binary node whereas nodes of class Chain are used to store a linear sequence of objects as they arise for example when generating multiple copies of an object during reflection operations. Methods on the class Chain assume to find such a linear structure.

 

typedef struct chain {
    ...
    /* superclass structure */
    int flag;          /* only used for reflection at the moment:
                             MARKED:     reflect chain
                             NOT-MARKED: don't reflect */
} CHAIN;





SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.