Skip to content

Commit c67b2a9

Browse files
committed
we need to allow more index computations in fine sampling engine
1 parent 228f95b commit c67b2a9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

matRad/doseCalc/+DoseEngines/matRad_ParticleFineSamplingPencilBeamEngine.m

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ function setDefaults(this)
6868
ray.rotMat_system_T = beam.rotMat_system_T;
6969
end
7070

71+
function [currBixel] = getBixelIndicesOnRay(this,currBixel,currRay)
72+
% In Finesampling we can not reduce the number of points to be
73+
% computed that easily based on the rad depth, so we overload
74+
% this method to just give all indices stored in the ray
75+
currBixel.subRayIx = true(size(currRay.ix));
76+
currBixel.ix = currRay.ix;
77+
end
78+
7179
% We override this function to get full lateral distances
7280
function ray = getRayGeometryFromBeam(this,ray,currBeam)
7381
lateralRayCutOff = this.getLateralDistanceFromDoseCutOffOnRay(ray);

0 commit comments

Comments
 (0)