HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_Visibility.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 Library (C++)
7  *
8  * COMMENTS:
9  * Hides and exposes geometry by adding to/removing from a primitive
10  * group.
11  */
12 
13 #ifndef __SOP_Visibility_h__
14 #define __SOP_Visibility_h__
15 
16 #include "SOP_API.h"
17 #include "SOP_Node.h"
18 
20 {
21 public:
22  SOP_Visibility(OP_Network *net, const char *name,
23  OP_Operator *entry);
24  ~SOP_Visibility() override;
25 
27  int alone = 0) override;
28 
29  static OP_Node *myConstructor(OP_Network *net,
30  const char *name,
31  OP_Operator *entry);
32 
33  static PRM_Template *buildTemplates();
34  const SOP_NodeVerb *cookVerb() const override final;
35 
36 protected:
37  OP_ERROR cookMySop(OP_Context &context) override;
38  const char *inputLabel(unsigned idx) const override;
39 };
40 
41 #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