All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: COP_CopResolver.h ( COP Library, C++)
7  *
8  * COMMENTS: Handle grabbing texture maps from COPs.
9  */
11 #ifndef __COP2_Resolver__
12 #define __COP2_Resolver__
14 #include "COP2_API.h"
15 #include <TIL/TIL_CopResolver.h>
18 {
19 public:
20  COP2_Resolver();
21  virtual ~COP2_Resolver();
23  virtual int resolveId(const char *fullpath);
24  virtual TIL_Raster *resolveRaster(int id);
25  virtual TIL_Raster *resolveRasterFrame(int id, fpreal frame,
26  int xres =0, int yres =0);
27  virtual TIL_Raster *resolveRasterPlane(int id, fpreal frame,
28  const char *color, int cindex,
29  const char *alpha, int aindex,
30  int xres = 0, int yres = 0,
33  virtual bool resolveIsPossible(const char *fullpath);
34  virtual int isOpBased();
36  virtual void buildPlaneMenu(const char *net, const char *node,
37  UT_ValArray<char *> &items);
39  virtual void getRes(int id, int &xres, int &yres);
41  virtual TIL_Raster *getFileRaster(const char *file,
43  int xres = 0, int yres = 0);
44  virtual TIL_Raster *getNodeRaster(const char *fullpath,
45  const char *cmenu, const char *amenu,
46  bool override_frame = false,
47  fpreal frame = 1.0,
50  virtual bool returnRaster(const TIL_Raster *raster);
51  virtual fpreal getTimeForRaster(int opid);
52  virtual size_t getVersionForRaster(int opid);
53  virtual TIL_Sequence *getSequence(int id);
54  virtual bool resolveRasters(int id,
55  const UT_StringArray &plane_names,
56  fpreal t,
57  UT_ValArray<TIL_Raster *> &new_rasters,
59  virtual TIL_ImageSource *resolveImageSource(int id);
61 };
63 #endif
virtual size_t getVersionForRaster(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 TIL_Sequence * getSequence(int id)
GLclampf GLclampf GLclampf alpha
Definition: glew.h:1520
virtual TIL_Raster * getFileRaster(const char *file, IMG_DataType type=IMG_DT_ANY, int xres=0, int yres=0)
virtual TIL_Raster * resolveRaster(int id)=0
virtual bool resolveIsPossible(const char *fullpath)=0
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 TIL_Raster * resolveRasterFrame(int id, fpreal frame, int xres=0, int yres=0)=0
#define TIL_DataFormat
Definition: TIL_Defines.h:64
virtual fpreal getTimeForRaster(int id)
virtual TIL_ImageSource * resolveImageSource(int id)
Definition: TIL_Defines.h:70
GLclampf f
Definition: glew.h:3499
Definition: IMG_FileTypes.h:17
virtual int isOpBased()
GLuint color
Definition: glew.h:7902
GLuint GLuint GLsizei GLenum type
Definition: glew.h:1253
double fpreal
Definition: SYS_Types.h:276
#define COP2_API
Definition: COP2_API.h:10
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: glew.h:1254
virtual int resolveId(const char *fullpath)=0
virtual void getRes(int id, int &xres, int &yres)
virtual bool returnRaster(const TIL_Raster *raster)
GLdouble GLdouble t
Definition: glew.h:1398
virtual void buildPlaneMenu(const char *net, const char *node, UT_ValArray< char * > &items)
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)