|
@@ -193,7 +193,7 @@ namespace OTSModelSharp
|
|
m_listAnalysisParticles.Add(pParticle);
|
|
m_listAnalysisParticles.Add(pParticle);
|
|
|
|
|
|
}
|
|
}
|
|
- log.Info("Normal Particles (>"+ dAreaLow .ToString("f2") + "): "+ "<" + dAreaHigh.ToString("f2") + "): " + m_listAnalysisParticles.Count);
|
|
|
|
|
|
+ log.Info("Normal Particles (>"+ oAreaRange.GetStart().ToString("f2") + "): "+ "<" + oAreaRange.GetEnd().ToString("f2") + "): " + m_listAnalysisParticles.Count);
|
|
|
|
|
|
|
|
|
|
List<COTSParticleClr> xrayParts = new List<COTSParticleClr>();
|
|
List<COTSParticleClr> xrayParts = new List<COTSParticleClr>();
|
|
@@ -218,17 +218,17 @@ namespace OTSModelSharp
|
|
{
|
|
{
|
|
|
|
|
|
|
|
|
|
- // get xray position
|
|
|
|
|
|
+
|
|
System.Drawing.Point poi = (System.Drawing.Point)pPart.GetXRayPos();
|
|
System.Drawing.Point poi = (System.Drawing.Point)pPart.GetXRayPos();
|
|
- // create a x-ray
|
|
|
|
|
|
+
|
|
CPosXrayClr pPosXray = new CPosXrayClr();
|
|
CPosXrayClr pPosXray = new CPosXrayClr();
|
|
- // set x-ray position
|
|
|
|
|
|
+
|
|
pPosXray.SetPosition(poi);
|
|
pPosXray.SetPosition(poi);
|
|
- // set particle tag id
|
|
|
|
|
|
+
|
|
pPosXray.SetPartTagId(pPart.GetTagId());
|
|
pPosXray.SetPartTagId(pPart.GetTagId());
|
|
- //pPosXray.SetIndex(nXrayIndex++);
|
|
|
|
|
|
+
|
|
pPosXray.SetIndex(pPart.GetAnalysisId());
|
|
pPosXray.SetIndex(pPart.GetAnalysisId());
|
|
- // set field id
|
|
|
|
|
|
+
|
|
pPosXray.SetScanFieldId(pPart.GetFieldId());
|
|
pPosXray.SetScanFieldId(pPart.GetFieldId());
|
|
|
|
|
|
pPart.SetXray(pPosXray);
|
|
pPart.SetXray(pPosXray);
|