9 #ifndef __HOM_hipFile_h__
10 #define __HOM_hipFile_h__
32 const char *file_name=NULL,
bool save_to_recent_files=
true) = 0;
34 virtual void saveAndIncrementFileName() = 0;
45 virtual void setName(
const char *file_name) = 0;
51 virtual void clear(
bool suppress_save_prompt=
false) = 0;
54 virtual void load(
const char *file_name,
55 bool suppress_save_prompt=
false,
56 bool ignore_load_warnings=
false) = 0;
59 virtual void merge(
const char *file_name,
60 const char *node_pattern=
"*",
61 bool overwrite_on_conflict=
false,
62 bool ignore_load_warnings=
false) = 0;
64 SWIGOUT(%kwargs collisionNodesIfMerged;)
66 const char *file_name,
const char *node_pattern=
"*") = 0;
68 virtual bool isLoadingHipFile() = 0;
70 virtual bool isShuttingDown() = 0;
72 virtual bool isNewFile() = 0;
74 virtual bool hasUnsavedChanges() = 0;
77 virtual std::map<std::string, HOM_Color> groupColorTable() = 0;
78 virtual void setGroupColorTable(
79 const std::map<std::string, HOM_Color> &color_table) = 0;
84 const char *file_name,
85 bool suppress_save_prompt=
false,
86 bool merge_into_scene=
true,
87 bool import_cameras=
true,
88 bool import_joints_and_skin=
true,
89 bool import_geometry=
true,
90 bool import_lights=
true,
91 bool import_animation=
true,
92 bool import_materials=
true,
93 bool resample_animation=
false,
94 double resample_interval=1.0,
95 bool override_framerate=
false,
97 bool hide_joints_attached_to_skin=
true,
98 bool convert_joints_to_zyx_rotation_order=
false,
99 HOM_EnumValue &material_mode=HOM_fbxMaterialMode::PrincipledShaders,
100 HOM_EnumValue &compatibility_mode=HOM_fbxCompatibilityMode::Maya,
101 bool single_precision_vertex_caches=
false,
102 bool triangulate_nurbs=
false,
103 bool triangulate_patches=
false,
104 bool import_global_ambient_light=
false,
105 bool import_blend_deformers_as_blend_sops=
false,
106 bool segment_scale_already_baked_in=
true,
107 bool convert_file_paths_to_relative=
true,
108 bool unlock_geometry=
false,
109 bool unlock_deformations=
false,
110 bool import_nulls_as_subnets=
false,
111 bool import_into_object_subnet=
true,
112 bool convert_into_y_up_coordinate_system=
false,
113 bool create_sibling_bones =
true,
114 bool override_scene_frame_range =
false,
115 bool convert_units =
false) = 0;
118 virtual void addOpaqueEventCallback(
void *callback) = 0;
120 virtual void removeOpaqueEventCallback(
void *callback) = 0;
122 virtual std::vector<void *> opaqueEventCallbacks() = 0;
124 virtual void clearOpaqueEventCallbacks() = 0;
129 void addEventCallback(InterpreterObject callback)
130 {
self->addOpaqueEventCallback(callback); }
132 void removeEventCallback(InterpreterObject callback)
133 {
self->removeOpaqueEventCallback(callback); }
135 void clearEventCallbacks()
136 {
self->clearOpaqueEventCallbacks(); }
140 std::vector<InterpreterObject> eventCallbacks()
142 std::vector<void *> opaque_callbacks(self->opaqueEventCallbacks());
144 std::vector<InterpreterObject> callbacks;
145 for (
int i=0; i< opaque_callbacks.size(); ++i)
146 callbacks.push_back((InterpreterObject)opaque_callbacks[i]);
GLsizei const GLchar *const * string
GLsizei const GLchar *const * path
string __repr__(VtArray< T > const &self)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
GLuint const GLchar * name
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)