<parameter name="floating_point_precision" value="6"/>
<parameter name="quadratic_mode" value="0" />
<parameter name="max_angle" value="2" />
+ <parameter name="elem0d_size" value="5" />
<parameter name="represent_shading" value="false"/>
<parameter name="feature_edges_angle" value="30.0"/>
<parameter name="show_feature_edges" value="true"/>
int aQuadraticAngle = aResourceMgr->integerValue( "VISU", "max_angle", 2);
mySurfaceActor->SetQuadraticArcAngle(aQuadraticAngle);
myEdgeActor->SetQuadraticArcAngle(aQuadraticAngle);
+
+ int anElem0DSize = aResourceMgr->integerValue( "VISU", "elem0d_size", 5);
+ GetSurfaceProperty()->SetPointSize(anElem0DSize);
+ GetEdgeProperty()->SetPointSize(anElem0DSize);
}
}
int aQuadraticAngle = aResourceMgr->integerValue( "VISU", "max_angle", 2);
mySurfaceActor->SetQuadraticArcAngle(aQuadraticAngle);
myEdgeActor->SetQuadraticArcAngle(aQuadraticAngle);
+
+ int anElem0DSize = aResourceMgr->integerValue( "VISU", "elem0d_size", 5);
+ mySurfaceActor->GetProperty()->SetPointSize(anElem0DSize);
+ myEdgeActor->GetProperty()->SetPointSize(anElem0DSize);
}
}
SetBarVisibility(anActor->GetBarVisibility());
myPointsActor->DeepCopy( anActor->myPointsActor );
SetShading(anActor->IsShading());
- GetEdgeProperty()->DeepCopy(anActor->GetEdgeProperty());
}
}
<source>VISU_EDGE_COLOR</source>
<translation>Edge Color</translation>
</message>
+ <message>
+ <source>VISU_ELEM0D_SIZE</source>
+ <translation>Size of 0D elements</translation>
+ </message>
<message>
<source>VISU_FEATURE_EDGES</source>
<translation>Feature edges</translation>
setPreferenceProperty( maxAngle, "min", 1 );
setPreferenceProperty( maxAngle, "max", 90 );
+ int elem0DSize = addPreference( tr( "VISU_ELEM0D_SIZE" ), representGr, LightApp_Preferences::IntSpin, "VISU", "elem0d_size" );
+ setPreferenceProperty( elem0DSize, "min", 1 );
+ setPreferenceProperty( elem0DSize, "max", 10 );
+ addPreference( "", representGr, LightApp_Preferences::Space );
+
int shrFac = addPreference( tr( "VISU_SHRINK_FACTOR" ), representGr, LightApp_Preferences::IntSpin, "VISU", "shrink_factor" );
setPreferenceProperty( shrFac, "min", 20 );
setPreferenceProperty( shrFac, "max", 100 );