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  OP_ERROR lockMyInputs(OP_Context &context);
47  void unlockMyInputs();
48 
49 private:
50 
51  static int updateChannelNames(void *data, int index, fpreal t,
52  const PRM_Template * );
53 };
54 
55 #endif
56 
virtual bool updateParmsFlags()
virtual const SOP_NodeVerb * cookVerb() const
Definition: SOP_Node.h:895
GLuint const GLchar * name
Definition: glew.h:1814
GLuint index
Definition: glew.h:1814
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
OIIO_API std::string extension(const std::string &filepath, bool include_dot=true)
GLint GLenum GLsizei GLint GLsizei const void * data
Definition: glew.h:1379
virtual OP_ERROR cookInputGroups(OP_Context &context, int alone=0)
GLsizei const GLchar *const * path
Definition: glew.h:6461
fpreal64 fpreal
Definition: SYS_Types.h:277
#define SOP_API
Definition: SOP_API.h:10
virtual OP_ERROR cookMySop(OP_Context &context)=0
GLsizei const GLfloat * value
Definition: glew.h:1849
GLdouble GLdouble t
Definition: glew.h:1398