/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/recognition/include/pcl/recognition/impl/ransac_based/ |
H A D | voxel_structure.hpp | 126 voxel = this->getVoxel (x_p1, y_p1, z_p1); if ( voxel ) neighs[num_neighs++] = voxel; in getNeighbors() 127 voxel = this->getVoxel (x_p1, y_p1, z ); if ( voxel ) neighs[num_neighs++] = voxel; in getNeighbors() 128 voxel = this->getVoxel (x_p1, y_p1, z_m1); if ( voxel ) neighs[num_neighs++] = voxel; in getNeighbors() 129 voxel = this->getVoxel (x_p1, y , z_p1); if ( voxel ) neighs[num_neighs++] = voxel; in getNeighbors() 130 voxel = this->getVoxel (x_p1, y , z ); if ( voxel ) neighs[num_neighs++] = voxel; in getNeighbors() 131 voxel = this->getVoxel (x_p1, y , z_m1); if ( voxel ) neighs[num_neighs++] = voxel; in getNeighbors() 132 voxel = this->getVoxel (x_p1, y_m1, z_p1); if ( voxel ) neighs[num_neighs++] = voxel; in getNeighbors() 133 voxel = this->getVoxel (x_p1, y_m1, z ); if ( voxel ) neighs[num_neighs++] = voxel; in getNeighbors() 134 voxel = this->getVoxel (x_p1, y_m1, z_m1); if ( voxel ) neighs[num_neighs++] = voxel; in getNeighbors() 136 voxel = this->getVoxel (x , y_p1, z_p1); if ( voxel ) neighs[num_neighs++] = voxel; in getNeighbors() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Rendering/Volume/ |
H A D | vtkVolumeRayCastMIPFunction.cxx | 70 voxel[1] * yinc + voxel[0] ); in vtkCastMaxScalarValueRay() 85 voxel[1] * yinc + voxel[0] ); in vtkCastMaxScalarValueRay() 120 dptr = data_ptr + voxel[2] * zinc + voxel[1] * yinc + voxel[0]; in vtkCastMaxScalarValueRay() 157 dptr = data_ptr + voxel[2] * zinc + voxel[1] * yinc + voxel[0]; in vtkCastMaxScalarValueRay() 239 int voxel[3]; in vtkCastMaxOpacityRay() local 290 voxel[1] * yinc + voxel[0] ); in vtkCastMaxOpacityRay() 336 dptr = data_ptr + voxel[2] * zinc + voxel[1] * yinc + voxel[0]; in vtkCastMaxOpacityRay() 348 prev_voxel[0] = voxel[0]; in vtkCastMaxOpacityRay() 349 prev_voxel[1] = voxel[1]; in vtkCastMaxOpacityRay() 350 prev_voxel[2] = voxel[2]; in vtkCastMaxOpacityRay() [all …]
|
H A D | vtkVolumeRayCastCompositeFunction.cxx | 124 offset = voxel[2] * zinc + voxel[1] * yinc + voxel[0] * xinc; in vtkCastRay_NN_Unshaded() 177 offset = voxel[2] * zinc + voxel[1] * yinc + voxel[0] * xinc; in vtkCastRay_NN_Unshaded() 642 offset = voxel[2] * zinc + voxel[1] * yinc + voxel[0]; in vtkCastRay_TrilinSample_Unshaded() 753 offset = voxel[2] * zinc + voxel[1] * yinc + voxel[0]; in vtkCastRay_TrilinSample_Unshaded() 1016 offset = voxel[2] * zinc + voxel[1] * yinc + voxel[0]; in vtkCastRay_TrilinSample_Shaded() 1157 offset = voxel[2] * zinc + voxel[1] * yinc + voxel[0]; in vtkCastRay_TrilinSample_Shaded() 1440 offset = voxel[2] * zinc + voxel[1] * yinc + voxel[0]; in vtkCastRay_TrilinVertices_Unshaded() 1491 offset = voxel[2] * zinc + voxel[1] * yinc + voxel[0]; in vtkCastRay_TrilinVertices_Unshaded() 1628 offset = voxel[2] * zinc + voxel[1] * yinc + voxel[0]; in vtkCastRay_TrilinVertices_Unshaded() 1914 offset = voxel[2] * zinc + voxel[1] * yinc + voxel[0]; in vtkCastRay_TrilinVertices_Shaded() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/gel/octree/ |
H A D | main.cxx | 133 vnl_double_2 centre = voxmap.GetCentreImage( voxel.x, voxel.y, voxel.z, voxel.depth, imageindex); in computevoxelradius() 134 …vnl_double_2 c1 = voxmap.GetCornerImage( voxel.x, voxel.y, voxel.z, 0, 0, 0, voxel.depth, imageind… in computevoxelradius() 135 …vnl_double_2 c2 = voxmap.GetCornerImage( voxel.x, voxel.y, voxel.z, 0, 0, 1, voxel.depth, imageind… in computevoxelradius() 519 v.set( voxel.x, voxel.y, voxel.z); in main() 565 voxint.set( voxel.x, voxel.y, voxel.z); in main() 567 edges1.flip( voxel.x, voxel.y, voxel.z); in main() 568 edges1.flip( voxel.x, voxel.y, voxel.z+1); in main() 570 edges2.flip( voxel.x, voxel.y, voxel.z); in main() 571 edges2.flip( voxel.x, voxel.y+1, voxel.z); in main() 573 edges3.flip( voxel.x, voxel.y, voxel.z); in main() [all …]
|
/dports/graphics/openvkl/openvkl-1.1.0/openvkl/devices/cpu/volume/vdb/ |
H A D | VdbGrid.h | 184 inline univary bool vklVdbVoxelIsEmpty(univary vkl_uint64 voxel) \ 186 return ((voxel & 0x3u) == 0x0u); \ 192 const univary vkl_uint64 voxel = \ 195 assert((univary uint8)(voxel >> 8) == level); \ 196 assert((univary uint32)(voxel >> 32) == voxelOffset); \ 197 return voxel; \ 200 inline univary bool vklVdbVoxelIsError(univary vkl_uint64 voxel) \ 202 return ((voxel & 0x3u) == 0x1u); \ 205 inline void vklVdbVoxelErrorGet(univary vkl_uint64 voxel, \ 209 level = voxel >> 8; \ [all …]
|
H A D | VdbQueryVoxel.ih.in | 7 // Query voxel information. 17 // The level at which we found the voxel. 20 // The voxel type. 29 // If isLeaf is true, then this is the voxel value of the parent voxel. 30 uint64 voxel; 73 desc.voxel = level.voxels[vo32]; 77 desc.isEmpty = vklVdbVoxelIsEmpty(desc.voxel) || 83 assert(vklVdbVoxelIsLeafPtr(desc.voxel) 84 || vklVdbVoxelIsChildPtr(desc.voxel)); 92 // pointer in query.voxel. [all …]
|
/dports/science/py-pymol/pymol-open-source-2.4.0/modules/chempy/ |
H A D | neighbor.py | 20 self.voxel = {} 24 voxel = self.voxel 27 if k not in voxel: 28 voxel[k] = [c] 30 voxel[k].append(c) 35 voxel = self.voxel 36 for k in voxel.keys(): 42 if k2 in voxel: 52 if k in self.voxel: 53 return self.voxel[k] [all …]
|
/dports/lang/guile2/guile-2.2.7/test-suite/tests/ |
H A D | r6rs-records-procedural.test | 140 (voxel-z (record-accessor :voxel 0)) 141 (voxel (make-voxel 1 2 3))) 144 (eqv? (voxel-z voxel) 103))))) 164 (voxel? (record-predicate :voxel)) 166 (voxel (make-voxel 1 2 3))) 167 (and (voxel? voxel) 168 (eqv? (voxel-z voxel) 3))))) 179 (voxel (make-voxel 1 2 3)) 186 (voxel? (record-predicate :voxel))) 200 (voxel (make-voxel 1 2 3)) [all …]
|
/dports/lang/guile/guile-3.0.7/test-suite/tests/ |
H A D | r6rs-records-procedural.test | 147 (voxel-z (record-accessor :voxel 0)) 148 (voxel (make-voxel 1 2 3))) 151 (eqv? (voxel-z voxel) 103))))) 171 (voxel? (record-predicate :voxel)) 173 (voxel (make-voxel 1 2 3))) 174 (and (voxel? voxel) 175 (eqv? (voxel-z voxel) 3))))) 186 (voxel (make-voxel 1 2 3)) 193 (voxel? (record-predicate :voxel))) 207 (voxel (make-voxel 1 2 3)) [all …]
|
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/render_povray/ |
H A D | df3.py | 77 self.voxel[i] = indf3.voxel[i] 124 self.voxel[i] = self.voxel[i] * val 130 self.voxel[i] = self.voxel[i] + val 135 tmp = self.voxel[0] 139 tmp = self.voxel[i] 144 tmp = self.voxel[0] 157 if (self.voxel == indf3.voxel): 168 self.voxel[i] = self.voxel[i]*indf3.voxel[i] 178 self.voxel[i] = self.voxel[i]+indf3.voxel[i] 212 self.voxel = newV [all …]
|
/dports/science/py-nibabel/nibabel-3.2.1/doc/source/ |
H A D | image_orientation.rst | 2 Image voxel orientation 6 image voxel axes. 8 See :doc:`coordinate_systems` for background on voxel and world axes. 27 that the first voxel is towards the left of the world, and the last voxel is 42 This image therefore has RAS+ *voxel* axes. 61 What are the orientations of the voxel axes here? 68 The voxel orientations are nearest to: 70 #. First voxel axis goes from right to Left; 71 #. Second voxel axis goes from posterior to Anterior; 72 #. Third voxel axis goes from inferior to Superior. [all …]
|
H A D | neuro_radio_conventions.rst | 10 See :doc:`coordinate_systems` for background on voxel space, reference space 41 Alignment of world and voxel axes 62 >>> ijk = [1, 0, 0] # moving one unit on the first voxel axis 69 output "A+" and the third voxel axis with output "S+". 71 Some people therefore refer to this alignment of voxel and RAS+ axes as 72 *RAS voxel axes*. 75 Neurological / radiological voxel layout 79 "neurological" voxel layout. This is because the simplest way to display 90 </downloads/someones_anatomy.nii.gz>` with RAS voxel axes: 115 voxel layout for this reason [#memory-layout]_. [all …]
|
/dports/devel/vcglib/vcglib-2020.09/vcg/space/index/ |
H A D | grid_util.h | 67 CoordType voxel; /// Dimensions of a single cell variable 76 this->voxel[0] = this->dim[0]/this->siz[0]; in ComputeDimAndVoxel() 98 pi[0] = int( t[0] / voxel[0] ); in PToIP() 99 pi[1] = int( t[1] / voxel[1] ); in PToIP() 100 pi[2] = int( t[2] / voxel[2] ); in PToIP() 119 Matrix44<ScalarType> m; m.SetScale(voxel); in IPtoPfMatrix() 130 p[0] = ((ScalarType)pi[0])*voxel[0]; in IPiToBox() 131 p[1] = ((ScalarType)pi[1])*voxel[1]; in IPiToBox() 132 p[2] = ((ScalarType)pi[2])*voxel[2]; in IPiToBox() 135 b.max = (p + voxel); in IPiToBox() [all …]
|
H A D | grid_util2d.h | 74 this->voxel[0] = this->dim[0]/this->siz[0]; in ComputeDimAndVoxel() 96 pi[0] = int( t[0] / voxel[0] ); in PToIP() 97 pi[1] = int( t[1] / voxel[1] ); in PToIP() 106 p[0] = ((ScalarType)pi[0])*voxel[0]; in IPiToPf() 107 p[1] = ((ScalarType)pi[1])*voxel[1]; in IPiToPf() 118 p[0] = ((ScalarType)pi[0])*voxel[0]; in IPiToBox() 119 p[1] = ((ScalarType)pi[1])*voxel[1]; in IPiToBox() 122 b.max = (p + voxel); in IPiToBox() 132 c = p + voxel/ScalarType(2.0); in IPiToBoxCenter() 139 p[0] = ((ScalarType)pi[0])*voxel[0]; in IPfToPf() [all …]
|
/dports/graphics/wdune/wdune-1.926/vcglib/vcg/space/index/ |
H A D | grid_util.h | 67 CoordType voxel; /// Dimensions of a single cell variable 76 this->voxel[0] = this->dim[0]/this->siz[0]; in ComputeDimAndVoxel() 98 pi[0] = int( t[0] / voxel[0] ); in PToIP() 99 pi[1] = int( t[1] / voxel[1] ); in PToIP() 100 pi[2] = int( t[2] / voxel[2] ); in PToIP() 119 Matrix44<ScalarType> m; m.SetScale(voxel); in IPtoPfMatrix() 130 p[0] = ((ScalarType)pi[0])*voxel[0]; in IPiToBox() 131 p[1] = ((ScalarType)pi[1])*voxel[1]; in IPiToBox() 132 p[2] = ((ScalarType)pi[2])*voxel[2]; in IPiToBox() 135 b.max = (p + voxel); in IPiToBox() [all …]
|
H A D | grid_util2d.h | 74 this->voxel[0] = this->dim[0]/this->siz[0]; in ComputeDimAndVoxel() 96 pi[0] = int( t[0] / voxel[0] ); in PToIP() 97 pi[1] = int( t[1] / voxel[1] ); in PToIP() 106 p[0] = ((ScalarType)pi[0])*voxel[0]; in IPiToPf() 107 p[1] = ((ScalarType)pi[1])*voxel[1]; in IPiToPf() 118 p[0] = ((ScalarType)pi[0])*voxel[0]; in IPiToBox() 119 p[1] = ((ScalarType)pi[1])*voxel[1]; in IPiToBox() 122 b.max = (p + voxel); in IPiToBox() 132 c = p + voxel/ScalarType(2.0); in IPiToBoxCenter() 139 p[0] = ((ScalarType)pi[0])*voxel[0]; in IPfToPf() [all …]
|
/dports/games/openspades/openspades-0.1.3/Resources/Scripts/Reference/API/ |
H A D | VoxelModel.as | 23 /** Represents a small voxel model. */ 26 /** Creates a new voxel model. 27 * @param width Width of the voxel model. 28 * @param height Height of the voxel model. 33 /** Loads a voxel model from the specified file. */ 36 /** Gets the color of the specified voxel. */ 39 /** Returns if the specified voxel is solid (or air). */ 42 /** Makes the specified voxel non-solid. */ 48 /** Retrieves the width of the voxel model. */ 53 /** Retrieves the height of the voxel model. */ [all …]
|
/dports/graphics/volpack/volpack-1.0b3/ |
H A D | vp_extract.c | 179 unsigned char *voxel, *dstptr; local 190 voxel = vpc->raw_voxels; 203 voxel += xstride; 318 unsigned char *voxel; local 332 voxel = vpc->raw_voxels; 348 voxel += xstride; 366 VPClassifyVoxel(vpc, voxel) in VPClassifyVoxel() argument 435 unsigned char *voxel; local 444 voxel = vpc->raw_voxels; 451 voxel += xstride; [all …]
|
/dports/science/minc2/minc-release-2.2.00/libsrc2/test/ |
H A D | convert-test.c | 32 double voxel[NDIMS]; in main() local 101 voxel[0] = coords[0]; in main() 102 voxel[1] = coords[1]; in main() 103 voxel[2] = coords[2]; in main() 105 miconvert_voxel_to_world(hvol, voxel, world); in main() 110 if (!NEARLY_EQUAL(voxel[n], new_voxel[n])) { in main() 112 n, voxel[n], new_voxel[n]); in main() 117 v1 = (VALID_MAX * (voxel[0] + voxel[1] + voxel[2]) in main() 197 voxel[MI2_X] = voxel[MI2_Y] = voxel[MI2_Z] = 0; in main() 199 result = miconvert_voxel_to_world(hvol, voxel, world); in main()
|
/dports/math/pdal/PDAL-2.3.0/doc/stages/ |
H A D | filters.voxeldownsize.rst | 6 The **voxeldownsize filter** is a voxel-based sampling filter. 8 For each populated voxel, either first point entering in the voxel or 9 center of a voxel (depending on mode argument) is accepted and voxel is 10 marked as populated. All other points entering in the same voxel are 31 using the coordinates of the voxel center as the query point in a 3D 42 Mode for voxel based filtering. [Default: center] 43 **center**: Coordinates of the first point found in each voxel will 44 be modified to be the center of the voxel. 45 **first**: Only the first point found in each voxel is retained.
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/line_drawing-0.7.0/src/ |
H A D | walk_voxels.rs | 26 pub fn round<I: FloatNum, O: SignedNum>(&self, voxel: Voxel<I>) -> Voxel<O> { in round() 28 VoxelOrigin::Corner => voxel, in round() 29 VoxelOrigin::Center => (voxel.0.round(), voxel.1.round(), voxel.2.round()), in round() 69 voxel: Voxel<O>, field 140 voxel: start_i, in new() 177 let voxel = self.voxel; in next() localVariable 180 self.voxel.0 += self.sign_x; in next() 183 self.voxel.1 += self.sign_y; in next() 186 self.voxel.2 += self.sign_z; in next() 190 Some(voxel) in next()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/line_drawing-0.7.0/src/ |
H A D | walk_voxels.rs | 26 pub fn round<I: FloatNum, O: SignedNum>(&self, voxel: Voxel<I>) -> Voxel<O> { in round() 28 VoxelOrigin::Corner => voxel, in round() 29 VoxelOrigin::Center => (voxel.0.round(), voxel.1.round(), voxel.2.round()), in round() 69 voxel: Voxel<O>, field 140 voxel: start_i, in new() 177 let voxel = self.voxel; in next() localVariable 180 self.voxel.0 += self.sign_x; in next() 183 self.voxel.1 += self.sign_y; in next() 186 self.voxel.2 += self.sign_z; in next() 190 Some(voxel) in next()
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/line_drawing-0.7.0/src/ |
H A D | walk_voxels.rs | 26 pub fn round<I: FloatNum, O: SignedNum>(&self, voxel: Voxel<I>) -> Voxel<O> { in round() 28 VoxelOrigin::Corner => voxel, in round() 29 VoxelOrigin::Center => (voxel.0.round(), voxel.1.round(), voxel.2.round()), in round() 69 voxel: Voxel<O>, field 140 voxel: start_i, in new() 177 let voxel = self.voxel; in next() localVariable 180 self.voxel.0 += self.sign_x; in next() 183 self.voxel.1 += self.sign_y; in next() 186 self.voxel.2 += self.sign_z; in next() 190 Some(voxel) in next()
|
/dports/graphics/wdune/wdune-1.926/src/ |
H A D | NodeImageTexture3D.cpp | 1427 unsigned char *voxel; in loadImage_nrrd() local 1594 c = voxel[j]; in loadImage_nrrd() 1595 voxel[j] = voxel[k]; in loadImage_nrrd() 1596 voxel[k] = c; in loadImage_nrrd() 1624 voxel = &data[0]; in loadImage_nrrd() 1664 unsigned char *voxel; in loadImage_nrrd() local 1668 voxel = &data[i*bsize]; in loadImage_nrrd() 1726 unsigned char *voxel; in loadImage_nrrd() local 1732 voxel = &data[i*bsize]; in loadImage_nrrd() 1740 A = voxel[0]; in loadImage_nrrd() [all …]
|
/dports/science/minc2/minc-release-2.2.00/volume_io/Volumes/ |
H A D | evaluate.c | 33 Real voxel ) in convert_voxel_to_value() argument 39 return( voxel ); in convert_voxel_to_value() 93 Real voxel; in get_volume_voxel_value() local 97 return( voxel ); in get_volume_voxel_value() 161 Real voxel ) in set_volume_voxel_value() argument 194 Real voxel; in set_volume_real_value() local 204 voxel = (Real) ROUND( voxel ); in set_volume_real_value() 232 Real voxel[], in trilinear_interpolate() argument 245 x = voxel[0]; in trilinear_interpolate() 246 y = voxel[1]; in trilinear_interpolate() [all …]
|