14 #ifndef __SOP_Node_h__
15 #define __SOP_Node_h__
49 class SOP_SoftLockData;
52 class sop_AttributeEvaluator;
101 #define SOP_LOCALVAR_START 1000000 // Start of local variable indices
126 void *
data=0)
override;
132 SOP_Node *getOutputSop(
int outputidx,
133 bool fallback_to_display_render =
true);
141 const char *
name)
override;
143 const char *
name)
override;
149 void setVariableOrder(
int detail,
int prim,
153 int getVariableOrder(
int level)
const;
155 int getVariablePrecedence(
int var)
const;
168 int outputidx)
override;
171 void clearLocalVars();
172 void updateLocalVarOffsets();
180 void clearAttributeEvalCaches();
189 theGlobalCaptOverride = flag;
193 return theGlobalCaptOverride;
200 bool setupLocalVars();
205 void resetLocalVarRefs();
207 void setCurGdh(
int index,
209 void clearCurGdh(
int index);
212 void setCurPoint(
int index,
214 void clearCurPoint(
int index);
215 void setCurVertex(
int index,
217 void clearCurVertex(
int index);
218 void setCurPrim(
int index,
220 void clearCurPrim(
int index);
221 void setCurVertexNum(
int index,
223 void clearCurVertexNum(
int index);
250 operator int()
const {
return myIndex; }
258 void addGenericVariable(
const char *varname,
260 const AttribTupleIndexArg &tuple_idx,
263 void addGenericVariable(
const char *varname,
264 const char *attribname,
265 const AttribTupleIndexArg &tuple_idx,
268 void addGenericVariable(
const char *varname,
275 void addGenericVariable(
const GU_Detail *gdp,
278 const char *attribname,
279 const AttribTupleIndexArg &tuple_idx,
282 void addGenericVariable(
int gpdidx,
287 void addSpecificVariable(
const GU_Detail *gdp,
290 const char *attribname,
291 const AttribTupleIndexArg &tuple_idx,
295 void addSpecificVariable(
int gpidx,
302 static int addCustomVariableCallback(
const char *attr,
303 const char *varname,
void *
data);
304 void addCustomVariable(
const char *attr,
305 const char *varname);
307 void cacheVarPtBox(
int gpdidx);
308 void cacheVarPrimBox(
int gpdidx);
342 {
UT_ASSERT(index == 0 || index == 1);
return myCurVtxNum[
index]; }
348 {
UT_ASSERT(local_var_gdp_index == 0 || local_var_gdp_index == 1);
350 return myCurVtxOff[local_var_gdp_index]; }
356 {
UT_ASSERT(index == 0 || index == 1);
if (!myCurGdp[index])
return 0;
return myCurGdp[
index]->getGEOPrimitive(myCurPrimOff[index]); }
365 cacheVarPtBox(index);
366 return myCurPtBox[
index];
373 cacheVarPrimBox(index);
374 return myCurPrimBox[
index];
379 void setPivotParmToGroupCentroid(
OP_Context &context);
383 void getGroupMenuHeader(
int sourcenum,
const char * title,
387 const char *prim_header,
388 const char *pt_header,
389 const char *edge_header,
390 const char *vertex_header,
391 PRM_Name *menuEntries,
int themenusize,
393 bool includeselection,
const PRM_Parm *parm);
396 const char * edge_header,
397 const char *prim_header,
const char *pt_header,
398 const char *vertex_header,
399 PRM_Name *menuEntries,
int themenusize,
400 bool addprim,
int start,
403 static int buildSopBreakpointGroups(
const GU_Detail *
src,
404 const char * brkpt_header,
405 const char * prim_header,
const char *pt_header,
406 const char * edge_header,
407 const char *vertex_header,
408 PRM_Name *choicenames,
int menusize,
409 bool addprim,
int start,
415 static void buildGroupsFromSop(
SOP_Node * src_sop,
419 PRM_Name *menuEntries,
int thelistsize );
421 static int buildEdgeGroupsFromSop(
SOP_Node * src_sop,
424 bool addprim,
int start,
425 PRM_Name *menuEntries,
int thelistsize );
427 static int buildBreakpointGroupsFromSop(
SOP_Node * src_sop,
430 bool addprim,
int start,
431 PRM_Name *menuEntries,
int thelistsize );
433 void buildNamedPrims(
int thesourcenum,
438 bool numberedvolumes);
440 void buildInputGroups(
int thesourcenum,
444 bool includeselection,
447 int buildInputEdgeGroups(
int sourcenum,
448 PRM_Name *choicenames,
int menusize,
449 bool addprim,
int start,
452 int buildInputBreakpointGroups(
int sourcenum,
453 PRM_Name *choicenames,
int menusize,
454 bool addprim,
int start,
457 OP_LockTypes setModelLock(OP_LockTypes lock_type,
458 void *modeler =
nullptr,
459 bool allow_softlock_promotion =
false,
460 UT_Undo *undo =
nullptr)
override;
465 void *getCookedData(
OP_Context &ctx)
override;
484 const SOP_Guide *getCookedGuide1()
const;
485 const SOP_Guide *getCookedGuide2()
const;
515 {
return GuideType::VIEWPORT; }
527 void unlockInput(
unsigned idx)
override;
529 void unlockInputs()
override;
532 static void initializeExpressions();
549 bool forceValidGroupPrefix(
UT_String &prefix,
552 void expandGroupMask(
const char *
pattern,
559 { expandGroupMask(pattern, outNames, type, gdp); }
566 bool allow_numeric =
true,
567 bool ordered =
false,
578 {
return parsePrimitiveGroups(pattern,
GroupCreator(gdp,
false),
true,
true); }
581 const GroupCreator &creator,
582 bool allow_numeric =
true,
583 bool ordered =
false,
584 bool strict =
false);
590 bool strict =
false);
592 {
return parsePrimitiveGroupsCopy(pattern,
GroupCreator(gdp,
false),
true,
true); }
595 const GroupCreator &creator,
596 bool allow_numeric =
true,
597 bool ordered =
false,
608 {
return parsePointGroups(pattern,
GroupCreator(gdp,
false),
true,
true); }
611 const GroupCreator &creator,
612 bool allow_numeric =
true,
613 bool ordered =
false,
614 bool strict =
false);
620 bool strict =
false);
622 {
return parsePointGroupsCopy(pattern,
GroupCreator(gdp,
false),
true,
true); }
624 const GA_EdgeGroup *parseEdgeGroups(
const char *pattern,
630 {
return parseEdgeGroups(pattern, (
const GU_Detail *)gdp); }
635 {
return parseEdgeGroupsCopy(pattern, (
const GU_Detail *)gdp); }
642 {
return parseBreakpointGroups(pattern, (
const GU_Detail *)gdp); }
647 {
return parseBreakpointGroupsCopy(pattern,(
const GU_Detail *)gdp);}
654 {
return parseVertexGroups(pattern, (
const GU_Detail *)gdp); }
659 {
return parseVertexGroupsCopy(pattern, (
const GU_Detail *)gdp); }
661 const GA_Group *parseAllGroups(
const char *pattern,
662 const GroupCreator &creator,
663 bool allow_numeric =
true,
664 bool ordered =
false,
668 const GA_Group *parseAllGroups(
const char *pattern,
674 {
return parseAllGroups(pattern,
GroupCreator(gdp,
false),
true,
true); }
676 GA_Group *parseAllGroupsCopy(
const char *pattern,
677 const GroupCreator &creator,
678 bool allow_numeric =
true,
679 bool ordered =
false,
683 GA_Group *parseAllGroupsCopy(
const char *pattern,
689 {
return parseAllGroupsCopy(pattern,
GroupCreator(gdp,
false),
true,
true); }
698 {
return myGroupParse.destroyAdhocGroup(group); }
700 { myGroupParse.destroyAdhocGroups(); }
702 { myGroupParse.destroyAdhocGroups(g); }
709 void updateUserSelectionOnDetail();
722 void clearNodeSelectionSet();
728 void copyCookedSelectionToUserSelection(
OP_Context *context = 0);
740 bool add_to_sel = false);
744 bool add_to_sel = false);
747 bool add_to_sel = false);
749 bool prim_sel = true,
750 bool add_to_sel = false);
751 void selectPoint(
GA_Offset ptoff,
bool point_sel = true,
752 bool add_to_sel = false);
753 void selectFrom(const
GEO_Primitive &prim,
bool sel_prim = true,
754 bool add_to_sel = false);
755 void selectPointsFrom(
GA_Offset ptoff,
bool point_sel = true,
756 bool add_to_sel = false);
758 bool add_to_sel = false);
763 void selectInputGroup(const
GA_Group *group,
768 void selectInputGroup(const
GA_Group *group,
773 void clearSelection();
788 bool destroySelection();
791 bool selectionEnabled()
const
793 return getHighlight();
798 return myHasCookedSelection;
829 virtual
void resetSimulation () {}
833 void addInstanceReference(
SOP_Node *node);
834 void clearInstanceReference(
SOP_Node *node);
856 virtual void makePreserveRequest();
861 void getNodeSpecificInfoText(
OP_Context &context,
896 fpreal getW()
const override;
898 fpreal getH()
const override;
912 void setUniqueId(
int id)
override;
913 void clearUniqueId()
override;
922 {
return myGroupParse.removeAdhocGroup(group); }
924 { myGroupParse.removeAdhocGroups(); }
933 int &copied_input)
override;
955 int alone = 0)
override;
957 void notifyGroupParmListeners(
958 int parm_index,
int group_type_index,
980 bool alone =
false,
bool do_selection =
true,
982 int group_type_index = -1,
983 bool allow_reference =
true,
984 bool ordered =
false,
985 bool detached =
true,
986 int input_index = 0);
989 bool alone,
bool do_selection,
991 int group_type_index,
992 bool allow_reference,
994 const GroupCreator &creator);
999 int alone = 0,
bool do_selection =
true,
1000 int input_index = 0,
int parm_index = 0,
1001 int group_type_index = -1,
1002 bool allow_reference =
true,
1003 bool fetchgdp =
true,
1009 bool alone =
false,
bool do_selection =
true,
1011 int group_type_index = -1,
1012 bool allow_reference =
true,
1013 bool ordered =
false,
1014 bool detached =
true,
1015 int input_index = 0);
1018 bool alone,
bool do_selection,
1020 int group_type_index,
1021 bool allow_reference,
1023 const GroupCreator &creator);
1028 int alone = 0,
bool do_selection =
true,
1029 int input_index = 0,
int parm_index = 0,
1030 int group_type_index = -1,
1031 bool allow_reference =
true,
1032 bool fetchgdp =
true,
1038 bool alone =
false,
bool do_selection =
true,
1040 int group_type_index = -1,
1041 bool allow_reference =
true,
1042 int input_index = 0);
1045 bool alone,
bool do_selection,
1047 int group_type_index,
1048 bool allow_reference,
1054 int alone = 0,
bool do_selection =
true,
1055 int input_index = 0,
int parm_index = 0,
1056 int group_type_index = -1,
1061 bool allow_reference =
false,
1062 bool fetchgdp =
true,
1071 bool alone =
false,
bool do_selection =
true,
1073 int group_type_index = -1,
1075 bool allow_reference =
true,
1076 bool is_default_prim =
true,
1077 bool ordered =
false,
1078 bool detached =
true,
1079 int input_index = 0);
1082 bool alone,
bool do_selection,
1084 int group_type_index,
1086 bool allow_reference,
1087 bool is_default_prim,
1089 const GroupCreator &creator);
1094 int alone = 0,
bool do_selection =
true,
1095 int input_index = 0,
int parm_index = 0,
1096 int group_type_index = -1,
1097 bool allow_reference =
false,
1098 bool is_default_prim =
true,
1099 bool fetchgdp =
true,
1109 bool allow_reference,
bool is_default_prim,
1110 bool ordered=
false);
1113 bool allow_reference,
bool is_default_prim);
1122 bool alone,
int input_index,
bool detached,
1123 GroupCreator &creator);
1126 bool alone,
int input_index,
1131 void cookInputGroupsEpilogue(
int parm_index,
int group_type_index,
1133 int input_index,
bool fetchgdp,
bool alone);
1136 void inputConnectChanged(
int which_input)
override;
1146 {
return inputGeo(index); }
1169 { getLockedErrorManager()->systemError(msg);}
1171 const char *msg = 0)
1172 { getLockedErrorManager()->commonError(what, msg);}
1174 const char *msg = 0)
1175 { getLockedErrorManager()->commonWarning(what, msg);}
1250 const char *group_type_parm = NULL,
1251 int input_index = 0,
1253 const char *assoc_groups = NULL,
1254 GroupSelectAsOrdered ordered =
1255 GroupSelectAsOrdered::AUTO,
1256 const char *use_name_attr=
nullptr,
1257 const char *select_script=
nullptr);
1261 const char *group_type_parm = NULL,
1262 int input_index = 0,
1264 const char *assoc_groups = NULL,
1265 GroupSelectAsOrdered ordered =
1266 GroupSelectAsOrdered::AUTO,
1267 const char *use_name_attr=
nullptr,
1268 const char *select_script=
nullptr);
1277 void pickPrimitivesUsingPathAttribute(
1280 const char *stringparm,
1282 const char *path_attrib=
"path",
1283 bool use_packed_names=
true);
1286 void pickPrimitivesUsingPathAttribute(
1287 const char *stringparm,
1290 const char *path_attrib=
"path",
1291 bool use_packed_names=
true);
1295 static GA_Range getPickedRangeUsingPathAttribute(
1298 const char *pickedstring,
1299 const char *path_attrib=
"path",
1300 bool use_packed_names=
true);
1304 int parseGroups(
const char *pattern,
1308 bool strict =
false);
1311 int parseGroupsCopy(
const char *pattern,
1317 bool strict =
false,
1335 int fillAttribNameMenu(
PRM_Name *menu_entries,
1340 void *approve_data = NULL,
1341 bool decode_tokens =
false);
1344 static void removeMenuDuplicates(
PRM_Name *menuEntries,
int size);
1349 void getVectorAttribs(
const char * attrib_names,
1353 static void getVectorAttribs(
GU_Detail *gdp,
1354 const char * attrib_names,
1361 const char * attrib_string,
1370 const char *
l)
override;
1378 int forEachGroupMatchingMask(
1379 const char *pattern,
1380 GroupOperation operation,
1384 bool maintainorder=
false);
1386 static int invokeForEachGroupMatchingMask(
1388 const char *pattern,
1390 const std::function<
void(
const GA_Group *)> &operation,
1391 bool maintainorder);
1398 static void invokeForSubdivisionOfPrimitiveGroup(
1399 const std::function<
void(
const GA_Group *)> &operation,
1402 int opstep,
const char *oplabel,
1406 void subdividePrimitiveGroup(
1407 GroupOperation operation,
1409 void *
data,
int optype,
1410 int opstep,
const char *oplabel,
1412 void subdivideMixPrimitiveGroup(
1413 GroupOperation operation,
1415 void *
data,
int optype,
1416 int opstep,
const char *oplabel,
1418 void subdividePointGroup(
1419 GroupOperation operation,
1421 void *
data,
int optype,
1422 int opstep,
const char *oplabel,
1429 const char *
p=
"adhoc")
1430 {
return myGroupParse.createPrimitiveGroup(geo,
p); }
1432 const char *
p=
"adhoc")
1433 {
return myGroupParse.createPointGroup(geo,
p); }
1435 const char *
p=
"adhoc")
1436 {
return myGroupParse.createEdgeGroup(geo,
p); }
1438 const char *
p=
"adhoc")
1439 {
return myGroupParse.createVertexGroup(geo,
p); }
1443 myGroupParse.appendAdhocGroup(
group,
true);
1449 myGroupParse.appendAdhocGroup(
group,
true);
1455 myGroupParse.appendAdhocGroup(
group,
true);
1461 myGroupParse.appendAdhocGroup(
group,
true);
1466 return myGroupParse.createBreakpointGroup(geo);
1476 void clearInstance(
int duplicate = 0);
1478 bool hasInstances();
1480 int countInstances();
1482 void clearAllInstances();
1501 return duplicateSource(index, context, gdp,
true);
1518 bool wattrib =
true,
1522 return duplicatePointSource(index, ctx, gdp, 1,
1529 bool copyPointPosFromSource(
1535 int *changed = 0,
bool force=
false);
1544 void resetChangedSourceFlags();
1545 void resetChangedSourceFlags(
int which_input);
1565 return myInputChangeHelper.useInput(
1566 *
this, idx, changed, force);
1569 void deleteCookedData()
override;
1570 int deleteNodeData(
void *)
override;
1573 void convertPivotAboutGroupCentroid(
1577 void convertPivotAboutGroupCentroid(
1579 const char *pivot_parm_name,
1594 const char *pathPrefix,
1599 const char *
path=0)
override;
1626 OP_ERROR saveIntrinsic(std::ostream &os,
1630 short class_id,
short sig,
1631 const char *
path=0)
override;
1632 bool loadPacket(
UT_IStream &is,
const char *token,
1633 const char *
path=0)
override;
1635 void clearAndDestroy()
override;
1637 int saveCookedData(
const char *,
1639 int saveCookedData(std::ostream &os,
1641 int binary = 0)
override;
1643 const char *
path=0)
override;
1650 const char *getFileExtension(
int binary)
const override;
1652 bool softLockable(
const GU_Detail &unmodelled_gdp,
1659 SOP_SoftLockData *old_slockdata=0);
1662 void *myVisualizeCallbackData;
1671 virtual void unloadDataHack();
1676 bool unloadData()
override;
1679 void clearVerbCache();
1683 int64 getMemoryUsage(
bool inclusive)
const override;
1688 virtual int64 getLoadedMemoryUsage()
const;
1691 bool isLoaded()
const override;
1694 bool shouldUnload()
const;
1710 static void markDetailDirty(
GU_Detail *dirtygdp,
1711 bool bumpalldataid);
1733 friend class SOP_CacheData;
1734 friend class sop_AttributeEvaluator;
1739 SOP_SoftLockData *mySoftLockData;
1741 bool myHasCookedSelection;
1747 static bool theGlobalCaptOverride;
1757 { myUsesSOPLocalVar =
true; }
1760 const char *
name)
override;
1761 void getAttributeEvaluatorNames(
1765 bool hasTransformTracks()
const override;
1766 bool evaluateTransformTracks(
OP_Context &context,
1768 bool evaluateTransformTracksTargets(
OP_Context &context,
1805 int myCurBuiltPtBox[2];
1807 int myCurBuiltPrimBox[2];
1820 int myAttribCacheOffsetGdpId[2];
1821 int myAttribCacheOffsetMetaCacheCount[2];
1822 unsigned int myAttribCacheTotalDictSize[2];
1832 friend class sop_NodeInputs;
static PRM_ChoiceList primGroupMenu
GA_VertexGroup * parseVertexGroupsCopy(const char *pattern)
GA_PointGroup * newDetachedPointGroup() const
virtual void setVisualization(bool)
GT_API const UT_StringHolder selection
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
virtual const SOP_NodeVerb * cookVerb() const
#define SYS_DEPRECATED(__V__)
GA_StorageClass myStorageClass
GA_ROAttributeRef myOffset
const GA_Group * parseAllGroups(const char *pattern)
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
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)
GLenum GLenum GLenum input
static PRM_ChoiceList pointAttribMenu
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)
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
GLuint const GLchar * name
UT_SharedPtr< GU_SelectionSet > GU_SelectionSetHandle
GU_DetailHandle myGdpHandle
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)
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__)
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_PrimitiveGroup * newDetachedPrimitiveGroup() const
UT_ValArray< sopVarInfo * > myLocalVarArray
void opChanged(OP_EventType reason, void *data=0) override
GA_EdgeGroup * createAdhocEdgeGroup(GU_Detail &geo, const char *p="adhoc")
virtual GOP_GuideListType getGuideListType() const
virtual bool addOrMoveVisualizerToOutput(int outputidx)
static PRM_ChoiceList primAttribReplaceMenu
UT_BoundingBox curPointBBox(int index)
sopVarInfo * mySecondaryVariable
GA_EdgeGroup * newDetachedEdgeGroup() const
typedef int(WINAPI *PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer
GA_PointGroup * parsePointGroupsCopy(const char *pattern)
GLuint const GLuint * names
int isCookingRender() const override
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)
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)
virtual OP_OpTypeId getOpTypeID() const
static PRM_ChoiceList groupMenu
SOP_API void SOPgetVexReservedTemplateLists(UT_ValArray< PRM_Template * > &tplatelists)
GT_API const UT_StringHolder version
GLuint GLdouble GLdouble GLint GLint const GLdouble * points
static PRM_ChoiceList edgeGroupMenu
void setUsesSOPLocalVar()
const GU_Detail * curGdp(int index) const
static PRM_ChoiceList vertexAttribReplaceMenu
static PRM_ChoiceList vertexAttribMenu
AttribTupleIndexArg(int index)
const SOP_NodeFlags & getFlags() const
virtual const char * getChildType() const
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
GA_VertexGroup * newDetachedVertexGroup() const
Parameters for OP_Node::fillInfoTree()/OP_Node::fillInfoTreeNodeSpecific()
static PRM_ChoiceList primAttribMenu
GLsizei const GLint box[]
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)
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)
getOption("OpenEXR.storage") storage
virtual int isCookingRender() const
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)
GLenum GLsizei GLenum GLenum const void * table
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