14 #ifndef __SOP_Node_h__
15 #define __SOP_Node_h__
50 class SOP_SoftLockData;
53 class sop_AttributeEvaluator;
102 #define SOP_LOCALVAR_START 1000000 // Start of local variable indices
127 void *
data=0)
override;
133 SOP_Node *getOutputSop(
int outputidx,
134 bool fallback_to_display_render =
true);
142 const char *
name)
override;
144 const char *
name)
override;
150 void setVariableOrder(
int detail,
int prim,
154 int getVariableOrder(
int level)
const;
156 int getVariablePrecedence(
int var)
const;
169 int outputidx)
override;
172 void clearLocalVars();
173 void updateLocalVarOffsets();
181 void clearAttributeEvalCaches();
190 theGlobalCaptOverride = flag;
194 return theGlobalCaptOverride;
201 bool setupLocalVars();
206 void resetLocalVarRefs();
208 void setCurGdh(
int index,
210 void clearCurGdh(
int index);
213 void setCurPoint(
int index,
215 void clearCurPoint(
int index);
216 void setCurVertex(
int index,
218 void clearCurVertex(
int index);
219 void setCurPrim(
int index,
221 void clearCurPrim(
int index);
222 void setCurVertexNum(
int index,
224 void clearCurVertexNum(
int index);
251 operator int()
const {
return myIndex; }
259 void addGenericVariable(
const char *varname,
261 const AttribTupleIndexArg &tuple_idx,
264 void addGenericVariable(
const char *varname,
265 const char *attribname,
266 const AttribTupleIndexArg &tuple_idx,
269 void addGenericVariable(
const char *varname,
276 void addGenericVariable(
const GU_Detail *gdp,
279 const char *attribname,
280 const AttribTupleIndexArg &tuple_idx,
283 void addGenericVariable(
int gpdidx,
288 void addSpecificVariable(
const GU_Detail *gdp,
291 const char *attribname,
292 const AttribTupleIndexArg &tuple_idx,
296 void addSpecificVariable(
int gpidx,
303 static int addCustomVariableCallback(
const char *attr,
304 const char *varname,
void *
data);
305 void addCustomVariable(
const char *attr,
306 const char *varname);
308 void cacheVarPtBox(
int gpdidx);
309 void cacheVarPrimBox(
int gpdidx);
343 {
UT_ASSERT(index == 0 || index == 1);
return myCurVtxNum[
index]; }
349 {
UT_ASSERT(local_var_gdp_index == 0 || local_var_gdp_index == 1);
351 return myCurVtxOff[local_var_gdp_index]; }
357 {
UT_ASSERT(index == 0 || index == 1);
if (!myCurGdp[index])
return 0;
return myCurGdp[
index]->getGEOPrimitive(myCurPrimOff[index]); }
366 cacheVarPtBox(index);
367 return myCurPtBox[
index];
374 cacheVarPrimBox(index);
375 return myCurPrimBox[
index];
380 void setPivotParmToGroupCentroid(
OP_Context &context);
384 void getGroupMenuHeader(
int sourcenum,
const char * title,
388 const char *prim_header,
389 const char *pt_header,
390 const char *edge_header,
391 const char *vertex_header,
392 PRM_Name *menuEntries,
int themenusize,
394 bool includeselection,
const PRM_Parm *parm);
397 const char * edge_header,
398 const char *prim_header,
const char *pt_header,
399 const char *vertex_header,
400 PRM_Name *menuEntries,
int themenusize,
401 bool addprim,
int start,
404 static int buildSopBreakpointGroups(
const GU_Detail *
src,
405 const char * brkpt_header,
406 const char * prim_header,
const char *pt_header,
407 const char * edge_header,
408 const char *vertex_header,
409 PRM_Name *choicenames,
int menusize,
410 bool addprim,
int start,
416 static void buildGroupsFromSop(
SOP_Node * src_sop,
420 PRM_Name *menuEntries,
int thelistsize );
422 static int buildEdgeGroupsFromSop(
SOP_Node * src_sop,
425 bool addprim,
int start,
426 PRM_Name *menuEntries,
int thelistsize );
428 static int buildBreakpointGroupsFromSop(
SOP_Node * src_sop,
431 bool addprim,
int start,
432 PRM_Name *menuEntries,
int thelistsize );
434 void buildNamedPrims(
int thesourcenum,
439 bool numberedvolumes);
441 void buildInputGroups(
int thesourcenum,
445 bool includeselection,
448 int buildInputEdgeGroups(
int sourcenum,
449 PRM_Name *choicenames,
int menusize,
450 bool addprim,
int start,
453 int buildInputBreakpointGroups(
int sourcenum,
454 PRM_Name *choicenames,
int menusize,
455 bool addprim,
int start,
458 OP_LockTypes setModelLock(OP_LockTypes lock_type,
459 void *modeler =
nullptr,
460 bool allow_softlock_promotion =
false,
461 UT_Undo *undo =
nullptr)
override;
466 void *getCookedData(
OP_Context &ctx)
override;
485 const SOP_Guide *getCookedGuide1()
const;
486 const SOP_Guide *getCookedGuide2()
const;
516 {
return GuideType::VIEWPORT; }
529 void unlockInput(
unsigned idx)
override;
531 void unlockInputs()
override;
534 static void initializeExpressions();
551 bool forceValidGroupPrefix(
UT_String &prefix,
554 void expandGroupMask(
const char *
pattern,
561 { expandGroupMask(pattern, outNames, type, gdp); }
568 bool allow_numeric =
true,
569 bool ordered =
false,
580 {
return parsePrimitiveGroups(pattern,
GroupCreator(gdp,
false),
true,
true); }
583 const GroupCreator &creator,
584 bool allow_numeric =
true,
585 bool ordered =
false,
586 bool strict =
false);
592 bool strict =
false);
594 {
return parsePrimitiveGroupsCopy(pattern,
GroupCreator(gdp,
false),
true,
true); }
597 const GroupCreator &creator,
598 bool allow_numeric =
true,
599 bool ordered =
false,
610 {
return parsePointGroups(pattern,
GroupCreator(gdp,
false),
true,
true); }
613 const GroupCreator &creator,
614 bool allow_numeric =
true,
615 bool ordered =
false,
616 bool strict =
false);
622 bool strict =
false);
624 {
return parsePointGroupsCopy(pattern,
GroupCreator(gdp,
false),
true,
true); }
626 const GA_EdgeGroup *parseEdgeGroups(
const char *pattern,
632 {
return parseEdgeGroups(pattern, (
const GU_Detail *)gdp); }
637 {
return parseEdgeGroupsCopy(pattern, (
const GU_Detail *)gdp); }
644 {
return parseBreakpointGroups(pattern, (
const GU_Detail *)gdp); }
649 {
return parseBreakpointGroupsCopy(pattern,(
const GU_Detail *)gdp);}
656 {
return parseVertexGroups(pattern, (
const GU_Detail *)gdp); }
661 {
return parseVertexGroupsCopy(pattern, (
const GU_Detail *)gdp); }
663 const GA_Group *parseAllGroups(
const char *pattern,
664 const GroupCreator &creator,
665 bool allow_numeric =
true,
666 bool ordered =
false,
670 const GA_Group *parseAllGroups(
const char *pattern,
676 {
return parseAllGroups(pattern,
GroupCreator(gdp,
false),
true,
true); }
678 GA_Group *parseAllGroupsCopy(
const char *pattern,
679 const GroupCreator &creator,
680 bool allow_numeric =
true,
681 bool ordered =
false,
685 GA_Group *parseAllGroupsCopy(
const char *pattern,
691 {
return parseAllGroupsCopy(pattern,
GroupCreator(gdp,
false),
true,
true); }
700 {
return myGroupParse.destroyAdhocGroup(group); }
702 { myGroupParse.destroyAdhocGroups(); }
704 { myGroupParse.destroyAdhocGroups(g); }
711 void updateUserSelectionOnDetail();
724 void clearNodeSelectionSet();
730 void copyCookedSelectionToUserSelection(
OP_Context *context = 0);
742 bool add_to_sel = false);
746 bool add_to_sel = false);
749 bool add_to_sel = false);
751 bool prim_sel = true,
752 bool add_to_sel = false);
753 void selectPoint(
GA_Offset ptoff,
bool point_sel = true,
754 bool add_to_sel = false);
755 void selectFrom(const
GEO_Primitive &prim,
bool sel_prim = true,
756 bool add_to_sel = false);
757 void selectPointsFrom(
GA_Offset ptoff,
bool point_sel = true,
758 bool add_to_sel = false);
760 bool add_to_sel = false);
765 void selectInputGroup(const
GA_Group *group,
770 void selectInputGroup(const
GA_Group *group,
775 void clearSelection();
790 bool destroySelection();
793 bool selectionEnabled()
const
795 return getHighlight();
800 return myHasCookedSelection;
831 virtual
void resetSimulation () {}
835 void addInstanceReference(
SOP_Node *node);
836 void clearInstanceReference(
SOP_Node *node);
858 virtual void makePreserveRequest();
863 void getNodeSpecificInfoText(
OP_Context &context,
898 fpreal getW()
const override;
900 fpreal getH()
const override;
914 void setUniqueId(
int id)
override;
915 void clearUniqueId()
override;
924 {
return myGroupParse.removeAdhocGroup(group); }
926 { myGroupParse.removeAdhocGroups(); }
935 int &copied_input)
override;
957 int alone = 0)
override;
959 void notifyGroupParmListeners(
960 int parm_index,
int group_type_index,
982 bool alone =
false,
bool do_selection =
true,
984 int group_type_index = -1,
985 bool allow_reference =
true,
986 bool ordered =
false,
987 bool detached =
true,
988 int input_index = 0);
991 bool alone,
bool do_selection,
993 int group_type_index,
994 bool allow_reference,
996 const GroupCreator &creator);
1001 int alone = 0,
bool do_selection =
true,
1002 int input_index = 0,
int parm_index = 0,
1003 int group_type_index = -1,
1004 bool allow_reference =
true,
1005 bool fetchgdp =
true,
1011 bool alone =
false,
bool do_selection =
true,
1013 int group_type_index = -1,
1014 bool allow_reference =
true,
1015 bool ordered =
false,
1016 bool detached =
true,
1017 int input_index = 0);
1020 bool alone,
bool do_selection,
1022 int group_type_index,
1023 bool allow_reference,
1025 const GroupCreator &creator);
1030 int alone = 0,
bool do_selection =
true,
1031 int input_index = 0,
int parm_index = 0,
1032 int group_type_index = -1,
1033 bool allow_reference =
true,
1034 bool fetchgdp =
true,
1040 bool alone =
false,
bool do_selection =
true,
1042 int group_type_index = -1,
1043 bool allow_reference =
true,
1044 int input_index = 0);
1047 bool alone,
bool do_selection,
1049 int group_type_index,
1050 bool allow_reference,
1056 int alone = 0,
bool do_selection =
true,
1057 int input_index = 0,
int parm_index = 0,
1058 int group_type_index = -1,
1063 bool allow_reference =
false,
1064 bool fetchgdp =
true,
1073 bool alone =
false,
bool do_selection =
true,
1075 int group_type_index = -1,
1077 bool allow_reference =
true,
1078 bool is_default_prim =
true,
1079 bool ordered =
false,
1080 bool detached =
true,
1081 int input_index = 0);
1084 bool alone,
bool do_selection,
1086 int group_type_index,
1088 bool allow_reference,
1089 bool is_default_prim,
1091 const GroupCreator &creator);
1096 int alone = 0,
bool do_selection =
true,
1097 int input_index = 0,
int parm_index = 0,
1098 int group_type_index = -1,
1099 bool allow_reference =
false,
1100 bool is_default_prim =
true,
1101 bool fetchgdp =
true,
1111 bool allow_reference,
bool is_default_prim,
1112 bool ordered=
false);
1115 bool allow_reference,
bool is_default_prim);
1124 bool alone,
int input_index,
bool detached,
1125 GroupCreator &creator);
1128 bool alone,
int input_index,
1133 void cookInputGroupsEpilogue(
int parm_index,
int group_type_index,
1135 int input_index,
bool fetchgdp,
bool alone);
1138 void inputConnectChanged(
int which_input)
override;
1148 {
return inputGeo(index); }
1171 { getLockedErrorManager()->systemError(msg);}
1173 const char *msg = 0)
1174 { getLockedErrorManager()->commonError(what, msg);}
1176 const char *msg = 0)
1177 { getLockedErrorManager()->commonWarning(what, msg);}
1264 const char *group_type_parm = NULL,
1265 int input_index = 0,
1267 const char *assoc_groups = NULL,
1268 GroupSelectAsOrdered ordered =
1269 GroupSelectAsOrdered::AUTO,
1270 const char *use_name_attr=
nullptr,
1271 const char *select_script=
nullptr);
1275 const char *group_type_parm = NULL,
1276 int input_index = 0,
1278 const char *assoc_groups = NULL,
1279 GroupSelectAsOrdered ordered =
1280 GroupSelectAsOrdered::AUTO,
1281 const char *use_name_attr=
nullptr,
1282 const char *select_script=
nullptr);
1291 void pickPrimitivesUsingPathAttribute(
1294 const char *stringparm,
1296 const char *path_attrib=
"path",
1297 bool use_packed_names=
true);
1300 void pickPrimitivesUsingPathAttribute(
1301 const char *stringparm,
1304 const char *path_attrib=
"path",
1305 bool use_packed_names=
true);
1309 static GA_Range getPickedRangeUsingPathAttribute(
1312 const char *pickedstring,
1313 const char *path_attrib=
"path",
1314 bool use_packed_names=
true);
1318 int parseGroups(
const char *pattern,
1322 bool strict =
false);
1325 int parseGroupsCopy(
const char *pattern,
1331 bool strict =
false,
1349 int fillAttribNameMenu(
PRM_Name *menu_entries,
1354 void *approve_data = NULL,
1355 bool decode_tokens =
false);
1358 static void removeMenuDuplicates(
PRM_Name *menuEntries,
int size);
1363 void getVectorAttribs(
const char * attrib_names,
1367 static void getVectorAttribs(
GU_Detail *gdp,
1368 const char * attrib_names,
1375 const char * attrib_string,
1384 const char *l)
override;
1392 int forEachGroupMatchingMask(
1393 const char *pattern,
1394 GroupOperation operation,
1398 bool maintainorder=
false);
1400 static int invokeForEachGroupMatchingMask(
1402 const char *pattern,
1405 bool maintainorder);
1412 static void invokeForSubdivisionOfPrimitiveGroup(
1416 int opstep,
const char *oplabel,
1420 void subdividePrimitiveGroup(
1421 GroupOperation operation,
1423 void *
data,
int optype,
1424 int opstep,
const char *oplabel,
1426 void subdivideMixPrimitiveGroup(
1427 GroupOperation operation,
1429 void *
data,
int optype,
1430 int opstep,
const char *oplabel,
1432 void subdividePointGroup(
1433 GroupOperation operation,
1435 void *
data,
int optype,
1436 int opstep,
const char *oplabel,
1443 const char *p=
"adhoc")
1444 {
return myGroupParse.createPrimitiveGroup(geo, p); }
1446 const char *p=
"adhoc")
1447 {
return myGroupParse.createPointGroup(geo, p); }
1449 const char *p=
"adhoc")
1450 {
return myGroupParse.createEdgeGroup(geo, p); }
1452 const char *p=
"adhoc")
1453 {
return myGroupParse.createVertexGroup(geo, p); }
1456 return myGroupParse.appendAdhocGroup(
1473 return myGroupParse.createBreakpointGroup(geo);
1483 void clearInstance(
int duplicate = 0);
1485 bool hasInstances();
1487 int countInstances();
1489 void clearAllInstances();
1508 return duplicateSource(index, context, gdp,
true);
1525 bool wattrib =
true,
1529 return duplicatePointSource(index, ctx, gdp, 1,
1536 bool copyPointPosFromSource(
1542 int *changed = 0,
bool force=
false);
1551 void resetChangedSourceFlags();
1552 void resetChangedSourceFlags(
int which_input);
1572 return myInputChangeHelper.useInput(
1573 *
this, idx, changed, force);
1576 void deleteCookedData()
override;
1577 int deleteNodeData(
void *)
override;
1580 void convertPivotAboutGroupCentroid(
1584 void convertPivotAboutGroupCentroid(
1586 const char *pivot_parm_name,
1601 const char *pathPrefix,
1606 const char *
path=0)
override;
1633 OP_ERROR saveIntrinsic(std::ostream &os,
1637 short class_id,
short sig,
1638 const char *
path=0)
override;
1639 bool loadPacket(
UT_IStream &is,
const char *token,
1640 const char *
path=0)
override;
1642 void clearAndDestroy()
override;
1644 int saveCookedData(
const char *,
1646 int saveCookedData(std::ostream &os,
1648 int binary = 0)
override;
1650 const char *
path=0)
override;
1657 const char *getFileExtension(
int binary)
const override;
1659 bool softLockable(
const GU_Detail &unmodelled_gdp,
1666 SOP_SoftLockData *old_slockdata=0);
1669 void *myVisualizeCallbackData;
1678 virtual void unloadDataHack();
1683 bool unloadData()
override;
1686 void clearVerbCache();
1690 int64 getMemoryUsage(
bool inclusive)
const override;
1695 virtual int64 getLoadedMemoryUsage()
const;
1698 bool isLoaded()
const override;
1701 bool shouldUnload()
const;
1717 static void markDetailDirty(
GU_Detail *dirtygdp,
1718 bool bumpalldataid);
1740 friend class SOP_CacheData;
1741 friend class sop_AttributeEvaluator;
1746 SOP_SoftLockData *mySoftLockData;
1748 bool myHasCookedSelection;
1754 static bool theGlobalCaptOverride;
1764 { myUsesSOPLocalVar =
true; }
1767 const char *
name)
override;
1768 void getAttributeEvaluatorNames(
1772 bool hasTransformTracks()
const override;
1773 bool evaluateTransformTracks(
OP_Context &context,
1775 bool evaluateTransformTracksTargets(
OP_Context &context,
1809 int myCurBuiltPtBox[2];
1811 int myCurBuiltPrimBox[2];
1824 int myAttribCacheOffsetGdpId[2];
1825 int myAttribCacheOffsetMetaCacheCount[2];
1826 unsigned int myAttribCacheTotalDictSize[2];
1836 friend class sop_NodeInputs;
static PRM_ChoiceList primGroupMenu
GA_VertexGroup * parseVertexGroupsCopy(const char *pattern)
virtual void setVisualization(bool)
GT_API const UT_StringHolder selection
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
int curVertexNum(int index) const
Definition of a geometry attribute.
static PRM_ChoiceList pointAttribReplaceMenu
GA_VertexGroup * createAdhocVertexGroup(GU_Detail &geo, const char *p="adhoc")
static PRM_ChoiceList allGroupMenu
static PRM_ChoiceList vertexTextureCoordMenu
static PRM_SpareData theFourthInput
GA_PrimitiveGroupUPtr createDetachedPrimitiveGroup() const
virtual const SOP_NodeVerb * cookVerb() const
GLdouble GLdouble GLint GLint const GLdouble * points
#define SYS_DEPRECATED(__V__)
GA_StorageClass myStorageClass
GA_ROAttributeRef myOffset
const GA_Group * parseAllGroups(const char *pattern)
static PRM_ChoiceList edgeGroupReplaceMenu
GA_Offset curVertex(int local_var_gdp_index) const
GA_PointGroup * createAdhocPointGroup(const GEO_Detail &geo)
static PRM_ChoiceList namedPrimsMenu
static PRM_ChoiceList namedVolumesGlobMenu
Class which stores the default values for a GA_Attribute.
#define SYS_VISIBILITY_EXPORT
getFileOption("OpenEXR:storage") storage
UT_StringMap< sop_AttributeEvaluator * > myAttributeEvaluatorCache
Stores the @ cache lookups generated JIT.
GT_API const UT_StringHolder time
#define SYS_DEPRECATED_PUSH_DISABLE()
const GA_PrimitiveGroup * parsePrimitiveGroups(const char *pattern)
static PRM_ChoiceList allAttribMenu
GA_AttributeOwner myDictionary
#define SYS_DEPRECATED_POP_DISABLE()
static PRM_ChoiceList groupNameMenu
virtual GuideType getGuideType(int guide_idx)
#define SYS_DEPRECATED_HDK_REPLACE(__V__, __R__)
const GLuint GLenum const void * binary
void destroyAdhocGroups(const GU_Detail *g)
GLsizei const GLchar *const * path
static PRM_ChoiceList breakpointGroupMenu
int removeAdhocGroup(const GA_Group *group)
void addSystemError(const char *msg=0)
static PRM_ChoiceList pointAttribMenu
static PRM_ChoiceList primGroupReplaceMenu
bool useInputSource(unsigned idx, bool &changed, bool force)
Mark the given input as used for cooking by this node.
void addMessage(SOP_ErrorCodes code, const char *msg=0)
static PRM_ChoiceList edgePointGroupReplaceMenu
void addCommonError(UT_CommonErrorCode what, const char *msg=0)
static PRM_ChoiceList primNamedGroupMenu
Parameters for OP_Node::getInfoText()/OP_Node::getNodeSpecificInfoText()
fpreal(SOP_Node::* SOP_LocalVarFunc)(sopVarInfo *varinfo)
static PRM_SpareData theSecondElseFirstInput
UT_SharedPtr< GU_SelectionSet > GU_SelectionSetHandle
GU_DetailHandle myGdpHandle
static PRM_ChoiceList primNamedGroupReplaceMenu
const GEO_Primitive * curPrim(int index) const
const GA_PointGroup * parsePointGroups(const char *pattern)
static PRM_ChoiceList pointGroupMenu
OP_Network * getCreator() const
void addError(int code, const char *msg=0)
static PRM_ChoiceList allGroupReplaceMenu
bool hasCookedSelection() const
#define GA_INVALID_OFFSET
static PRM_ChoiceList pointNamedGroupMenu
virtual const CH_LocalVariable * resolveExtraVariableForSyntaxHighlight(const char *name)
A range of elements in an index-map.
GA_EdgeGroup * parseEdgeGroupsCopy(const char *pattern)
A string map of attributes to ease backward compatibility In the GB/GEO/GU library code would often p...
GA_Offset curPoint(int index) const
#define SYS_DEPRECATED_REPLACE(__V__, __R__)
GA_PointGroupUPtr createDetachedPointGroup() const
SYS_VISIBILITY_EXPORT void newSopOperator(OP_OperatorTable *table)
const GU_DetailHandle & curGdh(int index) const
static PRM_SpareData theFirstInput
static PRM_ChoiceList edgePointGroupMenu
static PRM_ChoiceList vertexNamedGroupMenu
int myLocalVarOrderCache
Cached values so we can tell if we have to rebuild.
static PRM_ChoiceList namedVolumesMenu
void expandGroupMask(const char *pattern, UT_String &outNames, GA_GroupType type)
void destroyAdhocGroups()
vint4 select(const vbool4 &mask, const vint4 &a, const vint4 &b)
const GU_Detail * inputGeo(int index, OP_Context &)
This class provides a way to manage a reference to an attribute permitting Read-Only access...
GOP_Manager::GroupCreator GroupCreator
Typedef to help make use of GroupCreator less verbose.
void addWarning(SOP_ErrorCodes code, const char *msg=0)
static PRM_ChoiceList namedPrimsGlobMenu
GA_VertexGroup * createAdhocVertexGroup(const GEO_Detail &geo)
SOP_NodeCache * myNodeVerbCache
static bool getCaptureOverrideFlag()
GA_EdgeGroupUPtr createDetachedEdgeGroup() const
UT_ValArray< sopVarInfo * > myLocalVarArray
void opChanged(OP_EventType reason, void *data=0) override
GA_EdgeGroup * createAdhocEdgeGroup(GU_Detail &geo, const char *p="adhoc")
static PRM_ChoiceList groupReplaceMenu
virtual GOP_GuideListType getGuideListType() const
virtual bool addOrMoveVisualizerToOutput(int outputidx)
static PRM_ChoiceList primAttribReplaceMenu
static PRM_ChoiceList breakpointGroupReplaceMenu
UT_BoundingBox curPointBBox(int index)
sopVarInfo * mySecondaryVariable
GA_PointGroup * parsePointGroupsCopy(const char *pattern)
int isCookingRender() const override
GLuint const GLchar * name
SOP_API void SOPfillMetaKernelMenu(void *, PRM_Name *names, int size, const PRM_SpareData *, const PRM_Parm *)
int destroyAdhocGroup(const GA_Group *group)
virtual const CH_LocalVariable * resolveVariable(const char *name)
GA_BreakpointGroup * parseBreakpointGroupsCopy(const char *pattern)
std::function< T > UT_Function
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
virtual bool getGroupCentroid(OP_Context &, UT_Vector3 &)
static PRM_ChoiceList detailAttribReplaceMenu
GA_PrimitiveGroup * createAdhocPrimGroup(GU_Detail &geo, const char *p="adhoc")
UT_SharedPtr< GU_Selection > GU_SelectionHandle
virtual void setForceCapture(bool)
const GA_VertexGroup * parseVertexGroups(const char *pattern)
GLenum GLenum GLsizei void * table
virtual OP_OpTypeId getOpTypeID() const
static PRM_ChoiceList groupMenu
SOP_API void SOPgetVexReservedTemplateLists(UT_ValArray< PRM_Template * > &tplatelists)
GT_API const UT_StringHolder version
static PRM_ChoiceList edgeGroupMenu
void setUsesSOPLocalVar()
const GU_Detail * curGdp(int index) const
GA_VertexGroupUPtr createDetachedVertexGroup() const
static PRM_ChoiceList vertexAttribReplaceMenu
static PRM_ChoiceList vertexAttribMenu
AttribTupleIndexArg(int index)
const SOP_NodeFlags & getFlags() const
virtual const char * getChildType() const
static PRM_ChoiceList pointNamedGroupReplaceMenu
void addFatal(SOP_ErrorCodes code, const char *msg=0)
**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
virtual bool shouldResetGeoToEmpty() const
Parameters for OP_Node::fillInfoTree()/OP_Node::fillInfoTreeNodeSpecific()
static PRM_ChoiceList primAttribMenu
static PRM_ChoiceList edgeNamedGroupReplaceMenu
void sopVisualizeCallback(void *, SOP_Node *, OP_Context &, GU_Detail *)
static void setCaptureOverrideFlag(bool flag)
bool isSelectionOwnerType() const overridefinal
void addCommonWarning(UT_CommonErrorCode what, const char *msg=0)
SIM_API const UT_StringHolder force
bool usesFootprint() const override
static PRM_ChoiceList edgeNamedGroupMenu
virtual GU_DetailHandle cookMyGuide(int guide_idx, OP_Context &context)
SOP_LocalVarFunc myCallback
GA_Group * parseAllGroupsCopy(const char *pattern)
GA_GroupType
An ordinal enum for the different types of groups in GA.
const GA_BreakpointGroup * parseBreakpointGroups(const char *pattern)
GA_PrimitiveGroup * parsePrimitiveGroupsCopy(const char *pattern)
SOP_NodeParms * myNodeVerbParms
virtual const char * getOpType() const
UT_SymbolMap< sopVarInfo * > myLocalVarTable
Local variable items:
A global error manager scope.
static PRM_ChoiceList detailAttribMenu
GA_PrimitiveGroup * createAdhocPrimGroup(const GEO_Detail &geo)
virtual OP_OpTypeId getChildTypeID() const =0
static PRM_SpareData theThirdInput
**If you just want to fire and args
GA_PointGroup * createAdhocPointGroup(GU_Detail &geo, const char *p="adhoc")
virtual bool evalVariableValue(UT_String &val, int index, int thread)
OP_ERROR duplicatePointSource(unsigned index, OP_Context &ctx)
virtual bool isGuideTimeDep(int guide_idx) const
static PRM_ChoiceList pointGroupReplaceMenu
virtual int isCookingRender() const
static PRM_ChoiceList vertexNamedGroupReplaceMenu
static PRM_SpareData theSecondInput
virtual int getNumGuides()
UT_BoundingBox curPrimBBox(int index)
const GA_EdgeGroup * parseEdgeGroups(const char *pattern)
static PRM_ChoiceList allAttribReplaceMenu
GA_BreakpointGroup * createAdhocBreakpointGroup(const GEO_Detail &geo)
OP_ERROR duplicateSource(unsigned index, OP_Context &context)
static PRM_ChoiceList allTextureCoordMenu
OIIO_UTIL_API std::string extension(string_view filepath, bool include_dot=true) noexcept
GA_EdgeGroup * createAdhocEdgeGroup(const GEO_Detail &geo)
virtual void clearCache()
static const char * theChildTableName
GA_Offset curPrimOff(int index) const