11 #ifndef __COP2_Resolver__
12 #define __COP2_Resolver__
23 int resolveId(
const char *fullpath)
override;
26 int xres =0,
int yres =0)
override;
28 const char *
color,
int cindex,
29 const char *
alpha,
int aindex,
30 int xres = 0,
int yres = 0,
39 void getRes(
int id,
int &xres,
int &yres)
override;
43 int xres = 0,
int yres = 0)
override;
48 bool override_frame =
false,
virtual bool resolveRasters(int id, const UT_StringArray &plane_names, fpreal t, UT_ValArray< TIL_Raster * > &new_rasters, TIL_DataFormat format=TILE_MAX_DATA_FORMAT)
virtual TIL_Raster * resolveRasterPlane(int id, fpreal 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 returnRaster(const TIL_Raster *raster)
virtual TIL_Sequence * getSequence(int id)
virtual TIL_Raster * resolveRaster(int id)=0
#define TILE_MAX_DATA_FORMAT
virtual TIL_Raster * resolveRasterFrame(int id, fpreal frame, int xres=0, int yres=0)=0
GLint GLint GLsizei GLint GLenum format
HUSD_API const char * raster()
GLfloat GLfloat GLfloat alpha
virtual void buildPlaneMenu(const char *net, const char *node, UT_ValArray< char * > &items)
virtual void getRes(int id, int &xres, int &yres)
virtual int resolveId(const char *fullpath)=0
virtual TIL_ImageSource * resolveImageSource(int id)
virtual TIL_Raster * getNodeRaster(const char *fullpath, const char *cmenu, const char *amenu, bool override_frame=false, fpreal frame=1.0, TIL_DataFormat f=TILE_MAX_DATA_FORMAT)
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 fpreal getTimeForRaster(int id)
virtual size_t getVersionForRaster(int id)