HDK
|
#include <COP_Node_Common.h>
Public Member Functions | |
COP_Node_Common () | |
virtual | ~COP_Node_Common () |
bool | isCookAborted (int thread_index) |
virtual bool | isInterrupted (int thread)=0 |
virtual void | setInterrupted (int)=0 |
virtual OP_Node * | getOp ()=0 |
int | cookToFile (const UT_StringArray &filenames, const IMG_TileOptions *, const TIL_Sequence *scope, const UT_IntArray &image_index, const UT_StringHolder &ocio_ospace=UT_StringHolder(), const UT_StringHolder &ocio_look=UT_StringHolder(), const UT_StringHolder &ocio_display=UT_StringHolder(), const UT_StringHolder &ocio_view=UT_StringHolder(), const char *uselut=0, float gamma=1.0F, UT_InclusiveRect *bounds=0, bool single_frame=false, bool thread_io=false, bool env_map=false, bool use_progress_dialog=true) |
int | cookToFile (const UT_StringArray &filenames, const IMG_TileOptions *, OP_Context &context, const UT_IntArray &image_index, const char *cplane, const char *aplane=0, const UT_StringHolder &ocio_ospace=UT_StringHolder(), const UT_StringHolder &ocio_look=UT_StringHolder(), const UT_StringHolder &ocio_display=UT_StringHolder(), const UT_StringHolder &ocio_view=UT_StringHolder(), const char *uselut=0, float gamma=1.0F, UT_InclusiveRect *bounds=0, bool single_frame=false, bool thread_io=false, bool env_map=false, bool use_progress_dialog=true) |
int | cookFlipbook (const TIL_Sequence &info, int step=1, float gamma=1.0f, const char *lut=0, bool startnew=true, bool(*updateCallback)(void *)=0, void *updateEntity=0, bool write_houdini_frame=true, const char *session_label=NULL, const UT_StringHolder &ocio_ospace=UT_StringHolder(), const UT_StringHolder &ocio_look=UT_StringHolder(), const UT_StringHolder &ocio_display=UT_StringHolder(), const UT_StringHolder &ocio_view=UT_StringHolder()) |
virtual OP_ERROR | open (short &key, int clear_errors=0)=0 |
virtual void | close (short key)=0 |
virtual TIL_Sequence & | getSequence ()=0 |
virtual void | getImageBounds (const TIL_Plane *plane, int array, float t, int xres, int yres, int thread, int &x1, int &y1, int &x2, int &y2)=0 |
virtual void | waitForLastFile ()=0 |
virtual void | cleanUpAllRegions ()=0 |
virtual float | getPercentageComplete (int num_extra_tiles_cooked) const =0 |
virtual int | getNumThreadsToUse () const =0 |
virtual void | raiseImageTooLargeError ()=0 |
virtual int | cookToRaster (UT_ValArray< TIL_Raster * > &rasters, UT_ValArray< OP_Context * > &contexts, UT_ValArray< const TIL_Plane * > &planes, UT_IntArray &array_index, UT_ValArray< const int * > &comp_map, UT_Array< UT_InclusiveRect > &bounds, int subregion=1, int clear=1, float black=0.0F, float white=1.0F, int compindex=-1, int ignore_bwpoints=0, float gamma=1.0F, bool interactive=false, UT_ValArray< TIL_Raster * > *tiles=0, int tile_index=0, TIL_TileMPlay *=0, bool cleanup_after=true, const UT_StringHolder &ocio_ospace=UT_StringHolder(), const UT_StringHolder &ocio_look=UT_StringHolder(), const UT_StringHolder &ocio_display=UT_StringHolder(), const UT_StringHolder &ocio_view=UT_StringHolder())=0 |
int | getThreadIndex () const |
ut_thread_id_t | getThreadID (int thread) |
Static Public Member Functions | |
static UpdateCallback | getUpdateCallback () |
static void | setUpdateCallback (UpdateCallback updateCallback) |
static bool | isCookAborted () |
static void | resetAbortFlag () |
static void | abortCook () |
static UT_Interrupt * | getInterrupt () |
static void | setInterrupt (UT_Interrupt *) |
static const char * | getColorPlaneName () |
static void | setWorkingThreadId (int thread_index) |
static void | clearWorkingThreadId (int thread_index) |
Definition at line 26 of file COP_Node_Common.h.
COP_Node_Common::COP_Node_Common | ( | ) |
|
inlinevirtual |
Definition at line 32 of file COP_Node_Common.h.
|
static |
int COP_Node_Common::cookFlipbook | ( | const TIL_Sequence & | info, |
int | step = 1 , |
||
float | gamma = 1.0f , |
||
const char * | lut = 0 , |
||
bool | startnew = true , |
||
bool(*)(void *) | updateCallback = 0 , |
||
void * | updateEntity = 0 , |
||
bool | write_houdini_frame = true , |
||
const char * | session_label = NULL , |
||
const UT_StringHolder & | ocio_ospace = UT_StringHolder() , |
||
const UT_StringHolder & | ocio_look = UT_StringHolder() , |
||
const UT_StringHolder & | ocio_display = UT_StringHolder() , |
||
const UT_StringHolder & | ocio_view = UT_StringHolder() |
||
) |
int COP_Node_Common::cookToFile | ( | const UT_StringArray & | filenames, |
const IMG_TileOptions * | , | ||
const TIL_Sequence * | scope, | ||
const UT_IntArray & | image_index, | ||
const UT_StringHolder & | ocio_ospace = UT_StringHolder() , |
||
const UT_StringHolder & | ocio_look = UT_StringHolder() , |
||
const UT_StringHolder & | ocio_display = UT_StringHolder() , |
||
const UT_StringHolder & | ocio_view = UT_StringHolder() , |
||
const char * | uselut = 0 , |
||
float | gamma = 1.0F , |
||
UT_InclusiveRect * | bounds = 0 , |
||
bool | single_frame = false , |
||
bool | thread_io = false , |
||
bool | env_map = false , |
||
bool | use_progress_dialog = true |
||
) |
int COP_Node_Common::cookToFile | ( | const UT_StringArray & | filenames, |
const IMG_TileOptions * | , | ||
OP_Context & | context, | ||
const UT_IntArray & | image_index, | ||
const char * | cplane, | ||
const char * | aplane = 0 , |
||
const UT_StringHolder & | ocio_ospace = UT_StringHolder() , |
||
const UT_StringHolder & | ocio_look = UT_StringHolder() , |
||
const UT_StringHolder & | ocio_display = UT_StringHolder() , |
||
const UT_StringHolder & | ocio_view = UT_StringHolder() , |
||
const char * | uselut = 0 , |
||
float | gamma = 1.0F , |
||
UT_InclusiveRect * | bounds = 0 , |
||
bool | single_frame = false , |
||
bool | thread_io = false , |
||
bool | env_map = false , |
||
bool | use_progress_dialog = true |
||
) |
|
pure virtual |
Implemented in COP2_Node.
|
static |
|
pure virtual |
Implemented in COP2_Node.
|
static |
|
pure virtual |
Implemented in COP2_Node.
|
pure virtual |
Implemented in COP2_Node.
ut_thread_id_t COP_Node_Common::getThreadID | ( | int | thread | ) |
int COP_Node_Common::getThreadIndex | ( | ) | const |
|
static |
|
static |
bool COP_Node_Common::isCookAborted | ( | int | thread_index | ) |
Implemented in COP2_Node.
|
static |
|
static |
|
static |