Added support for sampleRatio and sampleRatioWhenMoving <volume> properties

This commit is contained in:
Robert Osfield
2014-01-22 11:25:54 +00:00
parent c63bebd8c3
commit 7fe3244c71

View File

@@ -1318,6 +1318,8 @@ void ReaderWriterP3DXML::parseVolume(osgPresentation::SlideShowConstructor& cons
if (getProperty(cur, "region", volumeData.region)) {}
if (getProperty(cur, "sampleDensity", volumeData.sampleDensityValue)) {}
if (getProperty(cur, "sampleDensityWhenMoving", volumeData.sampleDensityWhenMovingValue)) {}
if (getProperty(cur, "sampleRatio", volumeData.sampleRatioValue)) {}
if (getProperty(cur, "sampleRatioWhenMoving", volumeData.sampleRatioWhenMovingValue)) {}
if (getProperty(cur, "colourModulate", volumeData.colorModulate)) {}