|
@@ -969,8 +969,8 @@ function vtkShow() {
|
|
|
mapper.setInputData(fcon.polydata);
|
|
|
getMinMax(scalarArray);
|
|
|
mapper.setScalarRange(
|
|
|
- parseFloat(min.value.toFixed(3)),
|
|
|
- parseFloat(max.value.toFixed(3))
|
|
|
+ parseFloat(min.value.toFixed(2)),
|
|
|
+ parseFloat(max.value.toFixed(2))
|
|
|
); //设置范围
|
|
|
// actor.setMapper(mapper);
|
|
|
scalarBarActor.setAxisLabel(formInline.value.region);
|