11 #ifndef __TIL_DeepRasterReader__
12 #define __TIL_DeepRasterReader__
35 int &pid,
bool &new_sequence);
41 void setResolution(
int xres,
int yres);
42 int addPlane(
const char *
name,
46 void createDeepRaster(
bool change_vector2_to_vector3=
true);
56 fpreal getPercentComplete()
const;
60 {
return myProgressMessage; }
62 {
return myProgressAction; }
64 {
return myElapsedTime; }
66 {
return myRenderTime; }
68 {
return myPeakMemUsage; }
83 {
return mySequence.getNumPlanes(); }
92 int floats_per_sample,
94 const float *
data)
override;
95 bool setTag(
int plane,
int tag,
96 const char *
val)
override = 0;
97 bool setTag(
int plane,
int tag,
99 bool setTag(
int plane,
int tag,
100 const int *
values,
int nvalues=1)
override;
101 bool setTag(
int plane,
int tag,
102 const float *
values,
int nvalues=1)
override;
111 int64 myPeakMemUsage;
virtual bool writeSamples(int nsamples, int floats_per_sample, const UT_Vector3T< int > *samples, const float *data)=0
virtual int getYres() const =0
fpreal getRenderTime() const
virtual bool complete()
When no more data will be written to the reader, this method is called.
virtual bool setTag(int plane, int tag, const char *val)
virtual int64 getMemoryUsage(bool inclusive) const =0
GLuint const GLchar * name
GLenum GLsizei GLsizei GLint * values
void setSequence(const TIL_Sequence &src)
GLuint GLfloat GLfloat GLfloat x1
int64 getPeakMemUsage() const
fpreal getElapsedTime() const
virtual bool writeTile(int plane_index, int x0, int x1, int y0, int y1, void *data)=0
GLuint GLfloat GLfloat y0
HUSD_API const char * raster()
virtual int getPlaneDataFormat(int plane_index) const =0
const UT_StringHolder & getProgressAction() const
GLuint GLfloat GLfloat GLfloat GLfloat y1
const UT_StringHolder & getProgressMessage() const
virtual int getXres() const =0
TIL_DeepRaster * getRaster()
getOption("OpenEXR.storage") storage
TIL_Sequence & getSequence()