11 #ifndef COP2_IMAGESOURCE_H
12 #define COP2_IMAGESOURCE_H
37 bool adjust =
true)
override;
44 void close(
short key)
override;
54 int getID()
const override {
return myID; }
66 int &
x2,
int &
y2)
override;
77 int xstart,
int ystart,
78 int xend,
int yend,
float gamma,
80 bool include_alpha =
false,
81 bool is_interactive=
false,
82 int fxres = 0,
int fyres = 0)
override;
90 void (*info)(
void*,
const char*),
92 bool suppress_summary_dialog,
93 bool overwrite)
override;
102 void (*info)(
void*,
const char*),
104 bool suppress_summary_dialog,
105 bool overwrite)
override;
123 {
return isValid() ? myCop2->isSlowOperation():
false; }
126 fpreal t,
bool shift_only=
false,
129 int fr,
bool shift_only=
false,
136 bool allnodes,
int comp=-1,
137 bool natural_range =
true,
140 int evalpoints = 0)
override;
146 const char *planename,
147 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
bool isConstantSequence() const override
virtual void getSourceImageBounds(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 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 bool equals(const TIL_ImageSource *) const =0
GLenum GLenum GLsizei void * image
virtual fpreal getFrameTime(fpreal t, bool=false, const TIL_Sequence *=0)
OP_Node * getOp() const override
virtual fpreal getSampleRate()=0
int getID() const override
virtual const TIL_Plane * getPreviewPlane(int)
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
GLuint const GLchar * name
virtual fpreal getEndTime()=0
virtual bool isPlaneLocked(const TIL_Plane *, fpreal) const
virtual bool useHandles()
virtual bool isFrameLocked(fpreal) const
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 bool canModifyImage()
virtual const TIL_Sequence * getSourceSequence(fpreal t, const UT_Options &options)=0
Return a completed TIL_Sequence structure without postprocessing.
virtual const IMG_Metadata * getMetadata(int frame) const =0
virtual bool open(short &, int=0, fpreal=TIL_GLOBAL_TIME)
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)
class OCIOEXPORT ColorSpace
GLdouble GLdouble GLdouble y2
virtual bool isAnythingLocked() const
virtual void getInfo(UT_WorkBuffer &infotext)
virtual const char * getName()=0
bool isSlowOperation() const override
bool allowUserSelection() const override
virtual int getSourceImage(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
virtual bool doesImageExist(int, bool=true)
virtual void getFrameName(int frame, UT_String &name)