11 #ifndef COP2_IMAGESOURCE_H
12 #define COP2_IMAGESOURCE_H
37 bool adjust =
true)
override;
44 void close(
short key)
override;
52 int getID()
const override {
return myID; }
63 int &
x2,
int &
y2)
override;
74 int xstart,
int ystart,
75 int xend,
int yend,
float gamma,
77 bool include_alpha =
false,
78 bool is_interactive=
false,
79 int fxres = 0,
int fyres = 0)
override;
87 void (*info)(
void*,
const char*),
89 bool suppress_summary_dialog,
90 bool overwrite)
override;
99 void (*info)(
void*,
const char*),
101 bool suppress_summary_dialog,
102 bool overwrite)
override;
120 {
return isValid() ? myCop2->isSlowOperation():
false; }
123 fpreal t,
bool shift_only=
false,
126 int fr,
bool shift_only=
false,
133 bool allnodes,
int comp=-1,
134 bool natural_range =
true,
137 int evalpoints = 0)
override;
143 const char *planename,
144 int array_index)
override;
GLenum GLuint GLenum GLsizei const GLchar * buf
GT_API const UT_StringHolder filename
virtual bool getPreferredViewingPlane(UT_WorkBuffer &buf) const
virtual fpreal getStartTime()=0
virtual int isAnythingLocked()
bool isConstantSequence() const override
virtual bool getColorCurves(const char *planename, int array, fpreal t, TIL_ColorCurves &curves, UT_String &first, bool allnodes, int comp=-1, bool natural_range=true, float start=0.0f, float end=1.0f, int evalpoints=0)
virtual void getFullName(UT_String &name)=0
virtual int getID() const =0
virtual fpreal getGlobalTime()=0
virtual int isPlaneLocked(const TIL_Plane *, fpreal)
GLenum GLenum GLsizei void * image
virtual int equals(const TIL_ImageSource *)=0
virtual fpreal getFrameTime(fpreal t, bool=false, const TIL_Sequence *=0)
OP_Node * getOp() const override
virtual void getImageBounds(const TIL_Plane &plane, int array_index, fpreal t, int xres, int yres, const UT_Options &options, int &x1, int &y1, int &x2, int &y2)
virtual fpreal getSampleRate()=0
int getID() const override
virtual const TIL_Plane * getPreviewPlane(int)
virtual int doesImageExist(int, bool=true)
virtual const TIL_Sequence * getSequence(fpreal t, const UT_Options &options)=0
virtual int getFrameShift(int fr, bool=false, const TIL_Sequence *=0)
void getCookRegions(TIL_CookRegionList ®ions) override
virtual void close(short)
GLfloat GLfloat GLfloat alpha
virtual int isFrameLocked(fpreal)
GLuint const GLchar * name
virtual fpreal getEndTime()=0
A map of string to various well defined value types.
COP2_Node * getCop2() const
virtual TIL_ImageSource * selectParentSource(int px, int py, const char *planename, int array_index)
virtual int64 getMemoryUsage(bool inclusive) const =0
virtual size_t getVersion()
virtual int writeImage(const char *filename, const IMG_TileOptions *finfo, const TIL_Sequence *, int step, const ColorSpace &cspace, void(*info)(void *, const char *), void *data, bool suppress_summary_dialog, bool overwrite)
virtual int getImage(TIL_Raster *image, fpreal t, int xres, int yres, const TIL_Plane &plane, int array_index, int xstart, int ystart, int xend, int yend, float gamma, const UT_Options &, bool include_alpha=false, bool is_interactive=false, int fxres=0, int fyres=0)=0
class OCIOEXPORT ColorSpace
virtual int open(short &, int=0, fpreal=TIL_GLOBAL_TIME)
GLdouble GLdouble GLdouble y2
virtual void getInfo(UT_WorkBuffer &infotext)
virtual int canModifyImage()
virtual const char * getName()=0
bool isSlowOperation() const override
bool allowUserSelection() const override
virtual void getFrameName(int frame, UT_String &name)