19 #ifndef __TIL_Cop2Resolver__
20 #define __TIL_Cop2Resolver__
31 #define TIL_DEFAULT_COLOR_PLANE "(Default Color)"
32 #define TIL_DEFAULT_ALPHA_PLANE "(Default Alpha)"
33 #define TIL_NO_PLANE "(None)"
52 static TIL_Raster *getRaster(
const char *fullpath,
54 bool *specific_frame =
nullptr);
55 static fpreal getRasterTime(
int opid);
56 static size_t getRasterVersion(
int opid);
66 static int getIdFrame(
const char *fullpath,
int &
id,
68 static void splitFile(
const char *fullpath,
75 static int getNodeId(
const char *net,
const char *node);
76 static void getNodeRes(
const char *net,
const char *node,
77 int &xres,
int &yres);
79 static int getNodeId(
const char *fullpath);
80 static void getNodeRes(
const char *fullpath,
81 int &xres,
int &yres);
83 static void getFileRes(
const char *file,
84 int &xres,
int &yres);
86 static int splitPath(
const char *cpath,
int &
id,
90 int &xres,
int &yres);
93 static void buildColorMenu(
const char *net,
97 static void buildAlphaMenu(
const char *net,
101 static bool canResolve(
const char *fullpath);
105 virtual int resolveId(
const char *fullpath) = 0;
107 virtual TIL_Raster *resolveRaster(
int id) = 0;
109 int xres=0,
int yres=0) = 0;
111 const char *color,
int cindex,
112 const char *alpha,
int aindex,
113 int xres=0,
int yres = 0,
118 virtual bool resolveIsPossible(
const char *fullpath) = 0;
120 virtual TIL_Raster *getFileRaster(
const char *file,
122 int xres = 0,
int yres = 0);
123 virtual TIL_Raster *getNodeRaster(
const char *fullpath,
124 const char *cmenu,
const char *amenu,
125 bool override_frame =
false,
130 virtual void getRes(
int id,
int &xres,
int &yres);
136 virtual bool resolveRasters(
int id,
143 virtual void buildPlaneMenu(
const char *net,
const char *node,
155 virtual int isOpBased();
157 virtual fpreal getTimeForRaster(
int id);
158 virtual size_t getVersionForRaster(
int id);
164 int splitPath(
const char *fullpath,
#define TILE_MAX_DATA_FORMAT
GLint GLint GLsizei GLint GLenum format
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
HUSD_API const char * raster()
GLfloat GLfloat GLfloat alpha
GLuint const GLchar * name