11 #ifndef __COP2_PixelBase_h__
12 #define __COP2_PixelBase_h__
18 #define ARG_PIXELBASE_RGBA "scopergba"
19 #define ARG_PIXELBASE_SCOPE "pscope"
20 #define ARG_PIXELBASE_FSCOPE "fscope"
21 #define ARG_PIXELBASE_FRANGE "frange"
22 #define ARG_PIXELBASE_FDROP "fdropoff"
23 #define ARG_PIXELBASE_FFUNC "fdropfunc"
24 #define ARG_PIXELBASE_FEFFECT "foutside"
25 #define ARG_PIXELBASE_SPECIFIC "flist"
27 #define ARG_PIXELBASE_AUTOFRAME "fautoadjust"
28 #define ARG_PIXELBASE_CURLENGTH "currange"
39 static int scopeChanged(
void *
data,
int idx,
float t,
41 static int toggleScope(
void *
data,
int idx,
float t,
43 static int frameChanged(
void *
data,
int idx,
float t,
63 virtual float getFrameScopeEffect(
int image_index);
75 virtual void setDefaultScope(
bool color,
bool alpha,
79 void toggleScope(
int comp);
81 void updateFrameScope(
int op,
float t);
86 void autoAdjustLength(
int oldlen,
int newlen);
88 int myFrameScopeMethod;
89 float myFrameScopeStart;
90 float myFrameScopeEnd;
91 float myFrameScopePreDrop;
92 float myFrameScopePostDrop;
93 int myFrameScopeFunction;
94 float myFrameScopeEffect;
#define ARG_PIXELBASE_SPECIFIC
virtual bool updateParmsFlags()
void SET_SCOPE(const UT_String &st)
#define ARG_PIXELBASE_FFUNC
bool isPixelBased() const override
void FRANGE(float &start, float &end)
fpreal evalFloat(int pi, int vi, fpreal t) const
GLuint GLsizei GLsizei * length
void setChRefString(const UT_StringRef &val, CH_StringMeaning meaning, int pi, int vi, fpreal t, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true)
#define ARG_PIXELBASE_FSCOPE
static OP_TemplatePair myTemplatePair
void SET_CURRENT_LENGTH(int length)
void setSilentFloat(int parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING)
virtual bool isTimeDepOperation()
virtual int scope(UT_String &)
void FDROP(float &start, float &end)
void setSilentInt(int parmi, int vectori, fpreal t, exint value)
void evalString(UT_String &val, int pi, int vi, fpreal t) const
void FRAME_SPECIFIC(UT_String &st)
GLfloat GLfloat GLfloat alpha
GLuint const GLchar * name
#define ARG_PIXELBASE_AUTOFRAME
void SCOPE(UT_String &st)
#define ARG_PIXELBASE_CURLENGTH
int canAccess(unsigned mask) const
GT_API const UT_StringHolder st
virtual void getInputDependenciesForOutputArea(COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas)
#define ARG_PIXELBASE_RGBA
#define ARG_PIXELBASE_SCOPE
COP2_ThreadPref getThreadPreference() const override
#define ARG_PIXELBASE_FRANGE
void SET_FRANGE(float start, float end)
#define ARG_PIXELBASE_FDROP
virtual bool isFrameScoped(int)
#define ARG_PIXELBASE_FEFFECT
virtual int frameScope(UT_String &)
exint evalInt(int pi, int vi, fpreal t) const
virtual TIL_Sequence * cookSequenceInfo(OP_ERROR &error)=0
virtual bool usesPartialFrameScope()
void SET_FDROP(float start, float end)