22 #define SOP_GDT_GRP_IDX 0
27 friend class SOP_UndoGDTOpDepend;
28 friend class MSS_EditState;
39 virtual void beginNewOperation();
44 virtual void clearAllDeltas(
fpreal t);
49 const char *
inputLabel(
unsigned idx)
const override;
56 virtual bool matchesUndo(
const char *undoname)
const;
62 const char *pathPrefix,
66 const char *
path=0)
override;
69 int &copied_input)
override;
75 virtual void clearReferencesToCookedDetail();
79 bool changed_input,
bool changed_group);
82 void updateCookSelection(
83 bool changed_input,
bool changed_group);
92 bool checkChangedSource(
unsigned idx,
OP_Context &ctx);
95 virtual void rollbackCurrentDelta();
101 virtual void rollbackCurrentDeltaElementsToPermanentDeltaValues();
107 virtual void rollbackCurrentDeltaElementsToInputValues();
110 virtual void applyPermanentDelta();
113 static int applyStatic(
void *,
int idx,
116 virtual void applyAndClearCurrentDelta();
119 static int clearallStatic(
void *,
int idx,
122 static bool cloneAndCopyAttrib(
const GU_Detail *src_gdp,
GDT_Detail * myCurrentDelta
GLsizei const GLchar *const * path
virtual const char * inputLabel(unsigned idx) const
OP_ERROR bypassMe(OP_Context &context, int &copied_input) override
bool load(UT_IStream &is, const char *extension, const char *path=0) override
const UT_String & getUndoLabel()
void deleteCookedData() override
void evalString(UT_String &val, int pi, int vi, fpreal t) const
GDT_Detail * getPermanentDelta()
GLuint const GLchar * name
virtual void getSelString(UT_String &str)
Get the selection group string:
GDT_Detail * myPermanentDelta
OP_ERROR save(std::ostream &os, const OP_SaveFlags &flags, const char *pathPrefix, const UT_String &name_override=UT_String()) override
OIIO_UTIL_API std::string extension(string_view filepath, bool include_dot=true) noexcept