3D-visualisation function

3D Visualisation function for strawberry on MTG.

openalea.strawberry.visu3d.color_code(g)[source]

The color code of the 3d visualization return Colloration rule of each object phytomer, inflorescence, bud, phytomer_primordia, inflo_primordia,stolon according to orders and stage

Parameters

g (MTG) – a current MTG

openalea.strawberry.visu3d.plant_positions(g, by=['Genotype'], vids=[])[source]
openalea.strawberry.visu3d.plot3d(g, by=['Genotype'], hide_leaves=False, display=True, vids=[])[source]
openalea.strawberry.visu3d.strawberry_visitor(g, v, turtle, time=0)[source]

Function that draw geometry for a given vertex.

openalea.strawberry.visu3d.visualise_plants(g, vids=[], positions=[], no_plant=[], hide_leaves=False)[source]