12 #ifndef __OBJ_SubNet__
13 #define __OBJ_SubNet__
55 int isVisibleObject(
const OBJ_Node *node,
59 void *
data=0)
override;
63 unsigned outputIdx = 0)
override;
68 unsigned outputIdx = 0)
override;
113 setString(str, meaning,
"visibleobjects",
142 {
return subnetIndirect; }
146 const char *inputLabel(
unsigned idx)
const override;
153 bool internalDisplayDisabled(
fpreal t);
154 void propagateDisplayChangeToDescendents(
155 bool visible_children_changed);
156 void checkInternalExtraInputTimeDependency(
158 void updateInternalTimeDependency();
160 bool myResetInternalTimeDependent;
161 bool myInternalTimeDependent;
162 bool myInternalExtraInputTimeDependent;
163 int myLastDisplayDisabled;
165 static int *subnetIndirect;
166 static int myLastInternalParmIndex;
OP_OpTypeId getChildTypeID() const override
virtual bool getTimeOverride()
GLuint GLsizei const GLchar * label
void OUTPUTOBJ(UT_String &str) const
void referencedParmChanged(int parm_index) override
OP_ERROR setNamedInputReference(const OP_ConnectorId &input_name, const char *label, int, const OP_ConnectorId *output_name=NULL) override
OP_ERROR setIndirectInput(unsigned idx, OP_IndirectInput *in) override
Connects an input to an indirect input of our parent subnet.
static const char * theChildTableName
void VISIBLEOBJECTS(UT_String &str, fpreal t)
virtual OBJ_OBJECT_TYPE getObjectType() const =0
void setString(const UT_StringRef &val, CH_StringMeaning meaning, int parmi, int vectori, fpreal t)
int parmIndexOUTPUTOBJ() const
virtual void childFlagChange(OP_Node *)
bool getBoundingBox(UT_BoundingBox &box, OP_Context &ctx) override
virtual int * getIndirect() const =0
void evalString(UT_String &val, int pi, int vi, fpreal t) const
int getCachedParmIndex(const UT_StringRef &name, int name_idx) const
OP_ERROR setInputReference(unsigned idx, const char *label, int keeppos, unsigned outputIdx=0) override
Connects an input to particular node by name in the network.
OBJ_SubNet * castToOBJSubNet() override
virtual OP_ERROR cookMyObj(OP_Context &context)
virtual OP_Node * getRenderNodePtr()
GLuint const GLchar * name
int doDrawLit() const override
virtual int isObjectRenderable(fpreal t) const
void getParallelInputs(OP_Context &context, OP_NodeList &nodes) const override
virtual void buildParmDependency(int parm_index)
const char * getChildType() const override
OP_ERROR setNamedInput(const OP_ConnectorId &input_name, OP_Node *op, const OP_ConnectorId *output_name=NULL) override
New input functions that use names instead of indices.
OP_ERROR setInput(unsigned idx, OP_Node *op, unsigned outputIdx=0) override
Sets a given input to connect to an output of a particular node.
void opChanged(OP_EventType reason, void *data=0) override
int * getIndirect() const override
OP_ERROR setNamedIndirectInput(const OP_ConnectorId &input_name, OP_IndirectInput *input) override
void setVISIBLEOBJECTS(const UT_String &str, CH_StringMeaning meaning, fpreal t)
virtual OP_Node * getDisplayNodePtr()
int parmIndexVISIBLEOBJECTS() const