params.scaleX = paramsLst[13].toDouble();
params.scaleY = paramsLst[14].toDouble();
params.scaleZ = paramsLst[15].toDouble();
+ params.isVisible = paramsLst[16].toDouble();
+ params.size = paramsLst[17].toDouble();
} else {
params.scaleX = 1.;
params.scaleY = 1.;
params.scaleZ = 1.;
}
- params.isVisible = paramsLst[16].toDouble();
- params.size = paramsLst[17].toDouble();
performRestoring( params );
}
// apply graduated axes parameters
SVTK_CubeAxesActor2D* gradAxesActor = GetCubeAxes();
if ( gradAxesActor && paramsLst.size() == nAllParams ) {
-
int i = nNormalParams+1, j = i + nGradAxisParams - 1;
::setGradAxisVisualParams( gradAxesActor->GetXAxisActor2D(), parameters.section( '*', i, j ) );
i = j + 1; j += nGradAxisParams;
gradAxesActor->VisibilityOn();
else
gradAxesActor->VisibilityOff();
+ } else if ( paramsLst.size() == nAllParams ) {
+ if ( paramsLst[90].toUShort() )
+ GetTrihedron()->VisibilityOn();
+ else
+ GetTrihedron()->VisibilityOff();
+
+ SetTrihedronSize(paramsLst[91].toDouble());
}
-
- if ( paramsLst[90].toUShort() )
- GetTrihedron()->VisibilityOn();
- else
- GetTrihedron()->VisibilityOff();
-
- SetTrihedronSize(paramsLst[91].toDouble());
}
}