#include <CodecOp.h>
Public Member Functions | |
virtual CodecHandler * | codec_handler () const =0 |
mFnDeprecatedInNuke14 ("codec_options_knobs(Knob_Callback f) has been deprecated.") virtual void codec_options_knobs(Knob_Callback f) | |
mFnDeprecatedInNuke14 ("add_codec_knobs(const void* id, const char* fileExt) has been deprecated.") void add_codec_knobs(const void *id | |
mFnDeprecatedInNuke14 ("codec_knobs() has been deprecated.") int codec_knobs() const | |
Public Member Functions inherited from DD::Image::FileOp | |
FileOp () | |
virtual | ~FileOp () |
virtual Op * | op ()=0 |
void | Reload_Button (Knob_Callback f) |
int | version () const |
void | setVersion (int newVersion) |
void | internalError (const char *fmt,...) |
void | internalErrorV (const char *fmt, va_list args) |
int | replaced_knobs () const |
int | extra_knobs () const |
Knob * | placemarker () const |
Knob * | extraPlacemarker () const |
virtual const char * | getFilename () const =0 |
virtual const char * | file_type () const =0 |
virtual FileHandler * | handler () const =0 |
virtual void | filehandler_knobs (Knob_Callback f) |
virtual int | filehandler_knob_changed (Knob *k) |
virtual int | filehandler_knob_change_finished (Knob *k, bool changeByUser) |
virtual void | filehandler_extra_knobs (Knob_Callback f) |
virtual void | replaceable_knobs (Knob_Callback f) |
virtual void | extra_knobs (Knob_Callback f) |
void | replace_knobs (const void *id, const char *fileExt) |
Change the set of knobs in response to the user changing the filename or the file type pulldown. | |
const void * | replaced_knobs_id () const |
void | add_extra_knobs (const void *id, const char *fileExt) |
const void * | extra_knobs_id () const |
Public Attributes | |
const char * | fileExt |
Additional Inherited Members | |
Static Public Member Functions inherited from DD::Image::FileOp | |
static const char * | StripPrefix (const char *filename, std::string *prefix=nullptr) |
static const char * | StripSuffix (const char *filename, std::string *suffix=nullptr) |
static bool | GetFormatAndName (const char *fname, std::string &format, std::string &name) |
static const char *const * | file_types (const char *suffix, const char *altsuffix, const char **prefixBlacklist, const char **extras, const char **obsoleteIDs=nullptr) |
Return an array of names of file types known about. This is generated by searching the pluigin directories for any plugins called "*Writer.plugin_ext". The first location in the array is a blank string for 'unknown' and the array is NULL-terminated. | |
static void | AddAlias (const char *from, const char *to) |
static const char * | LookupAlias (const char *from) |
Protected Attributes inherited from DD::Image::FileOp | |
bool | _readerError |
whether or not the reader is in error (set by internalError) | |
std::string | _readerErrorString |
the last reader error (set by internalError) | |
This class extends the functionality of the FileOp class to allow codec-format-specific knobs to be substituted in to a particular place more easily. This is normally extended by the Read/Write nodes
|
pure virtual |
return the codec format handler for the current knob settings. this should return null if the handler does not support codecs.
DD::Image::CodecOp::mFnDeprecatedInNuke14 | ( | "codec_options_knobs(Knob_Callback f) has been deprecated." | ) |
insert in the codec specific knobs. subclasses should call this in their knobs() implementation
DD::Image::CodecOp::mFnDeprecatedInNuke14 | ( | "add_codec_knobs(const void* id, const char* fileExt) has been deprecated." | ) | const |
If the id is different, replace the knobs by calling the above. Subclasses should call this in e.g. knob_changed() after the handler has changed
DD::Image::CodecOp::mFnDeprecatedInNuke14 | ( | "codec_knobs() has been deprecated." | ) | const |
get the number of codec knobs
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |