HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HUSD_XformEditor.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: HUSD Library (C++)
7  *
8  */
9 
10 #ifndef __HUSD_XformEditor_h__
11 #define __HUSD_XformEditor_h__
12 
13 #include "HUSD_API.h"
14 #include "HUSD_Xform.h"
15 #include <GU/GU_DetailHandle.h>
16 #include <UT/UT_Matrix4.h>
17 #include <UT/UT_StringHolder.h>
18 #include <UT/UT_StringMap.h>
19 #include <functional>
20 
21 class GU_Detail;
22 class HUSD_AutoAnyLock;
23 class HUSD_AutoWriteLock;
24 class HUSD_Path;
25 class HUSD_PathSet;
26 class HUSD_TimeCode;
27 
29 {
30 public:
31  static GU_DetailHandle getDeltaWithParmXforms(
32  const UT_StringArray &changepaths,
33  const HUSD_TimeCode &timecode,
34  const GU_ConstDetailHandle &delta,
35  const UT_Matrix4D *local_parm_xform,
36  const UT_Matrix4D *local_parm_pivot_xform,
37  const UT_Matrix4D *global_parm_xform,
38  bool set_pivot_on_primary_prim,
39  HUSD_AutoAnyLock &lock,
40  bool exclude_edits);
41  static UT_StringHolder applyEdits(HUSD_AutoWriteLock &writelock,
42  const GU_Detail *gdp,
43  bool apply_inverse_xforms,
44  const UT_StringRef &xform_description,
45  const HUSD_XformStyle xform_style,
46  const HUSD_TimeCode &timecode,
47  std::function<bool(const UT_StringRef &path)> allow_edit_fn,
48  HUSD_PathSet &modified_paths,
49  bool &time_varying);
50 };
51 
52 #endif
HUSD_XformStyle
Definition: HUSD_Xform.h:37
GLsizei const GLchar *const * path
Definition: glcorearb.h:3341
#define HUSD_API
Definition: HUSD_API.h:31