HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HUSD_CrowdProcedural.h
Go to the documentation of this file.
1 /*
2  * Copyright 2023 Side Effects Software Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15 */
16 
17 #ifndef __HUSD_CrowdProcedural_h__
18 #define __HUSD_CrowdProcedural_h__
19 
20 #include "HUSD_API.h"
21 
22 #include <SYS/SYS_Types.h>
23 #include <UT/UT_VectorTypes.h>
24 
25 class HUSD_AutoWriteLock;
26 class HUSD_Path;
27 class HUSD_PathSet;
28 class HUSD_TimeCode;
29 
30 /// For instanced SkelRoot prims which are at a low LOD and have a similar pose
31 /// to another agent, convert these to instances of the exemplar agent's
32 /// deformed geometry.
34  HUSD_AutoWriteLock &lock,
35  const HUSD_PathSet &prim_paths,
36  const HUSD_Path &camera_path,
37  const UT_Vector2i &resolution,
38  const HUSD_TimeCode &time_sample,
39  fpreal lod_threshold,
40  bool optimize_identical_poses,
41  const HUSD_Path &prototype_material,
42  const HUSD_Path &instance_material,
43  const HUSD_Path &default_material);
44 
45 #endif
#define HUSD_API
Definition: HUSD_API.h:32
HUSD_API const char * resolution()
HUSD_API bool HUSDapplyCrowdProcedural(HUSD_AutoWriteLock &lock, const HUSD_PathSet &prim_paths, const HUSD_Path &camera_path, const UT_Vector2i &resolution, const HUSD_TimeCode &time_sample, fpreal lod_threshold, bool optimize_identical_poses, const HUSD_Path &prototype_material, const HUSD_Path &instance_material, const HUSD_Path &default_material)
fpreal64 fpreal
Definition: SYS_Types.h:277