#include <TIL_CopResolver.h>

Public Member Functions | |
| TIL_CopResolver () | |
| virtual | ~TIL_CopResolver () |
| virtual int | resolveId (const char *fullpath)=0 |
| virtual TIL_Raster * | resolveRaster (int id)=0 |
| virtual TIL_Raster * | resolveRasterFrame (int id, float frame, int xres=0, int yres=0)=0 |
| virtual TIL_Raster * | resolveRasterPlane (int id, float frame, const char *color, int cindex, const char *alpha, int aindex, int xres=0, int yres=0, TIL_DataFormat f=TILE_MAX_DATA_FORMAT)=0 |
| virtual bool | resolveIsPossible (const char *fullpath)=0 |
| virtual TIL_Raster * | getFileRaster (const char *file, IMG_DataType type=IMG_DT_ANY, int xres=0, int yres=0) |
| virtual TIL_Raster * | getNodeRaster (const char *fullpath, const char *cmenu, const char *amenu, bool override_frame=false, int frame=1, TIL_DataFormat f=TILE_MAX_DATA_FORMAT) |
| virtual void | getRes (int id, int &xres, int &yres) |
| virtual void | buildPlaneMenu (const char *net, const char *node, UT_PtrArray< char * > &items) |
| virtual void | returnRaster (const TIL_Raster *raster) |
| virtual int | isOpBased () |
Static Public Member Functions | |
| static void | setResolver (TIL_CopResolver *resolver) |
| static TIL_CopResolver * | getResolver () |
| static TIL_Raster * | getRaster (const char *fullpath, int &opid) |
| static void | doneWithRaster (const TIL_Raster *r) |
| static int | getIdFrame (const char *fullpath, int &id, float &frame) |
| static void | splitFile (const char *fullpath, UT_String &name, int &xres, int &yres, float &quality) |
| static int | getNodeId (const char *net, const char *node) |
| static void | getNodeRes (const char *net, const char *node, int &xres, int &yres) |
| static int | getNodeId (const char *fullpath) |
| static void | getNodeRes (const char *fullpath, int &xres, int &yres) |
| static void | getFileRes (const char *file, int &xres, int &yres) |
| static int | splitPath (const char *cpath, int &id, float &frame, UT_WorkBuffer &color, int &cindex, UT_WorkBuffer &alpha, int &aindex, int &xres, int &yres) |
| static void | buildColorMenu (const char *net, const char *node, UT_PtrArray< char * > &items) |
| static void | buildAlphaMenu (const char *net, const char *node, UT_PtrArray< char * > &items) |
| static bool | canResolve (const char *fullpath) |
Protected Member Functions | |
| int | splitPath (const char *fullpath, UT_String &name, float &frame) |
Definition at line 43 of file TIL_CopResolver.h.
| TIL_CopResolver::TIL_CopResolver | ( | ) |
| virtual TIL_CopResolver::~TIL_CopResolver | ( | ) | [virtual] |
| static void TIL_CopResolver::buildAlphaMenu | ( | const char * | net, | |
| const char * | node, | |||
| UT_PtrArray< char * > & | items | |||
| ) | [static] |
| static void TIL_CopResolver::buildColorMenu | ( | const char * | net, | |
| const char * | node, | |||
| UT_PtrArray< char * > & | items | |||
| ) | [static] |
| virtual void TIL_CopResolver::buildPlaneMenu | ( | const char * | net, | |
| const char * | node, | |||
| UT_PtrArray< char * > & | items | |||
| ) | [virtual] |
Reimplemented in COP2_Resolver.
| static bool TIL_CopResolver::canResolve | ( | const char * | fullpath | ) | [static] |
| static void TIL_CopResolver::doneWithRaster | ( | const TIL_Raster * | r | ) | [static] |
| virtual TIL_Raster* TIL_CopResolver::getFileRaster | ( | const char * | file, | |
| IMG_DataType | type = IMG_DT_ANY, |
|||
| int | xres = 0, |
|||
| int | yres = 0 | |||
| ) | [virtual] |
Reimplemented in COP2_Resolver.
| static void TIL_CopResolver::getFileRes | ( | const char * | file, | |
| int & | xres, | |||
| int & | yres | |||
| ) | [static] |
| static int TIL_CopResolver::getIdFrame | ( | const char * | fullpath, | |
| int & | id, | |||
| float & | frame | |||
| ) | [static] |
| static int TIL_CopResolver::getNodeId | ( | const char * | fullpath | ) | [static] |
| static int TIL_CopResolver::getNodeId | ( | const char * | net, | |
| const char * | node | |||
| ) | [static] |
| virtual TIL_Raster* TIL_CopResolver::getNodeRaster | ( | const char * | fullpath, | |
| const char * | cmenu, | |||
| const char * | amenu, | |||
| bool | override_frame = false, |
|||
| int | frame = 1, |
|||
| TIL_DataFormat | f = TILE_MAX_DATA_FORMAT | |||
| ) | [virtual] |
| static void TIL_CopResolver::getNodeRes | ( | const char * | fullpath, | |
| int & | xres, | |||
| int & | yres | |||
| ) | [static] |
| static void TIL_CopResolver::getNodeRes | ( | const char * | net, | |
| const char * | node, | |||
| int & | xres, | |||
| int & | yres | |||
| ) | [static] |
| static TIL_Raster* TIL_CopResolver::getRaster | ( | const char * | fullpath, | |
| int & | opid | |||
| ) | [static] |
| virtual void TIL_CopResolver::getRes | ( | int | id, | |
| int & | xres, | |||
| int & | yres | |||
| ) | [virtual] |
Reimplemented in COP2_Resolver.
| static TIL_CopResolver* TIL_CopResolver::getResolver | ( | ) | [static] |
| virtual int TIL_CopResolver::isOpBased | ( | ) | [virtual] |
Reimplemented in COP2_Resolver.
| virtual int TIL_CopResolver::resolveId | ( | const char * | fullpath | ) | [pure virtual] |
Implemented in COP2_Resolver.
| virtual bool TIL_CopResolver::resolveIsPossible | ( | const char * | fullpath | ) | [pure virtual] |
Implemented in COP2_Resolver.
| virtual TIL_Raster* TIL_CopResolver::resolveRaster | ( | int | id | ) | [pure virtual] |
Implemented in COP2_Resolver.
| virtual TIL_Raster* TIL_CopResolver::resolveRasterFrame | ( | int | id, | |
| float | frame, | |||
| int | xres = 0, |
|||
| int | yres = 0 | |||
| ) | [pure virtual] |
Implemented in COP2_Resolver.
| virtual TIL_Raster* TIL_CopResolver::resolveRasterPlane | ( | int | id, | |
| float | frame, | |||
| const char * | color, | |||
| int | cindex, | |||
| const char * | alpha, | |||
| int | aindex, | |||
| int | xres = 0, |
|||
| int | yres = 0, |
|||
| TIL_DataFormat | f = TILE_MAX_DATA_FORMAT | |||
| ) | [pure virtual] |
Implemented in COP2_Resolver.
| virtual void TIL_CopResolver::returnRaster | ( | const TIL_Raster * | raster | ) | [virtual] |
Reimplemented in COP2_Resolver.
| static void TIL_CopResolver::setResolver | ( | TIL_CopResolver * | resolver | ) | [static] |
| static void TIL_CopResolver::splitFile | ( | const char * | fullpath, | |
| UT_String & | name, | |||
| int & | xres, | |||
| int & | yres, | |||
| float & | quality | |||
| ) | [static] |
| int TIL_CopResolver::splitPath | ( | const char * | fullpath, | |
| UT_String & | name, | |||
| float & | frame | |||
| ) | [protected] |
| static int TIL_CopResolver::splitPath | ( | const char * | cpath, | |
| int & | id, | |||
| float & | frame, | |||
| UT_WorkBuffer & | color, | |||
| int & | cindex, | |||
| UT_WorkBuffer & | alpha, | |||
| int & | aindex, | |||
| int & | xres, | |||
| int & | yres | |||
| ) | [static] |
1.5.9