HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_NetworkDot.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  * COMMENTS:
7  */
8 
9 #ifndef __HOM_NetworkDot_h__
10 #define __HOM_NetworkDot_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_IndirectInput.h"
14 #include "HOM_PtrOrNull.h"
15 
16 class HOM_Node;
17 class HOM_NodeConnection;
18 
19 SWIGOUT(%rename(NetworkDot) HOM_NetworkDot;)
20 
22 {
23 public:
25  : HOM_IndirectInput(HOM_networkItemType::NetworkDot),
26  HOM_NetworkMovableItem(HOM_networkItemType::NetworkDot)
27  { HOM_CONSTRUCT_OBJECT(this) }
29  : HOM_IndirectInput(dot),
31  { HOM_CONSTRUCT_OBJECT(this) }
32  ~HOM_NetworkDot() override
33  { HOM_DESTRUCT_OBJECT(this) }
34 
37 
38  virtual bool isPinned() = 0;
39  virtual void setPinned(bool pinned) = 0;
40 
41  virtual void setInput(
42  HOM_NetworkMovableItem *item_to_become_input,
43  int output_index = 0) = 0;
44  virtual void setInput(int input_index,
45  HOM_NetworkMovableItem *item_to_become_input,
46  int output_index = 0) = 0;
47 
48  virtual std::vector<HOM_ElemPtr<HOM_NodeConnection> > inputConnections() = 0;
49 
50  virtual void destroy() = 0;
51 };
52 
53 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
HOM_NetworkDot(const HOM_NetworkDot &dot)
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
~HOM_NetworkDot() override
#define HOM_API
Definition: HOM_API.h:13
fpreal64 dot(const CE_VectorT< T > &a, const CE_VectorT< T > &b)
Definition: CE_Vector.h:140
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:556
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542