Home
last modified time | relevance | path

Searched refs:FloatPoint3D (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatPoint3D.h30 class PLATFORM_EXPORT FloatPoint3D {
32 FloatPoint3D() in FloatPoint3D() function
39 FloatPoint3D(float x, float y, float z) in FloatPoint3D() function
46 FloatPoint3D(const FloatPoint& p) in FloatPoint3D() function
53 FloatPoint3D(const FloatPoint3D& p) in FloatPoint3D() function
94 float dot(const FloatPoint3D& a) const in dot()
102 void cross(const FloatPoint3D& a, const FloatPoint3D& b) in cross()
114 FloatPoint3D cross(const FloatPoint3D& point) const in cross()
116 FloatPoint3D result; in cross()
124 float distanceTo(const FloatPoint3D& a) const;
[all …]
DFloatBoxTest.cpp53 box.move(FloatPoint3D(1, 2, 3)); in TEST()
55 box.setOrigin(FloatPoint3D(-1, -2, -3)); in TEST()
56 box.move(FloatPoint3D(-1, -2, -3)); in TEST()
65 box.setSize(FloatPoint3D(3, 3, 3)); in TEST()
80 box.expandTo(FloatPoint3D(10, -3, 2)); in TEST()
83 box.expandTo(FloatPoint3D(-15, 6, 8)); in TEST()
87 box.expandTo(FloatPoint3D(-3, 6, 9), FloatPoint3D(-2, 10, 11)); in TEST()
115 box.expandTo(FloatPoint3D(1, 0, 0)); in TEST()
117 box.expandTo(FloatPoint3D(0, 1, 0)); in TEST()
DFloatBox.h70 void setOrigin(const FloatPoint3D& origin) in setOrigin()
77 void setSize(const FloatPoint3D& origin) in setSize()
88 void move(const FloatPoint3D& location) in move()
101 void expandTo(const FloatPoint3D& low, const FloatPoint3D& high) in expandTo()
124 void expandTo(const FloatPoint3D& point) in expandTo()
131 …expandTo(FloatPoint3D(box.x(), box.y(), box.z()), FloatPoint3D(box.right(), box.bottom(), box.fron… in expandTo()
DFloatPoint3D.cpp30 void FloatPoint3D::normalize() in normalize()
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DAudioListener.h54 void setPosition(float x, float y, float z) { setPosition(FloatPoint3D(x, y, z)); } in setPosition()
55 const FloatPoint3D& position() const { return m_position; } in position()
60 setOrientation(FloatPoint3D(x, y, z)); in setOrientation()
61 setUpVector(FloatPoint3D(upX, upY, upZ)); in setOrientation()
63 const FloatPoint3D& orientation() const { return m_orientation; } in orientation()
64 const FloatPoint3D& upVector() const { return m_upVector; } in upVector()
67 void setVelocity(float x, float y, float z) { setVelocity(FloatPoint3D(x, y, z)); } in setVelocity()
68 const FloatPoint3D& velocity() const { return m_velocity; } in velocity()
87 void setPosition(const FloatPoint3D&);
88 void setOrientation(const FloatPoint3D&);
[all …]
DPannerNode.cpp343 FloatPoint3D position = FloatPoint3D(x, y, z); in setPosition()
356 FloatPoint3D orientation = FloatPoint3D(x, y, z); in setOrientation()
369 FloatPoint3D velocity = FloatPoint3D(x, y, z); in setVelocity()
385 FloatPoint3D listenerPosition = listener()->position(); in calculateAzimuthElevation()
386 FloatPoint3D sourceListener = m_position - listenerPosition; in calculateAzimuthElevation()
392 FloatPoint3D listenerFront = listener()->orientation(); in calculateAzimuthElevation()
393 FloatPoint3D listenerUp = listener()->upVector(); in calculateAzimuthElevation()
394 FloatPoint3D listenerRight = listenerFront.cross(listenerUp); in calculateAzimuthElevation()
397 FloatPoint3D listenerFrontNorm = listenerFront; in calculateAzimuthElevation()
400 FloatPoint3D up = listenerRight.cross(listenerFrontNorm); in calculateAzimuthElevation()
[all …]
DAudioListener.cpp80 void AudioListener::setPosition(const FloatPoint3D &position) in setPosition()
91 void AudioListener::setOrientation(const FloatPoint3D &orientation) in setOrientation()
102 void AudioListener::setUpVector(const FloatPoint3D &upVector) in setUpVector()
113 void AudioListener::setVelocity(const FloatPoint3D &velocity) in setVelocity()
DPannerNode.h139 FloatPoint3D m_position;
140 FloatPoint3D m_orientation;
141 FloatPoint3D m_velocity;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DSpotLightSource.h32 static PassRefPtr<SpotLightSource> create(const FloatPoint3D& position, in create()
33 const FloatPoint3D& direction, float specularExponent, float limitingConeAngle) in create()
38 …virtual PassRefPtr<LightSource> create(const FloatPoint3D& scale, const FloatSize& offset) const O… in create()
40FloatPoint3D position(m_position.x() * scale.x() - offset.width(), m_position.y() * scale.y() - of… in create()
41FloatPoint3D direction(m_direction.x() * scale.x() - offset.width(), m_direction.y() * scale.y() -… in create()
45 const FloatPoint3D& position() const { return m_position; } in position()
46 const FloatPoint3D& direction() const { return m_direction; } in direction()
66 SpotLightSource(const FloatPoint3D& position, const FloatPoint3D& direction, in SpotLightSource()
76 FloatPoint3D m_position;
77 FloatPoint3D m_direction;
DPointLightSource.h32 static PassRefPtr<PointLightSource> create(const FloatPoint3D& position) in create()
37 …virtual PassRefPtr<LightSource> create(const FloatPoint3D& scale, const FloatSize& offset) const O… in create()
39FloatPoint3D position(m_position.x() * scale.x() - offset.width(), m_position.y() * scale.y() - of… in create()
43 const FloatPoint3D& position() const { return m_position; } in position()
54 PointLightSource(const FloatPoint3D& position) in PointLightSource()
60 FloatPoint3D m_position;
DLightSource.h52 FloatPoint3D lightVector;
53 FloatPoint3D colorVector;
56 FloatPoint3D directionVector;
57 FloatPoint3D privateColorVector;
71 …virtual PassRefPtr<LightSource> create(const FloatPoint3D& scale, const FloatSize& offset) const =…
DFilter.h73 virtual FloatPoint3D resolve3dPoint(const FloatPoint3D& point) const { return point; } in resolve3dPoint()
DFELighting.cpp197 FloatPoint3D halfwayVector = paintingData.lightVector; in inlineSetPixel()
206 FloatPoint3D normalVector; in inlineSetPixel()
215 FloatPoint3D halfwayVector = paintingData.lightVector; in inlineSetPixel()
299 void FELighting::getTransform(FloatPoint3D* scale, FloatSize* offset) const in getTransform()
331 FloatPoint3D worldScale; in drawLighting()
337 … paintingData.colorVector = FloatPoint3D(lightColor.red(), lightColor.green(), lightColor.blue()); in drawLighting()
454 FloatPoint3D position = pointLightSource->position(); in createImageFilter()
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DCone.cpp45 double ConeEffect::gain(FloatPoint3D sourcePosition, FloatPoint3D sourceOrientation, FloatPoint3D l… in gain()
51 FloatPoint3D sourceToListener = listenerPosition - sourcePosition; in gain()
54 FloatPoint3D normalizedSourceOrientation = sourceOrientation; in gain()
DCone.h44 …double gain(FloatPoint3D sourcePosition, FloatPoint3D sourceOrientation, FloatPoint3D listenerPosi…
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DRotateTransformOperation.cpp36 FloatPoint3D RotateTransformOperation::axis() const in axis()
38 return FloatPoint3D(x(), y(), z()); in axis()
41 …t RotateTransformOperation* from, const RotateTransformOperation* to, FloatPoint3D* axis, double* … in shareSameAxis()
43 *axis = FloatPoint3D(0, 0, 1); in shareSameAxis()
68 FloatPoint3D fromAxis = from->axis(); in shareSameAxis()
69 FloatPoint3D toAxis = to->axis(); in shareSameAxis()
107 FloatPoint3D axis; in blend()
DTransformOperations.cpp135 static void boundingBoxForArc(const FloatPoint3D& point, const RotateTransformOperation& fromTransf… in boundingBoxForArc()
140 FloatPoint3D axis(fromTransform.axis()); in boundingBoxForArc()
157 FloatPoint3D fromPoint = fromMatrix.mapPoint(point); in boundingBoxForArc()
158 FloatPoint3D toPoint = toMatrix.mapPoint(point); in boundingBoxForArc()
179 FloatPoint3D normal = axis; in boundingBoxForArc()
183 FloatPoint3D origin; in boundingBoxForArc()
184 FloatPoint3D toPoint = point - origin; in boundingBoxForArc()
185 FloatPoint3D center = origin + normal * toPoint.dot(normal); in boundingBoxForArc()
186 FloatPoint3D v1 = point - center; in boundingBoxForArc()
191 FloatPoint3D v2 = normal.cross(v1); in boundingBoxForArc()
[all …]
DTransformationMatrix.h118 FloatPoint3D mapPoint(const FloatPoint3D&) const;
346 FloatPoint3D internalMapPoint(const FloatPoint3D& sourcePoint) const in internalMapPoint()
352 …return FloatPoint3D(static_cast<float>(resultX), static_cast<float>(resultY), static_cast<float>(r… in internalMapPoint()
DRotateTransformOperation.h49 FloatPoint3D axis() const;
50 …mOperation* fromRotation, const RotateTransformOperation* toRotation, FloatPoint3D* axis, double* …
/external/chromium_org/third_party/WebKit/public/platform/
DWebFloatPoint3D.h39 WebFloatPoint3D(const WebCore::FloatPoint3D& p) in WebFloatPoint3D()
46 WebFloatPoint3D& operator=(const WebCore::FloatPoint3D& p)
54 operator WebCore::FloatPoint3D() const in FloatPoint3D() function
56 return WebCore::FloatPoint3D(x, y, z); in FloatPoint3D()
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/
DSVGFilter.cpp51 FloatPoint3D SVGFilter::resolve3dPoint(const FloatPoint3D& point) const in resolve3dPoint()
55 return FloatPoint3D(point.x() * m_targetBoundingBox.width() + m_targetBoundingBox.x(), in resolve3dPoint()
DSVGFilter.h41 virtual FloatPoint3D resolve3dPoint(const FloatPoint3D&) const OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFESpotLightElement.cpp39FloatPoint3D pos(x()->currentValue()->value(), y()->currentValue()->value(), z()->currentValue()->… in DEFINE_NODE_FACTORY()
40FloatPoint3D direction(pointsAtX()->currentValue()->value(), pointsAtY()->currentValue()->value(),… in DEFINE_NODE_FACTORY()
DSVGFEPointLightElement.cpp39FloatPoint3D location(x()->currentValue()->value(), y()->currentValue()->value(), z()->currentValu… in DEFINE_NODE_FACTORY()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsLayer.h145 const FloatPoint3D& transformOrigin() const { return m_transformOrigin; } in transformOrigin()
146 void setTransformOrigin(const FloatPoint3D&);
312 FloatPoint3D m_transformOrigin;

12