Home
last modified time | relevance | path

Searched refs:Vector3 (Results 1 – 25 of 31) sorted by relevance

12

/external/eigen/test/
Dgeo_orthomethods.cpp23 typedef Matrix<Scalar,3,1> Vector3; in orthomethods_3() typedef
27 Vector3 v0 = Vector3::Random(), in orthomethods_3()
28 v1 = Vector3::Random(), in orthomethods_3()
29 v2 = Vector3::Random(); in orthomethods_3()
45 Vector3 vec3 = Vector3::Random(); in orthomethods_3()
74 typedef Matrix<Scalar,3,1> Vector3; in orthomethods() typedef
92 Vector3 vec3 = Vector3::Random(); in orthomethods()
Dgeo_eulerangles.cpp18 typedef Matrix<Scalar,3,1> Vector3; in eulerangles() typedef
24 q1 = AngleAxisx(a, Vector3::Random().normalized()); in eulerangles()
29 Vector3 ea = m.eulerAngles(I,J,K); \ in eulerangles()
30 …OX(m, Matrix3(AngleAxisx(ea[0], Vector3::Unit##X()) * AngleAxisx(ea[1], Vector3::Unit##Y()) * Ang… in eulerangles()
Dgeo_transformations.cpp24 typedef Matrix<Scalar,3,1> Vector3; in non_projective_only() typedef
38 Vector3 v0 = Vector3::Random(), in non_projective_only()
39 v1 = Vector3::Random(); in non_projective_only()
57 VERIFY_IS_APPROX( (t0 * Vector3(1,0,0)).template head<3>().norm(), v0.x()); in non_projective_only()
95 typedef Matrix<Scalar,3,1> Vector3; in transformations() typedef
109 Vector3 v0 = Vector3::Random(), in transformations()
110 v1 = Vector3::Random(); in transformations()
128 matrot1 = AngleAxisx(Scalar(0.1), Vector3::UnitX()) in transformations()
129 * AngleAxisx(Scalar(0.2), Vector3::UnitY()) in transformations()
130 * AngleAxisx(Scalar(0.3), Vector3::UnitZ()); in transformations()
[all …]
Dgeo_quaternion.cpp52 typedef Matrix<Scalar,3,1> Vector3; in quaternion() typedef
63 Vector3 v0 = Vector3::Random(), in quaternion()
64 v1 = Vector3::Random(), in quaternion()
65 v2 = Vector3::Random(), in quaternion()
66 v3 = Vector3::Random(); in quaternion()
/external/eigen/test/eigen2/
Deigen2_geometry.cpp25 typedef Matrix<Scalar,3,1> Vector3; in geometry() typedef
40 Vector3 v0 = Vector3::Random(), in geometry()
41 v1 = Vector3::Random(), in geometry()
42 v2 = Vector3::Random(); in geometry()
101 matrot1 = AngleAxisx(Scalar(0.1), Vector3::UnitX()) in geometry()
102 * AngleAxisx(Scalar(0.2), Vector3::UnitY()) in geometry()
103 * AngleAxisx(Scalar(0.3), Vector3::UnitZ()); in geometry()
105 AngleAxisx(Scalar(0.1), Vector3(1,0,0)).toRotationMatrix() in geometry()
106 * (AngleAxisx(Scalar(0.2), Vector3(0,1,0)).toRotationMatrix() in geometry()
107 * (AngleAxisx(Scalar(0.3), Vector3(0,0,1)).toRotationMatrix() * v1))); in geometry()
[all …]
Deigen2_geometry_with_eigen2_prefix.cpp27 typedef Matrix<Scalar,3,1> Vector3; in geometry() typedef
42 Vector3 v0 = Vector3::Random(), in geometry()
43 v1 = Vector3::Random(), in geometry()
44 v2 = Vector3::Random(); in geometry()
103 matrot1 = AngleAxisx(Scalar(0.1), Vector3::UnitX()) in geometry()
104 * AngleAxisx(Scalar(0.2), Vector3::UnitY()) in geometry()
105 * AngleAxisx(Scalar(0.3), Vector3::UnitZ()); in geometry()
107 AngleAxisx(Scalar(0.1), Vector3(1,0,0)).toRotationMatrix() in geometry()
108 * (AngleAxisx(Scalar(0.2), Vector3(0,1,0)).toRotationMatrix() in geometry()
109 * (AngleAxisx(Scalar(0.3), Vector3(0,0,1)).toRotationMatrix() * v1))); in geometry()
[all …]
/external/ceres-solver/internal/ceres/
Djet_quaternion_integration_test.cc129 Vector3<J> axis; in TEST_F()
139 Vector3<J> axis; in TEST_F()
151 Vector3<J> x, y; in TEST_F()
164 Vector3<J> x; in TEST_F()
169 Vector3<J> y = b.Rotated(x); in TEST_F()
174 Vector3<J> yp = R * x; in TEST_F()
183 Vector3<double> x; in TEST_F()
188 Vector3<double> y = double_b.Rotated(x); in TEST_F()
193 Vector3<double> yp = R * x; in TEST_F()
/external/eigen/Eigen/src/Eigen2Support/Geometry/
DAngleAxis.h58 typedef Matrix<Scalar,3,1> Vector3;
63 Vector3 m_axis;
83 const Vector3& axis() const { return m_axis; }
84 Vector3& axis() { return m_axis; }
107 inline Vector3 operator* (const Vector3& other) const
192 Vector3 sin_axis = ei_sin(m_angle) * m_axis;
194 Vector3 cos1_axis = (Scalar(1)-c) * m_axis;
DQuaternion.h62 typedef Matrix<Scalar,3,1> Vector3;
179 Vector3 operator* (const MatrixBase<Derived>& vec) const;
249 inline typename Quaternion<Scalar>::Vector3
257 Vector3 uv;
340 Vector3 v0 = a.normalized();
341 Vector3 v1 = b.normalized();
359 Vector3 axis = v0.cross(v1);
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
DWater.j3md13 Vector3 CameraPosition
15 Vector3 frustumCorner
19 Vector3 LightDir
29 Vector3 FoamExistence
31 Vector3 ColorExtinction
DSimpleWater.j3md10 Vector3 lightPos
/external/eigen/Eigen/src/Geometry/
DAngleAxis.h61 typedef Matrix<Scalar,3,1> Vector3;
66 Vector3 m_axis;
89 const Vector3& axis() const { return m_axis; }
90 Vector3& axis() { return m_axis; }
134 static inline const AngleAxis Identity() { return AngleAxis(0, Vector3::UnitX()); }
206 Vector3 sin_axis = internal::sin(m_angle) * m_axis;
208 Vector3 cos1_axis = (Scalar(1)-c) * m_axis;
DQuaternion.h51 typedef Matrix<Scalar,3,1> Vector3; typedef
168 EIGEN_STRONG_INLINE Vector3 _transformVector(Vector3 v) const;
475 EIGEN_STRONG_INLINE typename QuaternionBase<Derived>::Vector3
476 QuaternionBase<Derived>::_transformVector(Vector3 v) const
483 Vector3 uv = this->vec().cross(v);
584 Vector3 v0 = a.normalized();
585 Vector3 v1 = b.normalized();
601 Vector3 axis = svd.matrixV().col(2);
608 Vector3 axis = v0.cross(v1);
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/
DHeightBasedTerrain.j3md21 Vector3 region1
22 Vector3 region2
23 Vector3 region3
24 Vector3 region4
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/
Dscene.js14 var offset = new THREE.Vector3();
47 …vertices.push(new THREE.Vector3(shape['points'][i][0], shape['points'][i][1], shape['points'][i][2…
243 var vector = new THREE.Vector3( mouse.x, mouse.y, 0.5 );
281 var vector = new THREE.Vector3( mouse.x, mouse.y, 0.5 );
/external/eigen/demos/opengl/
Dquaternion_demo.cpp141 typedef Matrix<Scalar,3,1> Vector3; typedef in EulerAngles
146 Vector3 m_angles;
154 const Vector3& coeffs() const { return m_angles; } in coeffs()
155 Vector3& coeffs() { return m_angles; } in coeffs()
176 Vector3 c = m_angles.array().cos(); in toRotationMatrix()
177 Vector3 s = m_angles.array().sin(); in toRotationMatrix()
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/
DSky.j3md5 Vector3 NormalScale
/external/jmonkeyengine/engine/src/core/com/jme3/shader/
DVarType.java39 Vector3, enumConstant
DUniform.java101 case Vector3: in write()
146 case Vector3: in read()
245 case Vector3: in clearValue()
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DTransformationMatrix.cpp78 typedef double Vector3[3]; typedef
261 static double v3Length(Vector3 a) in v3Length()
266 static void v3Scale(Vector3 v, double desiredLength) in v3Scale()
277 static double v3Dot(const Vector3 a, const Vector3 b) in v3Dot()
284 static void v3Combine(const Vector3 a, const Vector3 b, Vector3 result, double ascl, double bscl) in v3Combine()
292 static void v3Cross(const Vector3 a, const Vector3 b, Vector3 result) in v3Cross()
366 Vector3 row[3], pdum3; in decompose()
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/
DLightScattering.j3md7 Vector3 LightPosition
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/SSAO/
Dssao.j3md10 Vector3 FrustumCorner
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
DDeferred.j3md26 Vector3 FrustumCorner
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DRenderManager.java445 u.setValue(VarType.Vector3, camLoc); in updateUniformBindings()
448 u.setValue(VarType.Vector3, camDir); in updateUniformBindings()
451 u.setValue(VarType.Vector3, camLeft); in updateUniformBindings()
454 u.setValue(VarType.Vector3, camUp); in updateUniformBindings()
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMatParam.java188 case Vector3: in getValueAsString()

12