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  virtual ~SOP_BlockEnd();
26 
27  virtual void PRIMARYPATH(UT_String &str, fpreal t) const = 0;
28 
29  // Determine all nodes or indirect inputs in this network level that
30  // are logically contained by the for's feedback.
31  // Not guaranteed to be accurate, as how things actually cook
32  // may only be determined at run time.
33  virtual void findEnclosedItems(OP_EnclosedItems &items) const;
34 
35  // We enforce that blocked pairs have the same color
36  virtual bool setColor(const UT_Color &col);
37 
38  // Should all inputs be treated as enclosed?
39  virtual bool encloseInputs() const = 0;
40 
41 protected:
42  /// Find enclosed items that are our own ancestors, ignoring any
43  /// linked outputs.
44  void findOwnEnclosedItems(OP_EnclosedItems &items) const;
45 };
46 
47 #endif
Definition: UT_Set.h:58
virtual bool setColor(const UT_Color &col)
GLuint const GLchar * name
Definition: glcorearb.h:785
double fpreal
Definition: SYS_Types.h:270
#define SOP_API
Definition: SOP_API.h:10