mor.utility.sceneCreation.modifyGraphScene

modifyGraphScene(node, nbrOfModes, newParam)[source]

Modify the current scene to be able to reduce it

argument

type

definition

node

Sofa.Core.Node

from which node will search & modify the graph

nbrOfModes

int

Number of modes choosed in mor.reduction.reduceModel.ReduceModel.phase3
or mor.reduction.reduceModel.ReduceModel.phase4
where this function will be called

newParam

dic

Contains numerous argument to modify/replace some component
of the SOFA scene. more details see ReductionParam

For more detailed about the modification & why they are made see here

Returns:

None

Raises:

Exception: cannot modify scene from path