32 return mReductionFactor;
37 mReductionFactor = value;
43 QDomElement elem = doc.createElement( QStringLiteral(
"mesh-simplify-settings" ) );
44 elem.setAttribute( QStringLiteral(
"enabled" ), mEnabled ? QStringLiteral(
"1" ) : QStringLiteral(
"0" ) );
45 elem.setAttribute( QStringLiteral(
"reduction-factor" ), mReductionFactor );
46 elem.setAttribute( QStringLiteral(
"mesh-resolution" ), mMeshResolution );
53 mEnabled = elem.attribute( QStringLiteral(
"enabled" ) ).toInt();
54 mReductionFactor = elem.attribute( QStringLiteral(
"reduction-factor" ) ).toDouble();
55 mMeshResolution = elem.attribute( QStringLiteral(
"mesh-resolution" ) ).toInt();
60 return mMeshResolution;