コード例 #1
0
ファイル: DeviceModel.cs プロジェクト: ospqul/FocusPXDemo
        public void CreatBeamSet()
        {
            IDeviceConfiguration deviceConfiguration = device.GetConfiguration();

            ultrasoundConfiguration = deviceConfiguration.GetUltrasoundConfiguration();
            digitizerTechnology     = ultrasoundConfiguration.GetDigitizerTechnology(UltrasoundTechnology.Conventional);
            IBeamSetFactory beamSetFactory = digitizerTechnology.GetBeamSetFactory();

            beamSet = beamSetFactory.CreateBeamSetConventional("Conventional");
        }
コード例 #2
0
ファイル: DeviceModel.cs プロジェクト: ospqul/FocusPXDemo
        public void CreatPABeamSet(ProbeModel probe)
        {
            IDeviceConfiguration deviceConfiguration = device.GetConfiguration();

            ultrasoundConfiguration = deviceConfiguration.GetUltrasoundConfiguration();
            digitizerTechnology     = ultrasoundConfiguration.GetDigitizerTechnology(UltrasoundTechnology.PhasedArray);
            IBeamSetFactory beamSetFactory = digitizerTechnology.GetBeamSetFactory();
            var             beamFormations = GetBeamFormationCollection(beamSetFactory, probe);

            beamSet = beamSetFactory.CreateBeamSetPhasedArray("Phased Array", beamFormations);
        }