HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_CopyToPoints-2.0.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_CopyToPoints-2.0.h (SOP Library, C++)
7  *
8  * COMMENTS: Declarations of Copy to Points 2.0 SOP code
9  */
10 
11 #pragma once
12 
13 #ifndef __SOP_CopyToPoints2_h__
14 #define __SOP_CopyToPoints2_h__
15 
16 #include "SOP_API.h"
17 #include "SOP_Node.h"
18 
19 class SOP_API SOP_CopyToPoints2 final : public SOP_Node
20 {
21 public:
22  SOP_CopyToPoints2(OP_Network *net, const char *name, OP_Operator *entry);
23  ~SOP_CopyToPoints2() override;
24 
25  OP_ERROR cookInputGroups(OP_Context &context, int alone = 0) override;
26 
27  static OP_Node *myConstructor(OP_Network *net, const char *name, OP_Operator *entry);
28 
29  static PRM_Template *buildTemplates();
30  const SOP_NodeVerb *cookVerb() const override;
31 
32  void resetTargetAttribs();
33 protected:
34  OP_ERROR cookMySop(OP_Context &context) override;
35  const char *inputLabel(unsigned idx) const override;
36  int isRefInput(unsigned int i) const override;
37 };
38 
39 #endif
virtual const SOP_NodeVerb * cookVerb() const
Definition: SOP_Node.h:906
virtual const char * inputLabel(unsigned idx) const
UT_ErrorSeverity
Definition: UT_Error.h:25
GLuint const GLchar * name
Definition: glcorearb.h:786
virtual OP_ERROR cookInputGroups(OP_Context &context, int alone=0)
#define SOP_API
Definition: SOP_API.h:10
virtual OP_ERROR cookMySop(OP_Context &context)=0
virtual int isRefInput(unsigned idx) const