HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_BlendShapes.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: SOP_BlendShapes.h (C++)
7  *
8  * COMMENTS: dynamic blend SOP
9  *
10  */
11 
12 
13 #ifndef __SOP_BlendShapes_h__
14 #define __SOP_BlendShapes_h__
15 
16 #include "SOP_API.h"
17 #include "SOP_Node.h"
18 
20 {
21 public:
22  SOP_BlendShapes(OP_Network *net, const char *name, OP_Operator *entry);
23  ~SOP_BlendShapes() override;
24 
26  int alone = 0) override;
27 
28  static OP_Node *myConstructor(OP_Network *net,
29  const char *name, OP_Operator *entry);
30  static PRM_Template *buildTemplates();
31  bool updateParmsFlags() override;
32 
33  const SOP_NodeVerb *cookVerb() const override;
34 
35  void setSelectionOverride(bool selection_override);
36  void setBlendValue(int i, float value, fpreal t);
37  void setBlendAlias(int i, const char *alias);
38  void removeBlend(int i);
39 
40 protected:
41  bool load(UT_IStream &is, const char *extension,
42  const char *path=0) override;
43  OP_ERROR cookMySop(OP_Context &context) override;
44  const char *inputLabel(unsigned) const override;
45 
46 private:
47 
48  static int updateChannelNames(void *data, int index, fpreal t,
49  const PRM_Template * );
50 };
51 
52 #endif
53 
virtual bool updateParmsFlags()
virtual const SOP_NodeVerb * cookVerb() const
Definition: SOP_Node.h:909
GLsizei const GLchar *const * path
Definition: glcorearb.h:3341
virtual const char * inputLabel(unsigned idx) const
UT_ErrorSeverity
Definition: UT_Error.h:25
bool load(UT_IStream &is, const char *extension, const char *path=0) override
GLuint const GLchar * name
Definition: glcorearb.h:786
virtual OP_ERROR cookInputGroups(OP_Context &context, int alone=0)
GLdouble t
Definition: glad.h:2397
fpreal64 fpreal
Definition: SYS_Types.h:277
GLuint index
Definition: glcorearb.h:786
#define SOP_API
Definition: SOP_API.h:10
Definition: core.h:1131
virtual OP_ERROR cookMySop(OP_Context &context)=0
OIIO_UTIL_API std::string extension(string_view filepath, bool include_dot=true) noexcept
Definition: format.h:895