9 #ifndef __HOM_crowds_h__
10 #define __HOM_crowds_h__
33 const std::vector<HOM_AgentShape *> &shapes,
34 const std::vector<std::string> &channel_names) = 0;
36 const std::vector<HOM_AgentShape *> &shapes,
37 const std::vector<double> &weights) = 0;
39 SWIGOUT(%kwargs setBlendshapeDeformerParms;)
42 const std::string &attribs =
"P N",
43 const std::string &point_id_attrib =
"id",
44 const std::string &prim_id_attrib =
"id") = 0;
46 SWIGOUT(%kwargs findAgentDefinitions;)
49 const char *group = 0,
50 HOM_EnumValue *group_type = &HOM_geometryType::Primitives) = 0;
52 SWIGOUT(%kwargs replaceAgentDefinitions;)
55 const std::map<HOM_AgentDefinition *, HOM_AgentDefinition *> &defn_map,
56 const char *group = 0,
57 HOM_EnumValue *group_type = &HOM_geometryType::Primitives) = 0;
59 virtual std::vector<HOM_Matrix4> computeLocalTransforms(
61 const std::vector<HOM_Matrix4> &world_xforms)
const = 0;
63 virtual std::vector<HOM_Matrix4> computeWorldTransforms(
65 const std::vector<HOM_Matrix4> &local_xforms)
const = 0;
67 virtual std::map<std::string, hboost::any>
69 const std::vector<HOM_AgentClip *> &clips,
70 int xform_idx,
int parent_xform_idx) = 0;
72 virtual std::vector<HOM_ElemPtr<HOM_AgentShapeDeformer> >
75 SWIGOUT(%newobject findShapeDeformer;)
79 virtual void applyUsdProceduralOpaque(
82 const char *camera_path,
85 double offscreen_quality,
86 bool optimize_identical_poses,
87 bool bake_prototype_agents,
90 const char *prototype_material,
91 const char *instance_material,
92 const char *default_material) = 0;
97 %kwargs applyUsdProcedural;
98 void applyUsdProcedural(
99 InterpreterObject stage,
101 const char *camera_path,
103 double lod_threshold,
104 double offscreen_quality,
105 bool optimize_identical_poses,
106 bool bake_prototype_agents,
107 bool bake_all_agents,
109 const char *prototype_material,
110 const char *instance_material,
111 const char *default_material)
113 return self->applyUsdProceduralOpaque(
114 stage, selection_rule, camera_path, resolution, lod_threshold,
115 offscreen_quality, optimize_identical_poses, bake_prototype_agents,
116 bake_all_agents, frame,
117 prototype_material, instance_material, default_material);
string __repr__(VtArray< T > const &self)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
void GU_API addInBetweenShapes(GU_Detail &primary_shape_gdp, const UT_StringArray &inbetween_shape_names, const UT_Array< fpreal > &inbetween_weights)
HUSD_API const char * resolution()
GLuint const GLchar * name
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)