11 #ifndef TIL_SEQUENCE_H
12 #define TIL_SEQUENCE_H
24 #define SEQUENCE_NEAREST 0
25 #define SEQUENCE_PREVIOUS 1
26 #define SEQUENCE_NEXT 2
35 UT_SMALLOBJECT_CLEANPAGES_OFF, 196,
36 UT_SMALLOBJECT_THREADSAFE_ON>
45 int64 getMemoryUsage(
bool inclusive)
const;
48 bool isValid()
const {
return myValidFlag; }
49 void setValid(
bool valid) { myValidFlag = valid; }
57 bool metdata_tool =
true)
const;
67 bool mark_unscoped =
false)
const;
85 double getEnd()
const {
return myStart+myLength-1; }
89 {
return (myStart + myLength -2) / myRate; }
94 { x = myXRes; y = myYRes; }
96 void setRes(
int x,
int y);
99 { myAspect = (aspect > 0.0f) ? aspect : 1.0
f; }
105 {
return myRenderTime; }
107 { myRenderTime =
t; }
109 {
return myRenderMemory; }
111 { myRenderMemory = mem; }
114 { b = myPreExtend; a = myPostExtend; }
116 { before = myPreHold; after = myPostHold; }
119 { myPreExtend = before; myPostExtend = after; }
121 { myPreHold = before; myPostHold = after; }
126 exint getImageIndex(
double t,
int clamp_range = 1,
128 double getImageTime(
double t,
int clamp_range =1,
132 exint getFrameIndex(
double t,
int clamp_range = 1,
134 double getFrameTime(
double t,
int clamp_range =1,
138 double getIndexTime(
exint image_index)
const;
140 exint checkIndexBounds(
exint image_index)
const;
157 void removePlane(
int index);
158 void removePlane(
const char *
name);
160 void clearAllPlanes();
169 TIL_Plane * getPlaneWithElement(
const char *elem_name);
170 const TIL_Plane * getPlaneWithElement(
const char *elem_name)
const;
172 int getPlaneByName(
const char *
name)
const;
179 void print(std::ostream &os)
const;
181 void bumpColorAlphaToFront();
192 unsigned myValidFlag :1,
222 int64 myRenderMemory;
void setRenderMemory(int64 mem)
GLuint const GLchar * name
TIL_Dominance getFieldDominance() const
void setFrameRate(double rate)
void setTemporalExtend(TIL_Extend before, TIL_Extend after)
void setStart(double start)
void setSingleImage(bool on)
void setTemporalHold(int before, int after)
GLboolean GLboolean GLboolean GLboolean a
void getRes(int &x, int &y) const
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
bool isSingleImage() const
double getStartTime() const
const UT_Options & metaData() const
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
fpreal getRenderTime() const
TIL_Interlace getInterlace() const
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
double getFrameRate() const
double getEndTime() const
void getTemporalExtend(TIL_Extend &b, TIL_Extend &a) const
float getAspectRatio() const
GLdouble GLdouble GLdouble b
A map of string to various well defined value types.
void setAspectRatio(float aspect)
int64 getRenderMemory() const
Contains the details of a specific image file, used by IMG_File. This class contains all the high-lev...
void setValid(bool valid)
void getTemporalHold(int &before, int &after) const
void setRenderTime(fpreal t)
float getVAspectRatio() const
std::enable_if< internal::is_string< S >::value >::type print(std::basic_ostream< FMT_CHAR(S)> &os, const S &format_str, const Args &...args)