11 #ifndef __TIL_DeepRasterReader__
12 #define __TIL_DeepRasterReader__
38 int &pid,
bool &new_sequence);
44 void setResolution(
int xres,
int yres);
45 int addPlane(
const char *
name,
49 void createDeepRaster(
bool change_vector2_to_vector3=
true);
59 fpreal getPercentComplete()
const;
63 {
return myProgressMessage; }
65 {
return myProgressAction; }
67 {
return myElapsedTime; }
69 {
return myRenderTime; }
71 {
return myPeakMemUsage; }
86 {
return mySequence.getNumPlanes(); }
91 int x0,
int x1,
int y0,
int y1,
95 int floats_per_sample,
97 const float *
data)
override;
98 bool setTag(
int plane,
int tag,
99 const char *
val)
override = 0;
100 bool setTag(
int plane,
int tag,
102 bool setTag(
int plane,
int tag,
103 const int *
values,
int nvalues=1)
override;
104 bool setTag(
int plane,
int tag,
105 const float *
values,
int nvalues=1)
override;
114 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
getFileOption("OpenEXR:storage") storage
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
void setSequence(const TIL_Sequence &src)
int64 getPeakMemUsage() const
fpreal getElapsedTime() const
virtual bool writeTile(int plane_index, int x0, int x1, int y0, int y1, void *data)=0
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
HUSD_API const char * raster()
virtual int getPlaneDataFormat(int plane_index) const =0
const UT_StringHolder & getProgressAction() const
GLuint const GLchar * name
const UT_StringHolder & getProgressMessage() const
virtual int getXres() const =0
GLenum GLsizei GLsizei GLint * values
TIL_DeepRaster * getRaster()
TIL_Sequence & getSequence()