HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
COP_Node_Common Class Referenceabstract

#include <COP_Node_Common.h>

+ Inheritance diagram for COP_Node_Common:

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_NodegetOp ()=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_SequencegetSequence ()=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_InterruptgetInterrupt ()
 
static void setInterrupt (UT_Interrupt *)
 
static const char * getColorPlaneName ()
 
static void setWorkingThreadId (int thread_index)
 
static void clearWorkingThreadId (int thread_index)
 

Detailed Description

Definition at line 26 of file COP_Node_Common.h.

Constructor & Destructor Documentation

COP_Node_Common::COP_Node_Common ( )
virtual COP_Node_Common::~COP_Node_Common ( )
inlinevirtual

Definition at line 32 of file COP_Node_Common.h.

Member Function Documentation

static void COP_Node_Common::abortCook ( )
static
virtual void COP_Node_Common::cleanUpAllRegions ( )
pure virtual

Implemented in COP2_Node.

static void COP_Node_Common::clearWorkingThreadId ( int  thread_index)
static
virtual void COP_Node_Common::close ( short  key)
pure virtual

Implemented in COP2_Node.

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 
)
virtual int COP_Node_Common::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() 
)
pure virtual

Implemented in COP2_Node.

static const char* COP_Node_Common::getColorPlaneName ( )
static
virtual void COP_Node_Common::getImageBounds ( const TIL_Plane plane,
int  array,
float  t,
int  xres,
int  yres,
int  thread,
int x1,
int y1,
int x2,
int y2 
)
pure virtual

Implemented in COP2_Node.

static UT_Interrupt* COP_Node_Common::getInterrupt ( )
static
virtual int COP_Node_Common::getNumThreadsToUse ( ) const
pure virtual

Implemented in COP2_Node.

virtual OP_Node* COP_Node_Common::getOp ( )
pure virtual

Implemented in COP2_Node.

virtual float COP_Node_Common::getPercentageComplete ( int  num_extra_tiles_cooked) const
pure virtual

Implemented in COP2_Node.

virtual TIL_Sequence& COP_Node_Common::getSequence ( )
pure virtual

Implemented in COP2_Node.

ut_thread_id_t COP_Node_Common::getThreadID ( int  thread)
int COP_Node_Common::getThreadIndex ( ) const
static UpdateCallback COP_Node_Common::getUpdateCallback ( )
static
static bool COP_Node_Common::isCookAborted ( )
static
bool COP_Node_Common::isCookAborted ( int  thread_index)
virtual bool COP_Node_Common::isInterrupted ( int  thread)
pure virtual

Implemented in COP2_Node.

virtual OP_ERROR COP_Node_Common::open ( short &  key,
int  clear_errors = 0 
)
pure virtual

Implemented in COP2_Node.

virtual void COP_Node_Common::raiseImageTooLargeError ( )
pure virtual

Implemented in COP2_Node.

static void COP_Node_Common::resetAbortFlag ( )
static
static void COP_Node_Common::setInterrupt ( UT_Interrupt )
static
virtual void COP_Node_Common::setInterrupted ( int  )
pure virtual

Implemented in COP2_Node.

static void COP_Node_Common::setUpdateCallback ( UpdateCallback  updateCallback)
static
static void COP_Node_Common::setWorkingThreadId ( int  thread_index)
static
virtual void COP_Node_Common::waitForLastFile ( )
pure virtual

Implemented in COP2_Node.


The documentation for this class was generated from the following file: