36 static bool isCookAborted();
37 static void resetAbortFlag();
38 static void abortCook();
40 bool isCookAborted(
int thread_index);
41 virtual bool isInterrupted(
int thread) = 0;
46 virtual void setInterrupted(
int) = 0;
60 const char *uselut = 0,
63 bool single_frame =
false,
64 bool thread_io =
false,
66 bool use_progress_dialog=
true);
72 const char *cplane,
const char *aplane = 0,
77 const char *uselut = 0,
80 bool single_frame =
false,
81 bool thread_io =
false,
83 bool use_progress_dialog=
true);
92 bool (*updateCallback)(
void *) = 0,
93 void *updateEntity = 0,
94 bool write_houdini_frame =
true,
95 const char *session_label = NULL,
101 virtual OP_ERROR open(
short& key,
int clear_errors = 0) = 0;
102 virtual void close(
short key) = 0;
106 virtual void getImageBounds(
const TIL_Plane *plane,
int array,
107 float t,
int xres,
int yres,
int thread,
108 int &x1,
int &
y1,
int &
x2,
int &
y2) = 0;
110 virtual void waitForLastFile() = 0;
112 virtual void cleanUpAllRegions() = 0;
114 virtual float getPercentageComplete(
int num_extra_tiles_cooked)
const = 0;
115 virtual int getNumThreadsToUse()
const = 0;
117 virtual void raiseImageTooLargeError() = 0;
125 int subregion = 1,
int clear = 1,
126 float black = 0.0F,
float white = 1.0F,
128 int ignore_bwpoints=0,
130 bool interactive =
false,
133 bool cleanup_after =
true,
139 static const char *getColorPlaneName();
141 int getThreadIndex()
const;
143 ut_thread_id_t getThreadID(
int thread);
147 static void setWorkingThreadId(
int thread_index);
148 static void clearWorkingThreadId(
int thread_index);
IMATH_NAMESPACE::V2f float
virtual ~COP_Node_Common()
**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
Base Integer Rectangle class.
void(* UpdateCallback)(float, bool, bool)
GLdouble GLdouble GLdouble y2