Home
last modified time | relevance | path

Searched refs:zstep (Results 1 – 25 of 103) sorted by relevance

12345

/dports/misc/vxl/vxl-3.3.2/contrib/mul/vil3d/
H A Dvil3d_trilin_interp.h24 std::ptrdiff_t ystep, std::ptrdiff_t zstep) in vil3d_trilin_interp_raw() argument
35 const T* row11 = data + p1z*zstep+p1y*ystep + p1x*xstep; in vil3d_trilin_interp_raw()
37 const T* row12 = row11 + zstep; in vil3d_trilin_interp_raw()
38 const T* row22 = row21 + zstep; in vil3d_trilin_interp_raw()
60 … std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep,
69 return vil3d_trilin_interp_raw(x,y,z,data,xstep,ystep,zstep);
97 std::ptrdiff_t zstep) { in vil3d_trilin_interp_assert() argument
104 return vil3d_trilin_interp_raw(x,y,z,data,xstep,ystep,zstep); in vil3d_trilin_interp_assert()
113 … std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep) in vil3d_trilin_interp_safe_extend() argument
121 return vil3d_trilin_interp_raw(x,y,z,data,xstep,ystep,zstep); in vil3d_trilin_interp_safe_extend()
[all …]
H A Dvil3d_tricub_interp.h21 std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep);
30 … std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep,
39 return vil3d_tricub_interp_raw(x,y,z,data,xstep,ystep,zstep);
52 std::ptrdiff_t zstep) { in vil3d_tricub_interp_assert() argument
59 return vil3d_tricub_interp_raw(x, y, z, data, xstep, ystep, zstep); in vil3d_tricub_interp_assert()
70 … std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep) in vil3d_tricub_interp_safe_extend() argument
84 return vil3d_tricub_interp_raw(x,y,z,data,xstep,ystep,zstep); in vil3d_tricub_interp_safe_extend()
95 … std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep);
/dports/science/berkeleygw/BGW-2.0.0/Visual/
H A Daverage.py162 zstep = step[2][2]
163 zlen = zstep * float(grid[2])
175 n0 = int((zcenter - zlen / 2.0) / zstep)
205 n1 = int(zstart / zstep)
207 z1 = zstep * float(n1)
208 z2 = zstep * float(n2)
217 n3 = int(zend / zstep)
219 z3 = zstep * float(n3)
220 z4 = zstep * float(n4)
246 zstart -= zstep * float(n0)
[all …]
/dports/math/vtk9/VTK-9.1.0/Rendering/Volume/
H A DvtkFiniteDifferenceGradientEstimator.cxx43 vtkIdType xstep, ystep, zstep; in vtkComputeGradients() local
82 zstep = ystep * size[1]; in vtkComputeGradients()
87 zstep *= estimator->SampleSpacingInVoxels; in vtkComputeGradients()
156 offset = z * zstep + y * ystep + xlow; in vtkComputeGradients()
231 n[2] = -static_cast<float>(*(dptr + zstep)); in vtkComputeGradients()
235 n[2] = 2.0 * (static_cast<float>(*(dptr)) - static_cast<float>(*(dptr + zstep))); in vtkComputeGradients()
242 n[2] = static_cast<float>(*(dptr - zstep)); in vtkComputeGradients()
246 n[2] = 2.0 * (static_cast<float>(*(dptr - zstep)) - static_cast<float>(*(dptr))); in vtkComputeGradients()
251 n[2] = static_cast<float>(*(dptr - zstep)) - static_cast<float>(*(dptr + zstep)); in vtkComputeGradients()
/dports/math/vtk8/VTK-8.2.0/Rendering/Volume/
H A DvtkFiniteDifferenceGradientEstimator.cxx44 vtkIdType xstep, ystep, zstep; in vtkComputeGradients() local
83 zstep = ystep * size[1]; in vtkComputeGradients()
88 zstep *= estimator->SampleSpacingInVoxels; in vtkComputeGradients()
160 offset = z * zstep + y * ystep + xlow; in vtkComputeGradients()
235 n[2] = -static_cast<float>(*(dptr+zstep)); in vtkComputeGradients()
239 n[2] = 2.0*(static_cast<float>(*(dptr)) - static_cast<float>(*(dptr+zstep))); in vtkComputeGradients()
246 n[2] = static_cast<float>(*(dptr-zstep)); in vtkComputeGradients()
250 n[2] = 2.0*(static_cast<float>(*(dptr-zstep)) - static_cast<float>(*(dptr))); in vtkComputeGradients()
255 n[2] = static_cast<float>(*(dptr-zstep)) - static_cast<float>(*(dptr+zstep)); in vtkComputeGradients()
/dports/math/vtk6/VTK-6.2.0/Rendering/Volume/
H A DvtkFiniteDifferenceGradientEstimator.cxx44 vtkIdType xstep, ystep, zstep; in vtkComputeGradients() local
83 zstep = ystep * size[1]; in vtkComputeGradients()
88 zstep *= estimator->SampleSpacingInVoxels; in vtkComputeGradients()
160 offset = z * zstep + y * ystep + xlow; in vtkComputeGradients()
235 n[2] = -static_cast<float>(*(dptr+zstep)); in vtkComputeGradients()
239 n[2] = 2.0*(static_cast<float>(*(dptr)) - static_cast<float>(*(dptr+zstep))); in vtkComputeGradients()
246 n[2] = static_cast<float>(*(dptr-zstep)); in vtkComputeGradients()
250 n[2] = 2.0*(static_cast<float>(*(dptr-zstep)) - static_cast<float>(*(dptr))); in vtkComputeGradients()
255 n[2] = static_cast<float>(*(dptr-zstep)) - static_cast<float>(*(dptr+zstep)); in vtkComputeGradients()
/dports/math/vtk8/VTK-8.2.0/Filters/Core/
H A DvtkSynchronizedTemplatesCutter3D.cxx143 vtkIdType zstep, yisectstep; in ContourImage() local
195 zstep = xdim*ydim; in ContourImage()
206 offsets[8] = (zstep - xdim)*3; in ContourImage()
207 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
208 offsets[10] = (zstep - xdim)*3 + 4; in ContourImage()
209 offsets[11] = zstep*3; in ContourImage()
290 offsets[8] = (zstep - xdim)*3; in ContourImage()
291 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
293 offsets[11] = zstep*3; in ContourImage()
299 offsets[8] = (-zstep - xdim)*3; in ContourImage()
[all …]
H A DvtkSynchronizedTemplates3D.cxx275 vtkIdType zstep, yisectstep; in ContourImage() local
341 zstep = xdim*ydim; in ContourImage()
352 offsets[8] = (zstep - xdim)*3; in ContourImage()
353 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
354 offsets[10] = (zstep - xdim)*3 + 4; in ContourImage()
355 offsets[11] = zstep*3; in ContourImage()
388 offsets[8] = (zstep - xdim)*3; in ContourImage()
389 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
391 offsets[11] = zstep*3; in ContourImage()
397 offsets[8] = (-zstep - xdim)*3; in ContourImage()
[all …]
H A DvtkRectilinearSynchronizedTemplates.cxx269 int zstep, yisectstep; in ContourRectilinearGrid() local
338 zstep = xdim*ydim; in ContourRectilinearGrid()
349 offsets[8] = (zstep - xdim)*3; in ContourRectilinearGrid()
350 offsets[9] = (zstep - xdim)*3 + 1; in ContourRectilinearGrid()
351 offsets[10] = (zstep - xdim)*3 + 4; in ContourRectilinearGrid()
352 offsets[11] = zstep*3; in ContourRectilinearGrid()
387 offsets[8] = (zstep - xdim)*3; in ContourRectilinearGrid()
388 offsets[9] = (zstep - xdim)*3 + 1; in ContourRectilinearGrid()
390 offsets[11] = zstep*3; in ContourRectilinearGrid()
396 offsets[8] = (-zstep - xdim)*3; in ContourRectilinearGrid()
[all …]
H A DvtkGridSynchronizedTemplates3D.cxx437 int zstep, yisectstep; in ContourGrid() local
496 zstep = xdim*ydim; in ContourGrid()
507 offsets[8] = (zstep - xdim)*3; in ContourGrid()
508 offsets[9] = (zstep - xdim)*3 + 1; in ContourGrid()
509 offsets[10] = (zstep - xdim)*3 + 4; in ContourGrid()
510 offsets[11] = zstep*3; in ContourGrid()
549 offsets[8] = (zstep - xdim)*3; in ContourGrid()
550 offsets[9] = (zstep - xdim)*3 + 1; in ContourGrid()
552 offsets[11] = zstep*3; in ContourGrid()
558 offsets[8] = (-zstep - xdim)*3; in ContourGrid()
[all …]
/dports/math/vtk9/VTK-9.1.0/Filters/Core/
H A DvtkSynchronizedTemplatesCutter3D.cxx141 vtkIdType zstep, yisectstep; in ContourImage() local
193 zstep = xdim * ydim; in ContourImage()
204 offsets[8] = (zstep - xdim) * 3; in ContourImage()
205 offsets[9] = (zstep - xdim) * 3 + 1; in ContourImage()
206 offsets[10] = (zstep - xdim) * 3 + 4; in ContourImage()
207 offsets[11] = zstep * 3; in ContourImage()
288 offsets[8] = (zstep - xdim) * 3; in ContourImage()
289 offsets[9] = (zstep - xdim) * 3 + 1; in ContourImage()
291 offsets[11] = zstep * 3; in ContourImage()
297 offsets[8] = (-zstep - xdim) * 3; in ContourImage()
[all …]
H A DvtkSynchronizedTemplates3D.cxx267 vtkIdType zstep, yisectstep; in ContourImage() local
330 zstep = xdim * ydim; in ContourImage()
341 offsets[8] = (zstep - xdim) * 3; in ContourImage()
342 offsets[9] = (zstep - xdim) * 3 + 1; in ContourImage()
343 offsets[10] = (zstep - xdim) * 3 + 4; in ContourImage()
344 offsets[11] = zstep * 3; in ContourImage()
377 offsets[8] = (zstep - xdim) * 3; in ContourImage()
378 offsets[9] = (zstep - xdim) * 3 + 1; in ContourImage()
380 offsets[11] = zstep * 3; in ContourImage()
386 offsets[8] = (-zstep - xdim) * 3; in ContourImage()
[all …]
H A DvtkRectilinearSynchronizedTemplates.cxx268 int zstep, yisectstep; in ContourRectilinearGrid() local
336 zstep = xdim * ydim; in ContourRectilinearGrid()
347 offsets[8] = (zstep - xdim) * 3; in ContourRectilinearGrid()
348 offsets[9] = (zstep - xdim) * 3 + 1; in ContourRectilinearGrid()
349 offsets[10] = (zstep - xdim) * 3 + 4; in ContourRectilinearGrid()
350 offsets[11] = zstep * 3; in ContourRectilinearGrid()
385 offsets[8] = (zstep - xdim) * 3; in ContourRectilinearGrid()
386 offsets[9] = (zstep - xdim) * 3 + 1; in ContourRectilinearGrid()
388 offsets[11] = zstep * 3; in ContourRectilinearGrid()
394 offsets[8] = (-zstep - xdim) * 3; in ContourRectilinearGrid()
[all …]
H A DvtkGridSynchronizedTemplates3D.cxx439 int zstep, yisectstep; in ContourGrid() local
496 zstep = xdim * ydim; in ContourGrid()
507 offsets[8] = (zstep - xdim) * 3; in ContourGrid()
508 offsets[9] = (zstep - xdim) * 3 + 1; in ContourGrid()
509 offsets[10] = (zstep - xdim) * 3 + 4; in ContourGrid()
510 offsets[11] = zstep * 3; in ContourGrid()
545 offsets[8] = (zstep - xdim) * 3; in ContourGrid()
546 offsets[9] = (zstep - xdim) * 3 + 1; in ContourGrid()
548 offsets[11] = zstep * 3; in ContourGrid()
554 offsets[8] = (-zstep - xdim) * 3; in ContourGrid()
[all …]
/dports/math/vtk6/VTK-6.2.0/Filters/Core/
H A DvtkSynchronizedTemplatesCutter3D.cxx142 int zstep, yisectstep; in ContourImage() local
192 zstep = xdim*ydim; in ContourImage()
203 offsets[8] = (zstep - xdim)*3; in ContourImage()
204 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
205 offsets[10] = (zstep - xdim)*3 + 4; in ContourImage()
206 offsets[11] = zstep*3; in ContourImage()
290 offsets[8] = (zstep - xdim)*3; in ContourImage()
291 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
293 offsets[11] = zstep*3; in ContourImage()
299 offsets[8] = (-zstep - xdim)*3; in ContourImage()
[all …]
H A DvtkSynchronizedTemplates3D.cxx271 int zstep, yisectstep; in ContourImage() local
335 zstep = xdim*ydim; in ContourImage()
346 offsets[8] = (zstep - xdim)*3; in ContourImage()
347 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
348 offsets[10] = (zstep - xdim)*3 + 4; in ContourImage()
349 offsets[11] = zstep*3; in ContourImage()
382 offsets[8] = (zstep - xdim)*3; in ContourImage()
383 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
385 offsets[11] = zstep*3; in ContourImage()
391 offsets[8] = (-zstep - xdim)*3; in ContourImage()
[all …]
H A DvtkRectilinearSynchronizedTemplates.cxx268 int zstep, yisectstep; in ContourRectilinearGrid() local
336 zstep = xdim*ydim; in ContourRectilinearGrid()
347 offsets[8] = (zstep - xdim)*3; in ContourRectilinearGrid()
348 offsets[9] = (zstep - xdim)*3 + 1; in ContourRectilinearGrid()
349 offsets[10] = (zstep - xdim)*3 + 4; in ContourRectilinearGrid()
350 offsets[11] = zstep*3; in ContourRectilinearGrid()
385 offsets[8] = (zstep - xdim)*3; in ContourRectilinearGrid()
386 offsets[9] = (zstep - xdim)*3 + 1; in ContourRectilinearGrid()
388 offsets[11] = zstep*3; in ContourRectilinearGrid()
394 offsets[8] = (-zstep - xdim)*3; in ContourRectilinearGrid()
[all …]
H A DvtkGridSynchronizedTemplates3D.cxx390 int zstep, yisectstep; in ContourGrid() local
447 zstep = xdim*ydim; in ContourGrid()
458 offsets[8] = (zstep - xdim)*3; in ContourGrid()
459 offsets[9] = (zstep - xdim)*3 + 1; in ContourGrid()
460 offsets[10] = (zstep - xdim)*3 + 4; in ContourGrid()
461 offsets[11] = zstep*3; in ContourGrid()
500 offsets[8] = (zstep - xdim)*3; in ContourGrid()
501 offsets[9] = (zstep - xdim)*3 + 1; in ContourGrid()
503 offsets[11] = zstep*3; in ContourGrid()
509 offsets[8] = (-zstep - xdim)*3; in ContourGrid()
[all …]
/dports/math/vtk8/VTK-8.2.0/Filters/SMP/
H A DvtkThreadedSynchronizedTemplatesCutter3D.cxx200 vtkIdType zstep, yisectstep; in ContourImage() local
251 zstep = xdim*ydim; in ContourImage()
262 offsets[8] = (zstep - xdim)*3; in ContourImage()
263 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
264 offsets[10] = (zstep - xdim)*3 + 4; in ContourImage()
265 offsets[11] = zstep*3; in ContourImage()
369 offsets[8] = (zstep - xdim)*3; in ContourImage()
370 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
372 offsets[11] = zstep*3; in ContourImage()
378 offsets[8] = (-zstep - xdim)*3; in ContourImage()
[all …]
H A DvtkThreadedSynchronizedTemplates3D.cxx289 int zstep, yisectstep; in ContourImage() local
337 zstep = xdim*ydim; in ContourImage()
348 offsets[8] = (zstep - xdim)*3; in ContourImage()
349 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
350 offsets[10] = (zstep - xdim)*3 + 4; in ContourImage()
351 offsets[11] = zstep*3; in ContourImage()
384 offsets[8] = (zstep - xdim)*3; in ContourImage()
385 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
387 offsets[11] = zstep*3; in ContourImage()
393 offsets[8] = (-zstep - xdim)*3; in ContourImage()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/mul/vimt3d/
H A Dvimt3d_reconstruct_from_grid.h26 … std::ptrdiff_t xstep, std::ptrdiff_t ystep, std::ptrdiff_t zstep, bool add_data) in vimt3d_reconstruct_ic_safe() argument
31 std::ptrdiff_t index = (ix *xstep) + (iy *ystep) + (iz *zstep); in vimt3d_reconstruct_ic_safe()
65 std::ptrdiff_t zstep, bool add_data) { in vimt3d_reconstruct_ic_no_checks() argument
72 std::ptrdiff_t index = (ix *xstep) + (iy *ystep) + (iz *zstep); in vimt3d_reconstruct_ic_no_checks()
/dports/math/vtk6/VTK-6.2.0/Filters/SMP/
H A DvtkThreadedSynchronizedTemplates3D.cxx279 int zstep, yisectstep; in ContourImage() local
325 zstep = xdim*ydim; in ContourImage()
336 offsets[8] = (zstep - xdim)*3; in ContourImage()
337 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
338 offsets[10] = (zstep - xdim)*3 + 4; in ContourImage()
339 offsets[11] = zstep*3; in ContourImage()
372 offsets[8] = (zstep - xdim)*3; in ContourImage()
373 offsets[9] = (zstep - xdim)*3 + 1; in ContourImage()
375 offsets[11] = zstep*3; in ContourImage()
381 offsets[8] = (-zstep - xdim)*3; in ContourImage()
[all …]
/dports/science/tinker/tinker/source/
H A Dvolume.f93 real*8 probe,zstep local
110 zstep = 0.0601d0
305 ztopshave = ztop - zstep
310 zgrid = zgrid + 0.5d0*(rrx2-(int(rrx2/zstep)*zstep))
487 zgrid = zgrid + zstep
539 real*8 probe,zstep,xr,yr,zr local
582 zstep = 0.0601d0
646 ztopshave = ztop - zstep
651 zgrid = zgrid + (0.5d0*(rrx2-(int(rrx2/zstep)*zstep)))
668 phi1 = acos(((zgrid+0.5d0*zstep)-zr) / rr)
[all …]
/dports/science/py-gpaw/gpaw-21.6.0/gpaw/
H A Dexternal.py258 def __init__(self, zstep, value_left=0, value_right=0): argument
271 self.zstep = zstep
275 self.value_left, self.value_right, self.zstep)
279 self.vext_g = np.where(r_vg[2] < self.zstep / Bohr,
287 'zstep': self.zstep}
/dports/science/minc2/minc-release-2.2.00/conversion/mri_to_minc/
H A Dge4_to_minc.old241 local($xstep, $ystep, $zstep, $xstart, $ystart, $zstart);
255 $zstep = $slicestep;
258 ($ystep, $zstep, $xstep) =
264 ($xstep, $zstep, $ystep) =
270 ($xstep, $ystep, $zstep) =
277 "-xstep $xstep -ystep $ystep -zstep $zstep ".

12345