4.2. Tree-based

All tree-based tools can also be accessed through the main menu: Edit > QSM > ...

4.2.1. Move to 0,0,0

This function finds the root shoot of the tree and translates it to the origin of the scene

4.2.2. Color code

The color coding goes through the tree and gives each shoot a color according to its order. Additionally if the option is enabled, each order is shifted to is own layer. The maximum number of order considered here is 15, everything higher is using the same color and the same layer.

4.2.3. shift all

This function is available in the same four versions as the shoot-based sift functions: start, end, centre and closest.
While all lateral children are shifted according to the selected version, all apical children (successors) are moved to the end of their parent node. This specific behaviour for apical children has been chosen in order to maintain the general structure of the tree.

jumpAllAxis();
jumpAllStart();
jumpAllEnd()
jumpAllCenter();

4.2.4. Remove Order

The function removes all shoots higher then or equal to the given order. Using the main menu, the order is provided through a dialog window which opens after the function was selected.

removeOrderHigher(int order);

4.2.5. Remove highest order

This function find the highest order using the descriptors and then removes all shoots of this order.

removeHighestOrder();

4.2.6. Show/hide

Based on the layers of the 3D view it is possible to show and hide objects on individual layers. If not explicitly disabled, the color coding of the QSM plugin moves each order to the layer with the same number. Orders higher than 7 are placed on the 7th layer.

The show and hide functions are not provided as rgg functions. #### Show all

This function enable all layers and therefore shows all order of the tree

4.2.6.1. Hide

A dialog window is opened to request the order to hide. The layer of this order is then disabled. The other layers are unaffected.

4.2.6.2. Show

A dialog window is opened to request the order to show. The layer of this order is then enabled. The other layers are unaffected.

4.2.6.3. Show only

A dialog window is opened to request the order to show. The layer of this order is then enabled and all other layers are disabled.

4.2.6.4. Hide higher

A dialog window is opened to request the minimum visible order. All layers higher than the given order are disabled.

4.2.6.5. Hide highest

Find the highest order using the descriptors and disable the layer of this order.

This hides the highest branching order in the graph, NOT the highest visible one!