12 #define OP_TIME_TOL (0.00001)
34 {
return myHandle.operator->(); }
36 {
return myHandle.get(); }
55 bool use_eval_context_options =
true);
64 #if SYS_SIZEOF_FPREAL > 4
70 int xres()
const {
return myXres; }
71 int yres()
const {
return myYres; }
76 exint getFrame()
const;
77 fpreal getFloatFrame()
const;
78 void setFrame(
fpreal frame);
94 {
return myFlags.myCookOverride; }
96 { myFlags.myCookOverride =
override; }
100 myFlags.myTimeDep =
true;
101 myFlags.myCompareContextOptions =
false;
105 {
return myFlags.myTimeDep; }
107 { myFlags.myTimeDep = timedep; }
110 { myFlags.myCompareContextOptions =
compare; }
112 {
return myFlags.myCompareContextOptions; }
115 { myContextOptionDeps.reset(); }
118 myContextOptionDeps).
119 insert(deps.begin(), deps.end()); }
121 {
return myContextOptionsStack.get(); }
123 {
return myContextOptions; }
124 void setContextOptionsFromMicroNode(
128 bool popContextOptions();
135 void print(FILE *)
const;
174 myCompareContextOptions:1;
UT_UniquePtr< DEP_ContextOptionDeps > DEP_ContextOptionDepsPtr
#define SYS_DEPRECATED(__V__)
DEP_ContextOptionsReadHandle getContextOptions() const
static StateLessTag StateLess
void setData(OP_ContextData *data)
UT_ConcurrentSet< UT_StringHolder > DEP_ContextOptionDeps
void setVersionParms(OP_VERSION version)
void setRes(int x, int y)
bool isCompareContextOptions() const
OP_ContextData * getData() const
unsigned long long uint64
OIIO_FORCEINLINE vbool4 insert(const vbool4 &a, bool val)
Helper: substitute val for a[i].
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
void setCookOverride(bool override)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
void setCompareOnlyTime()
CompareResults OIIO_API compare(const ImageBuf &A, const ImageBuf &B, float failthresh, float warnthresh, ROI roi={}, int nthreads=0)
OP_VERSION getVersionParms() const
DEP_ContextOptions * operator->() const
bool isCookOverride() const
void setTimeDep(bool timedep)
GT_API const UT_StringHolder version
**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
void setCompareContextOptions(bool compare)
virtual ~OP_ContextData()
void clearContextOptionDeps()
LeafData & operator=(const LeafData &)=delete
void addContextOptionDeps(const DEP_ContextOptionDeps &deps)
const DEP_ContextOptionsStack * getContextOptionsStack() const
DEP_API DEP_ContextOptionDeps & DEPcreateContextOptionDepsFromPtr(DEP_ContextOptionDepsPtr &ptr, DEP_ContextOptionDepsLock *lock=nullptr)
static CurrentEvalTimeTag CurrentEvalTime
FMT_INLINE void print(format_string< T...> fmt, T &&...args)
DEP_ContextOptions & operator*() const