Searched refs:mVoxelDim (Results 1 – 7 of 7) sorted by relevance
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Transform.java | 34 float[] mVoxelDim = new float[3]; field in Transform 37 System.arraycopy(src.mVoxelDim, 0, mVoxelDim, 0, mVoxelDim.length); in clone() 53 if (mVoxelDim[0] > 0) { in updateAllMatrix() 56 m.m[0] = 1 / mVoxelDim[0]; in updateAllMatrix() 57 m.m[5] = 1 / mVoxelDim[1]; in updateAllMatrix() 58 m.m[10] = 1 / mVoxelDim[2]; in updateAllMatrix() 68 mVoxelDim[0] = volDim[0]; in setVoxelDim() 69 mVoxelDim[1] = volDim[1]; in setVoxelDim() 70 mVoxelDim[2] = volDim[2]; in setVoxelDim() 119 mViewMatrix.lookAt(tri, mVoxelDim, w, h); in lookAt() [all …]
|
D | Volume.java | 35 public float[] mVoxelDim = new float[]{1f, 1f, 1f}; field in Volume 41 ret += "(" + mVoxelDim[0] + ", " + mVoxelDim[1] + ", " + mVoxelDim[2] + ")"; in toString()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | LoaderRaw.java | 59 v.mVoxelDim[0] = Float.parseFloat(voxeldim[0]); in buildRSVolume() 60 v.mVoxelDim[1] = Float.parseFloat(voxeldim[1]); in buildRSVolume() 61 v.mVoxelDim[2] = Float.parseFloat(voxeldim[2]); in buildRSVolume() 62 Float min = Math.min(v.mVoxelDim[0], Math.min(v.mVoxelDim[1], v.mVoxelDim[2])); in buildRSVolume() 63 v.mVoxelDim[0] /= min; in buildRSVolume() 64 v.mVoxelDim[1] /= min; in buildRSVolume() 65 v.mVoxelDim[2] /= min; in buildRSVolume()
|
D | Mandelbulb.java | 59 v.mVoxelDim[0] = v.mVoxelDim[1] = v.mVoxelDim[2] = 1.f; in buildRSVolume()
|
D | Droid.java | 66 v.mVoxelDim[0] = v.mVoxelDim[1] = v.mVoxelDim[2] = 1.f; in buildRSVolume()
|
D | LoaderDicom.java | 480 v.mVoxelDim[0] = sx/min; in buildRSVolume() 481 v.mVoxelDim[1] = sy/min; in buildRSVolume() 482 v.mVoxelDim[2] = sz/min; in buildRSVolume() 604 v.mVoxelDim[0] = sx/min; in buildRSVolume2() 605 v.mVoxelDim[1] = sy/min; in buildRSVolume2() 606 v.mVoxelDim[2] = sz/min; in buildRSVolume2()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/ |
D | VrView.java | 291 mState1.mCubeScreen.scale(mState1.mVolume.mVoxelDim); in cut() 298 mState1.mCubeScreen.scale(mState1.mVolume.mVoxelDim); in resetCut() 310 mState1.mCubeScreen.scale(v.mVoxelDim); in setVolume() 311 mState1.mTransform.setVoxelDim(v.mVoxelDim); in setVolume()
|