11 #ifndef __TIL_StitchDeep__
12 #define __TIL_StitchDeep__
33 void allocate(
int width,
const OIIO::ImageSpec &spec);
46 bool canRead(
const Scanline *scan)
const override;
47 bool readScanline(
int plane,
int xoff,
int scanline,
49 bool close()
override;
53 const OIIO::ImageSpec &imageSpec()
const;
56 virtual void error(
const char *msg)
const;
74 bool finishImage()
override;
77 bool isValid()
const {
return myOut.get() !=
nullptr; }
84 bool match_display_window =
false);
86 virtual bool flushScanlines();
87 virtual void error(
const char *msg)
const;
88 virtual void warning(
const char *msg)
const;
Class to store scanline data.
GT_API const UT_StringHolder filename
const UT_StringHolder & filename() const
UT_UniquePtr< OIIO::DeepData > myData
UT_Array< DeepScanline > myScanBuffer
UT_StringHolder myFilename
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
UT_UniquePtr< OIIO::ImageInput > myIn
Class to read the tile data and write it to an output sink.
UT_UniquePtr< OIIO::DeepData > myData
bool process(T &func, UT_WorkBuffer &fullpath, exint fullpath_len, const UT_StringArray &paths, const UT_Array< FS_Stat > &stats)
Utility function to process the contents of the traverse() function.
GLenum GLenum GLsizei void * row
#define OIIO_NAMESPACE_END
#define OIIO_NAMESPACE_BEGIN
UT_UniquePtr< OIIO::ImageOutput > myOut