21 #ifndef __VOP_AutoConvert_h__
22 #define __VOP_AutoConvert_h__
57 void hookupBetween(
VOP_Node* input_node,
59 int input_idx,
bool tell_nodes);
61 bool isConnected(
int inputidx,
bool recursive)
override;
64 const char *
inputLabel(
unsigned idx)
const override;
65 const char *
outputLabel(
unsigned idx)
const override;
67 static void initConversions();
69 static const char* getAutoConvertOpName(
const VOP_TypeInfo &from_type,
71 static const char* getAutoConvertOpName(
VOP_Type from_type,
VOP_Type to_type);
75 bool current_types_only);
84 int idx)
const override;
93 int idx)
const override;
113 static bool theDidInitConversions;
virtual int getInputFromNameSubclass(const UT_String &in) const
Reprsents a language for which VOPs can generate source code.
virtual void getOuterCode(UT_String &codestr, const VOP_CodeGenContext &context)
bool isAutoConvertNode() const override
Retruns true if the node is an internal auto-convert node.
GLsizei const GLchar *const * string
virtual unsigned getNumVisibleInputs() const
virtual OP_Input * getInputReferenceConst(unsigned idx) const
virtual const char * inputLabel(unsigned idx) const
virtual unsigned getNumVisibleOutputs() const
virtual void getInputTypeInfoSubclass(VOP_TypeInfo &type_info, int idx)
virtual bool isConnected(int inputidx, bool recursive)
virtual void getCode(UT_String &codestr, const VOP_CodeGenContext &context)
Get the code fragment to be included in the shader code.
virtual const char * outputLabel(unsigned idx) const
virtual void getOutputTypeInfoSubclass(VOP_TypeInfo &type_info, int idx)
virtual void getOutputNameSubclass(UT_String &out, int idx) const
void getPathWithSubnet(UT_String &str) const override
Returns the path of this node relative to its getCreator()
virtual OP_Input * getInputReference(unsigned idx, bool grow)
VOP_Type
Enumeration of the built-in (basic) VOP data types.
virtual void getInputNameSubclass(UT_String &in, int idx) const
OP_Network * getParentNetwork() const override
Returns the network that is our parent.