12 #ifndef __OBJ_DopNet__
13 #define __OBJ_DopNet__
22 #define FLOAT_OBJ_PARM(name, idx, vi, t) \
23 return evalFloat(name, &getIndirect()[idx], vi, t);
24 #define INT_OBJ_PARM(name, idx, vi, t) \
25 return evalInt(name, &getIndirect()[idx], vi, t);
26 #define STR_OBJ_PARM(name, idx, vi, t) \
27 evalString(str, name, &getIndirect()[idx], vi, t);
114 int getNumDOPGeometries()
const;
118 bool acceptguide)
const;
122 bool getDOPIsGuide(
int index)
const;
124 {
return TIMELESS(); }
195 {
return evalInt(
"timeless", 0, 0.0); }
219 {
return myDopNetIndirect; }
251 int indent_level)
const override;
262 static int *myDopNetIndirect;
263 static int myLastInternalParmIndex;
266 #undef FLOAT_OBJ_PARM
bool opIsPlayer() const override
Checks to see if the dop is in play mode.
OP_OpTypeId getChildTypeID() const override
GT_API const UT_StringHolder selection
bool cookedDataUsesAllParameters() const override
virtual DOP_Engine & getNonConstEngineSubclass()=0
int doDrawLit() const override
static const char * theChildTableName
#define FLOAT_OBJ_PARM(name, idx, vi, t)
virtual void handleRefilterParms(const SIM_Time &t)
virtual OBJ_OBJECT_TYPE getObjectType() const =0
virtual DOP_Parent * castToDOPParent()
int getDandROpsEqual() override
#define STR_OBJ_PARM(name, idx, vi, t)
bool createSpareParametersForLoad(UT_StringArray &names, PRM_ParmNameMap &nmap, UT_String &errors) override
int isObjectLitBy(OBJ_Node *, fpreal) override
virtual void childFlagChange(OP_Node *)
bool getIsTimeless() const override
virtual void clearInterrupted()
bool evalVariableValue(fpreal &val, int var_id, int thread) override
int EXPLICITCACHENSTEPS()
int CACHETODISKNONINTERACTIVE()
virtual const DOP_Engine & getEngineSubclass() const =0
void EXPLICITCACHENAME(UT_String &str)
virtual void handleResimParms(const SIM_Time &t)
void PLAYFILESNAME(UT_String &str) const
virtual void getDescriptiveName(UT_String &str) const
int updateDandROpsEqual(int check_inputs=1) override
virtual OP_Node * getRenderNodePtr()
GLuint const GLchar * name
#define INT_OBJ_PARM(name, idx, vi, t)
int * getIndirect() const override
virtual void getDescriptiveParmName(UT_String &str) const
**Note that the tasks the is the thread number *for the or if it s being executed by a non pool thread(this *can happen in cases where the whole pool is occupied and the calling *thread contributes to running the work load).**Thread pool.Have fun
OBJ_DopNet * castToOBJDopNet() override
virtual int isObjectRenderable(fpreal t) const
void COMPRESSSIMS(UT_String &str)
void DISPLAYFILTER(UT_String &str)
bool createSpareParametersFromChannels(UT_BitArray &selection, const CH_ChannelList &channels) override
bool updateParmsFlags() override
const char * getChildType() const override
bool isLightInLightMask(const OBJ_Node *, fpreal) override
Function to resolve lighting based on light masks.
virtual void getOwnedMicroNodes(DEP_MicroNodeList µnodes)
exint evalInt(int pi, int vi, fpreal t) const
static PRM_Template * getObsolete()
bool evalVariableValue(fpreal &v, int i, int thr) override
virtual void setDOPTimeSubclass(const SIM_Time &t)
void INITIALSTATE(UT_String &str)
int EXPLICITCACHECHECKPOINTSPACING()
virtual void filterDataSubclass(const SIM_Time &t)=0
virtual void dumpMicroNodes(std::ostream &os, bool as_DOT, int indent_level) const
ImageBuf OIIO_API channels(const ImageBuf &src, int nchannels, cspan< int > channelorder, cspan< float > channelvalues={}, cspan< std::string > newchannelnames={}, bool shuffle_channel_names=false, int nthreads=0)
virtual void clearCache()