public Properties() { absorption = AbsorptionProperties.Initialize(); sample = SampleProperties.Initialize(); ray = RayProperties.Initialize(); detector = DetectorProperties.Initialize(); angle = AngleProperties.Initialize(); }
public Properties(AbsorptionProperties absorptionProperties, AngleProperties angleProperties, DetectorProperties detectorProperties, RayProperties rayProperties, SampleProperties sampleProperties) { absorption = absorptionProperties; sample = sampleProperties; ray = rayProperties; detector = detectorProperties; angle = angleProperties; }
private void FillFromPreset(AngleProperties source) { if (!IsValue(fieldAngleStart.text)) { preset.properties.angle.angleStart = source.angleStart; } if (!IsValue(fieldAngleEnd.text)) { preset.properties.angle.angleEnd = source.angleEnd; } if (!IsValue(fieldAngleSteps.text)) { preset.properties.angle.angleCount = source.angleCount; } RefreshAnglePropertiesUI(); }