Public Member Functions | Properties

CC3BTreeNodeSequencer Class Reference

An CC3BTreeNodeSequencer is a type of CC3NodeSequencer that separates nodes into a B-tree structure of child sequencers. More...

#import <CC3NodeSequencer.h>

Inheritance diagram for CC3BTreeNodeSequencer:
CC3NodeSequencer

List of all members.

Public Member Functions

(void) - addSequencer:

Properties

NSMutableArray * sequencers

Detailed Description

When a node is added, it is first evaluated by the contained evaluator. If it is accepted, the sequencer iterates through the contained child sequencers, in the order that the child sequencers were added, attempting to add the node to each child sequencer in turn. The node is added to the first child sequencer that accepts it.

Instances of CC3BTreeNodeSequencer can be used to group nodes by some parent criteria while allowing the nodes to be further grouped within each child grouping.


Member Function Documentation

- (void) addSequencer: (CC3NodeSequencer *)  aNodeSequencer

Adds the specified sequencer as a child sequencer.

+ (id) sequencerLocalContentOpaqueFirst

Allocates and initializes an autoreleased instance that accepts only nodes that have local content to draw, and sequences them so that all the opaque nodes appear before all the non-opaque nodes.

+ (id) sequencerLocalContentOpaqueFirstGroupMeshes

Allocates and initializes an autoreleased instance that accepts only nodes that have local content to draw, sequences them so that all the opaque nodes appear before all the non-opaque nodes, and below that, groups nodes by mesh, so that all nodes with the same mesh appear together.

+ (id) sequencerLocalContentOpaqueFirstGroupTextures

Allocates and initializes an autoreleased instance that accepts only nodes that have local content to draw, sequences them so that all the opaque nodes appear before all the non-opaque nodes, and below that, groups nodes by texture, so that all nodes with the same texture appear together.


Property Documentation

- (NSMutableArray *) sequencers [read, assign]

The array of child sequencers.


The documentation for this class was generated from the following file: