Blender V4.3
usd_writer_transform.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2019 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4#pragma once
5
7
8#include <pxr/usd/usdGeom/xform.h>
9
10namespace blender::io::usd {
11
13 private:
15
16 public:
18
19 protected:
20 void do_write(HierarchyContext &context) override;
21 bool check_is_animated(const HierarchyContext &context) const override;
22 bool should_apply_root_xform(const HierarchyContext &context) const;
23 void set_xform_ops(float parent_relative_matrix[4][4], const pxr::UsdGeomXformable &xf);
24
25 /* Subclasses may override this to create prims other than UsdGeomXform. */
26 virtual pxr::UsdGeomXformable create_xformable() const;
27};
28
29} // namespace blender::io::usd
USDTransformWriter(const USDExporterContext &ctx)
bool check_is_animated(const HierarchyContext &context) const override
void do_write(HierarchyContext &context) override
void set_xform_ops(float parent_relative_matrix[4][4], const pxr::UsdGeomXformable &xf)
virtual pxr::UsdGeomXformable create_xformable() const
bool should_apply_root_xform(const HierarchyContext &context) const