HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_BlockEnd.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_BlockEnd.h ( SOP Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __SOP_BlockEnd_h__
12 #define __SOP_BlockEnd_h__
13 
14 #include "SOP_API.h"
15 #include "SOP_Node.h"
16 
17 class UT_InfoTree;
18 
19 class sop_PieceExtractor;
20 
22 {
23 public:
24  SOP_BlockEnd(OP_Network *net, const char *name, OP_Operator *entry);
25 
26  virtual void PRIMARYPATH(UT_String &str, fpreal t) const = 0;
27 
28  // Determine all nodes or indirect inputs in this network level that
29  // are logically contained by the for's feedback.
30  // Not guaranteed to be accurate, as how things actually cook
31  // may only be determined at run time.
32  virtual void findEnclosedItems(OP_EnclosedItems &items) const;
33 
34  // We enforce that blocked pairs have the same color
35  bool setColor(const UT_Color &col) override;
36 
37  // Should all inputs be treated as enclosed?
38  virtual bool encloseInputs() const = 0;
39 
40 protected:
41  /// Find enclosed items that are our own ancestors, ignoring any
42  /// linked outputs.
43  void findOwnEnclosedItems(OP_EnclosedItems &items) const;
44 };
45 
46 #endif
Definition: UT_Set.h:58
bool setColor(const UT_Color &col) override
GLuint const GLchar * name
Definition: glcorearb.h:786
GLdouble t
Definition: glad.h:2397
fpreal64 fpreal
Definition: SYS_Types.h:277
#define SOP_API
Definition: SOP_API.h:10