#include "third_party/blink/renderer/modules/xr/xr_reference_space.h"
#include <sstream>
#include <string>
#include "device/vr/public/mojom/vr_service.mojom-blink.h"
#include "third_party/blink/renderer/modules/xr/xr_pose.h"
#include "third_party/blink/renderer/modules/xr/xr_reference_space_event.h"
#include "third_party/blink/renderer/modules/xr/xr_rigid_transform.h"
#include "third_party/blink/renderer/modules/xr/xr_session.h"
#include "third_party/blink/renderer/modules/xr/xr_utils.h"
namespace blink {
ReferenceSpaceType;
const double kDefaultEmulationHeightMeters = …;
ReferenceSpaceType XRReferenceSpace::StringToReferenceSpaceType(
const String& reference_space_type) { … }
XRReferenceSpace::XRReferenceSpace(XRSession* session, ReferenceSpaceType type)
: … { … }
XRReferenceSpace::XRReferenceSpace(XRSession* session,
XRRigidTransform* origin_offset,
ReferenceSpaceType type)
: … { … }
XRReferenceSpace::~XRReferenceSpace() = default;
XRPose* XRReferenceSpace::getPose(const XRSpace* other_space) const { … }
void XRReferenceSpace::SetMojoFromFloor() const { … }
std::optional<gfx::Transform> XRReferenceSpace::MojoFromNative() const { … }
std::optional<gfx::Transform> XRReferenceSpace::NativeFromViewer(
const std::optional<gfx::Transform>& mojo_from_viewer) const { … }
gfx::Transform XRReferenceSpace::NativeFromOffsetMatrix() const { … }
gfx::Transform XRReferenceSpace::OffsetFromNativeMatrix() const { … }
bool XRReferenceSpace::IsStationary() const { … }
ReferenceSpaceType XRReferenceSpace::GetType() const { … }
XRReferenceSpace* XRReferenceSpace::getOffsetReferenceSpace(
XRRigidTransform* additional_offset) const { … }
XRReferenceSpace* XRReferenceSpace::cloneWithOriginOffset(
XRRigidTransform* origin_offset) const { … }
device::mojom::blink::XRNativeOriginInformationPtr
XRReferenceSpace::NativeOrigin() const { … }
std::string XRReferenceSpace::ToString() const { … }
void XRReferenceSpace::Trace(Visitor* visitor) const { … }
void XRReferenceSpace::OnReset() { … }
}