12 #ifndef __TIL_TileMPlay_H__
13 #define __TIL_TileMPlay_H__
31 static const size_t TIL_MPLAY_PACKETSIZE = 65536;
33 static const int TIL_MPLAY_TILEDATASIZE = 5;
45 void noNewMPlay(
bool enable);
50 void setSendPIDFlag(
bool flag);
56 int xres,
int yres,
int twidth,
int theight,
61 int twidth,
int theight,
fpreal aspect
67 const char *
const *
values)
override;
70 unsigned x0,
unsigned x1,
71 unsigned y0,
unsigned y1)
override;
74 int floats_per_sample,
76 const float *data)
override;
78 void flush()
override;
79 int close(
bool keep_alive=
false)
override;
88 int writeDeepTile(
int plane_index,
const void *data,
89 int x0,
int x1,
int y0,
int y1);
90 void setStatusMsg(
const char *msg);
92 bool isOpen()
const {
return mySocket && myPacket; }
99 { myMouse[0] =
x; myMouse[1] =
y; }
101 void streakEdges(
int x1,
int y1,
int x2,
int y2,
116 static void enableColorCorrection(
bool enable);
117 static void setColorCorrectionLUT(
bool enable,
const char *lut);
118 static void setColorCorrectionGamma(
bool enable,
fpreal gamma);
121 { myStyleSheetData = style_sheets; }
123 int openSocket(
const char *host,
int port,
125 bool drainSocket(
bool keep_alive=
false);
144 bool myNoNewMPlayFlag;
virtual void setWhitePoint(fpreal white)
GLenum GLuint GLenum GLsizei const GLchar * buf
GT_API const UT_StringHolder filename
virtual void writeCustomTag(const char *tagname, int size, const char *const *values)
GLuint GLsizei const GLchar * label
virtual void getDescription(UT_WorkBuffer &wbuf) const
virtual float getMouseClickRadius() const
virtual int openMulti(IMG_TileOptionList &flist, int xres, int yres, int tile_width, int tile_height, fpreal aspect)
virtual bool getMouseClickPosition(int &x, int &y) const
void setMouseClickPosition(int x, int y)
virtual void terminateOnConnectionLost(bool)
virtual bool writeSamples(int nsamples, int floats_per_sample, const UT_Vector3T< int > *samples, const float *data)
virtual const char * className() const =0
virtual int open(const IMG_TileOptions &info, int xres, int yres, int tile_device, int tile_height, fpreal aspect)=0
Open the device.
virtual int close(bool keep_alive=false)=0
virtual int writeTile(const void *data, unsigned x0, unsigned x1, unsigned y0, unsigned y1)=0
bool isInteractive() const override
GLenum GLsizei GLsizei GLint * values
bool wasRemoteQuitRequested()
GLubyte GLubyte GLubyte GLubyte w
void setStyleSheets(UT_StringArray &style_sheets) override
GLdouble GLdouble GLdouble y2
bool wantsHoudiniPort() const override