HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_Paint.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: SOP Library (C++)
7  *
8  * COMMENTS: The Paint SOP, which works in conjunction with the
9  * Paint State and the GDT classes.
10  *
11  */
12 
13 #ifndef __SOP_Paint_h__
14 #define __SOP_Paint_h__
15 
16 #include "SOP_API.h"
17 #include <GU/GU_Brush.h>
18 
19 #include "SOP_GDT.h"
20 #include "SOP_BrushBase.h"
21 
22 class PRM_MenuEntry;
23 
24 enum {
25  // Group parameters
27 
29 
30 #define SOP_PAINT_NUM_DEFORM_PARMS (17)
50 
51 #define SOP_PAINT_NUM_NIB_PARMS (18)
70 
71 #define SOP_PAINT_NUM_SYM_PARMS (9)
81 
82 #define SOP_PAINT_NUM_RAY_PARMS (11)
94 };
95 
97 {
98 public:
99  SOP_Paint(OP_Network *net, const char *name, OP_Operator *entry);
100  ~SOP_Paint() override;
101 
102  bool updateParmsFlags() override;
103 
104  static OP_Node *myConstructor(OP_Network *net,
105  const char *name,
106  OP_Operator *entry);
107 
108  static PRM_Template myTemplateList[];
109  static PRM_Template myObsoleteList[];
110 
111  void setAccumulateStencil(bool yesno) override
112  {
113  setInt(SOP_PAINT_STENCILACCUM_IDX, 0, 0, yesno);
114  }
115  void setRayOrigin(const UT_Vector3 &orig, fpreal t) override
116  {
117  setFloat(SOP_PAINT_RAY_HITPOS_IDX, 0, t, orig.x());
118  setFloat(SOP_PAINT_RAY_HITPOS_IDX, 1, t, orig.y());
119  setFloat(SOP_PAINT_RAY_HITPOS_IDX, 2, t, orig.z());
120  }
121  void setRayOrientation(const UT_Vector3 &orient, fpreal t) override
122  {
123  setFloat(SOP_PAINT_RAY_ORIENT_IDX, 0, t, orient.x());
124  setFloat(SOP_PAINT_RAY_ORIENT_IDX, 1, t, orient.y());
125  setFloat(SOP_PAINT_RAY_ORIENT_IDX, 2, t, orient.z());
126  }
127  void setHitPrimitive(int primidx, fpreal t) override
128  {
129  setInt(SOP_PAINT_RAY_HITPRIM_IDX, 0, t, primidx);
130  }
131  void setHitPoint(int pt, fpreal t) override
132  {
133  setInt(SOP_PAINT_RAY_HITPT_IDX, 0, t, pt);
134  }
135  void setHitUVW(fpreal u, fpreal v, fpreal w, fpreal t) override
136  {
140  }
141  void setHitPressure(fpreal p, fpreal t) override
142  {
144  }
145  void setRadius(fpreal r, fpreal t) override
146  {
147  setFloat(SOP_PAINT_RAD_IDX, 0, t, r);
148  }
149  void setUVRadius(fpreal r, fpreal t) override
150  {
151  setFloat(SOP_PAINT_UVRAD_IDX, 0, t, r);
152  }
154  {
155  setInt(SOP_PAINT_RAY_EVENT_IDX, 0, 0, int(event));
156  }
157  void setBrushOp(SOP_BrushOp op) override
158  {
159  int iop;
160  switch (op)
161  {
162  case SOP_BRUSHOP_EYEDROP: iop = 1; break;
163  case SOP_BRUSHOP_SMOOTHATTRIB: iop = 2; break;
164  case SOP_BRUSHOP_ERASE: iop = 3; break;
165  case SOP_BRUSHOP_PAINT:
166  default: iop = 0; break;
167  }
168  setInt(SOP_PAINT_OP_IDX, 0, 0, iop);
169  }
170  void setBrushShape(SOP_BrushShape shape) override
171  {
172  setInt(SOP_PAINT_SHAPE_IDX, 0, 0, int(shape));
173  }
174  void setProjectionType(int projtype) override
175  {
176  setInt(SOP_PAINT_PROJTYPE_IDX, 0, 0, projtype);
177  }
178  void useForegroundColor() override
179  {
181  }
182  void useBackgroundColor() override
183  {
185  }
186 
187  void setCurrentColor(const UT_Vector3 &cd) override
188  {
189  int idx;
191  setFloat(idx, 0, 0, cd.x());
192  setFloat(idx, 1, 0, cd.y());
193  setFloat(idx, 2, 0, cd.z());
194  }
195  void setVisualization(bool state) override
196  {
197  // only trigger recooks if different!
198  if (myForceVisualize != state)
199  {
200  myForceVisualize = state;
201  forceRecook();
202  }
203  }
204 
205 protected:
206  const char *inputLabel(unsigned idx) const override;
207 
208 protected:
209  void doErase() override;
210 
211 public:
212  int altersGeometry() const override { return 0; }
213  int altersColor() const override { return 1; }
215  { return evalFloat(SOP_PAINT_RAD_IDX, 0, t); }
217  { return evalFloat(SOP_PAINT_UVRAD_IDX, 0, t); }
219  { return evalFloat(SOP_PAINT_RADPRESSURE_IDX, 0, t); }
221  {return evalFloat(SOP_PAINT_OPAC_IDX, 0, t) ; }
223  {return evalFloat(SOP_PAINT_OPACPRESSURE_IDX, 0, t) ; }
224 
225  SOP_BrushOp OP() override
226  {
227  switch (evalInt(SOP_PAINT_OP_IDX, 0, 0))
228  {
229  case 0: return SOP_BRUSHOP_PAINT;
230  case 1: return SOP_BRUSHOP_EYEDROP;
231  case 2: return SOP_BRUSHOP_SMOOTHATTRIB;
232  case 3: default: return SOP_BRUSHOP_ERASE;
233  }
234  }
235 
236  int ACCUMSTENCIL() override
237  { return evalInt(SOP_PAINT_STENCILACCUM_IDX, 0, 0);}
238  int PROJECTIONTYPE() override
239  { return evalInt(SOP_PAINT_PROJTYPE_IDX, 0, 0); }
240  int REALTIME() override
241  { return evalInt(SOP_PAINT_REALTIME_IDX, 0, 0); }
242  int SHAPE(fpreal t) override
243  { return evalInt(SOP_PAINT_SHAPE_IDX, 0, t); }
244 
245 protected:
246  int MERGEMODE() override
247  { return evalInt(SOP_PAINT_MERGEMODE_IDX, 0, 0); }
248  void SCRIPT(UT_String &, fpreal) override {}
249  int AXIS() override { return 0 ; }
250  fpreal USERX(fpreal) override { return 0.0; }
251  fpreal USERY(fpreal) override { return 0.0; }
252  fpreal USERZ(fpreal) override { return 0.0; }
253 
255  { return evalFloat(SOP_PAINT_RAY_ORIENT_IDX,0,t); }
257  { return evalFloat(SOP_PAINT_RAY_ORIENT_IDX,1,t); }
259  { return evalFloat(SOP_PAINT_RAY_ORIENT_IDX,2,t); }
260  fpreal RAYHITX(fpreal t) override
261  { return evalFloat(SOP_PAINT_RAY_HITPOS_IDX,0,t); }
262  fpreal RAYHITY(fpreal t) override
263  { return evalFloat(SOP_PAINT_RAY_HITPOS_IDX,1,t); }
264  fpreal RAYHITZ(fpreal t) override
265  { return evalFloat(SOP_PAINT_RAY_HITPOS_IDX,2,t); }
266  fpreal RAYHITU(fpreal t) override
267  { return evalFloat(SOP_PAINT_RAY_HITUVW_IDX, 0,t); }
268  fpreal RAYHITV(fpreal t) override
269  { return evalFloat(SOP_PAINT_RAY_HITUVW_IDX, 1,t); }
270  fpreal RAYHITW(fpreal t) override
271  { return evalFloat(SOP_PAINT_RAY_HITUVW_IDX, 2,t); }
273  { return evalFloat(SOP_PAINT_RAY_HITPRESSURE_IDX, 0, t); }
274  int PRIMHIT(fpreal t) override
275  { return evalInt(SOP_PAINT_RAY_HITPRIM_IDX, 0,t); }
276  int PTHIT(fpreal t) override
277  { return evalInt(SOP_PAINT_RAY_HITPT_IDX, 0, t); }
278  int EVENT() override
279  { return evalInt(SOP_PAINT_RAY_EVENT_IDX, 0,0); }
280  bool USE_FOREGROUND() override
282  0, 0) == 0; }
283 
284  fpreal FGR(fpreal t) override
285  { return evalFloat(SOP_PAINT_FG_IDX, 0, t); }
286  fpreal FGG(fpreal t) override
287  { return evalFloat(SOP_PAINT_FG_IDX, 1, t); }
288  fpreal FGB(fpreal t) override
289  { return evalFloat(SOP_PAINT_FG_IDX, 2, t); }
290  fpreal BGR(fpreal t) override
291  { return evalFloat(SOP_PAINT_BG_IDX, 0, t); }
292  fpreal BGG(fpreal t) override
293  { return evalFloat(SOP_PAINT_BG_IDX, 1, t); }
294  fpreal BGB(fpreal t) override
295  { return evalFloat(SOP_PAINT_BG_IDX, 2, t); }
296 
298  { return evalFloat(SOP_PAINT_SOFTEDGE_IDX, 0, t); }
299  void KERNEL(UT_String &str, fpreal t) override
300  { evalString(str, SOP_PAINT_KERNEL_IDX, 0, t); }
301  int UPTYPE(fpreal t) override
302  { return evalInt(SOP_PAINT_UPTYPE_IDX, 0, t); }
303  fpreal UPX(fpreal t) override
304  { return evalFloat(SOP_PAINT_UPVECTOR_IDX, 0, t); }
305  fpreal UPY(fpreal t) override
306  { return evalFloat(SOP_PAINT_UPVECTOR_IDX, 1, t); }
307  fpreal UPZ(fpreal t) override
308  { return evalFloat(SOP_PAINT_UPVECTOR_IDX, 2, t); }
309 
311  { return evalFloat(SOP_PAINT_PAPER_IDX, 0, t); }
313  { return evalFloat(SOP_PAINT_SPLATTER_IDX, 0, t); }
314  void BITMAP(UT_String &str, fpreal t) override
315  { evalString(str, SOP_PAINT_BITMAP_IDX, 0, t); }
316  int BITMAPCHAN(fpreal t) override
317  { return evalInt(SOP_PAINT_BITMAPCHAN_IDX, 0, t); }
318  fpreal ANGLE(fpreal t) override
319  { return evalFloat(SOP_PAINT_ANGLE_IDX, 0, t); }
320  fpreal SQUASH(fpreal t) override
321  { return evalFloat(SOP_PAINT_SQUASH_IDX, 0, t); }
322  int DOSTAMPING() override
323  { return evalInt(SOP_PAINT_STAMP_IDX, 0, 0); }
324  int WRITEALPHA() override
325  { return evalInt(SOP_PAINT_WRITEALPHA_IDX, 0, 0); }
326 
327  int OVERRIDECD() override
328  { return evalInt(SOP_PAINT_OVERRIDECD_IDX, 0, 0); }
329  void CDNAME(UT_String &str, fpreal t) override
330  { evalString(str, SOP_PAINT_CDNAME_IDX, 0, t); }
331  int OVERRIDEALPHA() override
332  { return evalInt(SOP_PAINT_OVERRIDEALPHA_IDX,0,0); }
333  void ALPHANAME(UT_String &str, fpreal t) override
334  { evalString(str, SOP_PAINT_ALPHANAME_IDX, 0,t); }
335  int OVERRIDENML() override { return 0; }
336  void NMLNAME(UT_String & /*str*/, fpreal /*t*/) override {}
337 
339  { return evalFloat(SOP_PAINT_SYMAXIS_IDX, 0, t); }
341  { return evalFloat(SOP_PAINT_SYMAXIS_IDX, 1, t); }
343  { return evalFloat(SOP_PAINT_SYMAXIS_IDX, 2, t); }
345  { return evalFloat(SOP_PAINT_SYMORIG_IDX, 0, t); }
347  { return evalFloat(SOP_PAINT_SYMORIG_IDX, 1, t); }
349  { return evalFloat(SOP_PAINT_SYMORIG_IDX, 2, t); }
350  int DOREFLECTION() override
351  { return evalInt(SOP_PAINT_DOREFLECT_IDX,0, 0); }
352  int DOROTATION() override
353  { return evalInt(SOP_PAINT_DOROTATION_IDX,0, 0); }
354  int SYMMETRYROT(fpreal t) override
355  { return evalInt(SOP_PAINT_SYMROT_IDX,0, t); }
357  { return evalFloat(SOP_PAINT_SYMDIST_IDX,0, t); }
358 
359  int DOUVREFLECTION() override
360  { return evalInt(SOP_PAINT_DOUVREFLECT_IDX, 0, 0); }
362  { return evalFloat(SOP_PAINT_SYMUVORIG_IDX, 0, t); }
364  { return evalFloat(SOP_PAINT_SYMUVORIG_IDX, 1, t); }
366  { return evalFloat(SOP_PAINT_SYMUVANGLE_IDX, 0, t);}
367 
368  int ADDATTRIB() override
369  { return evalInt(SOP_PAINT_ADDATTRIB_IDX, 0, 0); }
370  int VISUALIZE() override
371  { return myForceVisualize ||
373  fpreal VISLOW(fpreal t) override
374  { return evalFloat(SOP_PAINT_VISRANGE_IDX, 0, t); }
375  fpreal VISHIGH(fpreal t) override
376  { return evalFloat(SOP_PAINT_VISRANGE_IDX, 1, t); }
377  int VISMODE() override
378  { return evalInt(SOP_PAINT_VISMODE_IDX, 0, 0); }
379 
380  int USECONNECTIVITY() override
381  { return evalInt(SOP_PAINT_USECONNECTIVITY_IDX, 0, 0); }
382  int USENORMALS() override
383  { return evalInt(SOP_PAINT_USENORMALS_IDX, 0, 0); }
384  int USEDEPTH() override
385  { return evalInt(SOP_PAINT_USEDEPTH_IDX, 0, 0); }
386  fpreal DEPTH(fpreal t) override
387  { return evalFloat(SOP_PAINT_DEPTH_IDX, 0, t); }
388  fpreal HEIGHT(fpreal t) override
389  { return evalFloat(SOP_PAINT_DEPTH_IDX, 1, t); }
390 
391 
392  // Find out if the brush has moved or done anything to cause us to add its
393  // effect to the current gdp.
394  bool hasStrokeChanged(fpreal t) override;
395  bool hasStyleChanged(fpreal t) override;
396 
397  // Find if the nib file has changed:
398  bool hasNibFileChanged(fpreal t) override;
399  bool hasAccumStencilChanged(fpreal t) override;
400  bool hasNibLookChanged(fpreal t) override;
401 
402  bool hasVisrangeChanged(fpreal t) override;
403 };
404 
405 #endif
bool USE_FOREGROUND() override
Definition: SOP_Paint.h:280
fpreal RAYHITPRESSURE(fpreal t) override
Definition: SOP_Paint.h:272
fpreal SYMMETRYDIRY(fpreal t) override
Definition: SOP_Paint.h:340
fpreal UPZ(fpreal t) override
Definition: SOP_Paint.h:307
virtual bool updateParmsFlags()
fpreal SYMMETRYORIGY(fpreal t) override
Definition: SOP_Paint.h:346
int USEDEPTH() override
Definition: SOP_Paint.h:384
fpreal RAYHITU(fpreal t) override
Definition: SOP_Paint.h:266
fpreal USERZ(fpreal) override
Definition: SOP_Paint.h:252
virtual bool hasAccumStencilChanged(fpreal t)=0
GLuint const GLchar * name
Definition: glew.h:1814
fpreal SYMMETRYDIST(fpreal t) override
Definition: SOP_Paint.h:356
fpreal ANGLE(fpreal t) override
Definition: SOP_Paint.h:318
void setHitPressure(fpreal p, fpreal t) override
Definition: SOP_Paint.h:141
int OVERRIDEALPHA() override
Definition: SOP_Paint.h:331
void setProjectionType(int projtype) override
Definition: SOP_Paint.h:174
void SCRIPT(UT_String &, fpreal) override
Definition: SOP_Paint.h:248
const char * inputLabel(unsigned idx) const override
fpreal RAYHITV(fpreal t) override
Definition: SOP_Paint.h:268
fpreal RAWOPACITY(fpreal t) override
Definition: SOP_Paint.h:220
virtual bool hasStyleChanged(fpreal t)=0
int altersGeometry() const override
Definition: SOP_Paint.h:212
int OVERRIDECD() override
Definition: SOP_Paint.h:327
virtual void forceRecook(bool evensmartcache=true)
void setVisualization(bool state) override
Definition: SOP_Paint.h:195
fpreal evalFloat(int pi, int vi, fpreal t) const
void NMLNAME(UT_String &, fpreal) override
Definition: SOP_Paint.h:336
int MERGEMODE() override
Definition: SOP_Paint.h:246
fpreal RAYORIENTX(fpreal t) override
Definition: SOP_Paint.h:254
fpreal SQUASH(fpreal t) override
Definition: SOP_Paint.h:320
fpreal BGG(fpreal t) override
Definition: SOP_Paint.h:292
const GLdouble * v
Definition: glew.h:1391
int OVERRIDENML() override
Definition: SOP_Paint.h:335
fpreal BGB(fpreal t) override
Definition: SOP_Paint.h:294
int SYMMETRYROT(fpreal t) override
Definition: SOP_Paint.h:354
void setBrushShape(SOP_BrushShape shape) override
Definition: SOP_Paint.h:170
int USECONNECTIVITY() override
Definition: SOP_Paint.h:380
fpreal USERX(fpreal) override
Definition: SOP_Paint.h:250
fpreal USERY(fpreal) override
Definition: SOP_Paint.h:251
int SHAPE(fpreal t) override
Definition: SOP_Paint.h:242
void setCurrentColor(const UT_Vector3 &cd) override
Definition: SOP_Paint.h:187
fpreal SYMMETRYORIGX(fpreal t) override
Definition: SOP_Paint.h:344
virtual bool hasNibFileChanged(fpreal t)=0
fpreal UPX(fpreal t) override
Definition: SOP_Paint.h:303
void KERNEL(UT_String &str, fpreal t) override
Definition: SOP_Paint.h:299
void ALPHANAME(UT_String &str, fpreal t) override
Definition: SOP_Paint.h:333
fpreal RAWUVRADIUS(fpreal t) override
Definition: SOP_Paint.h:216
fpreal SYMMETRYUVORIGU(fpreal t) override
Definition: SOP_Paint.h:361
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:513
void setBrushOp(SOP_BrushOp op) override
Definition: SOP_Paint.h:157
virtual bool USE_FOREGROUND()=0
fpreal UPY(fpreal t) override
Definition: SOP_Paint.h:305
fpreal SYMMETRYORIGZ(fpreal t) override
Definition: SOP_Paint.h:348
fpreal VISLOW(fpreal t) override
Definition: SOP_Paint.h:373
fpreal SYMMETRYDIRZ(fpreal t) override
Definition: SOP_Paint.h:342
void evalString(UT_String &val, int pi, int vi, fpreal t) const
void CDNAME(UT_String &str, fpreal t) override
Definition: SOP_Paint.h:329
fpreal PAPERNOISE(fpreal t) override
Definition: SOP_Paint.h:310
fpreal DEPTH(fpreal t) override
Definition: SOP_Paint.h:386
void setUVRadius(fpreal r, fpreal t) override
Definition: SOP_Paint.h:149
void setAccumulateStencil(bool yesno) override
Definition: SOP_Paint.h:111
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:515
GLubyte GLubyte GLubyte GLubyte w
Definition: glew.h:1890
int PRIMHIT(fpreal t) override
Definition: SOP_Paint.h:274
fpreal SYMMETRYUVANGLE(fpreal t) override
Definition: SOP_Paint.h:365
void setHitPoint(int pt, fpreal t) override
Definition: SOP_Paint.h:131
fpreal SYMMETRYUVORIGV(fpreal t) override
Definition: SOP_Paint.h:363
int DOUVREFLECTION() override
Definition: SOP_Paint.h:359
SOP_BrushOp
Definition: SOP_BrushBase.h:38
virtual void doErase()=0
void BITMAP(UT_String &str, fpreal t) override
Definition: SOP_Paint.h:314
int AXIS() override
Definition: SOP_Paint.h:249
fpreal RAYHITX(fpreal t) override
Definition: SOP_Paint.h:260
fpreal SYMMETRYDIRX(fpreal t) override
Definition: SOP_Paint.h:338
int VISMODE() override
Definition: SOP_Paint.h:377
GA_API const UT_StringHolder orient
void useForegroundColor() override
Definition: SOP_Paint.h:178
fpreal SOFTEDGE(fpreal t) override
Definition: SOP_Paint.h:297
int ACCUMSTENCIL() override
Definition: SOP_Paint.h:236
#define SOP_GDT_GRP_IDX
Definition: SOP_GDT.h:22
virtual bool hasVisrangeChanged(fpreal)
GLfloat GLfloat p
Definition: glew.h:16321
cl_event event
Definition: glew.h:3695
fpreal BGR(fpreal t) override
Definition: SOP_Paint.h:290
virtual bool hasStrokeChanged(fpreal t)=0
int REALTIME() override
Definition: SOP_Paint.h:240
int USENORMALS() override
Definition: SOP_Paint.h:382
fpreal RAYHITW(fpreal t) override
Definition: SOP_Paint.h:270
int EVENT() override
Definition: SOP_Paint.h:278
fpreal SPLATTER(fpreal t) override
Definition: SOP_Paint.h:312
void setFloat(int parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING)
fpreal VISHIGH(fpreal t) override
Definition: SOP_Paint.h:375
int ADDATTRIB() override
Definition: SOP_Paint.h:368
void setHitPrimitive(int primidx, fpreal t) override
Definition: SOP_Paint.h:127
int DOSTAMPING() override
Definition: SOP_Paint.h:322
fpreal64 fpreal
Definition: SYS_Types.h:277
void setInt(int parmi, int vectori, fpreal t, exint value)
SOP_BrushOp OP() override
Definition: SOP_Paint.h:225
fpreal FGB(fpreal t) override
Definition: SOP_Paint.h:288
fpreal RAYHITZ(fpreal t) override
Definition: SOP_Paint.h:264
fpreal FGR(fpreal t) override
Definition: SOP_Paint.h:284
fpreal RAYHITY(fpreal t) override
Definition: SOP_Paint.h:262
int UPTYPE(fpreal t) override
Definition: SOP_Paint.h:301
GLdouble GLdouble GLdouble r
Definition: glew.h:1406
int PROJECTIONTYPE() override
Definition: SOP_Paint.h:238
fpreal RAYORIENTZ(fpreal t) override
Definition: SOP_Paint.h:258
int VISUALIZE() override
Definition: SOP_Paint.h:370
void useBackgroundColor() override
Definition: SOP_Paint.h:182
fpreal HEIGHT(fpreal t) override
Definition: SOP_Paint.h:388
#define SOP_API
Definition: SOP_API.h:10
int altersColor() const override
Definition: SOP_Paint.h:213
int DOREFLECTION() override
Definition: SOP_Paint.h:350
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:511
void setBrushEvent(SOP_BrushEvent event) override
Definition: SOP_Paint.h:153
virtual bool hasNibLookChanged(fpreal t)=0
exint evalInt(int pi, int vi, fpreal t) const
int DOROTATION() override
Definition: SOP_Paint.h:352
SOP_BrushEvent
Definition: SOP_BrushBase.h:30
int BITMAPCHAN(fpreal t) override
Definition: SOP_Paint.h:316
void setRadius(fpreal r, fpreal t) override
Definition: SOP_Paint.h:145
SOP_BrushShape
Definition: SOP_BrushBase.h:62
void setRayOrigin(const UT_Vector3 &orig, fpreal t) override
Definition: SOP_Paint.h:115
fpreal RADIUSPRESSURE(fpreal t) override
Definition: SOP_Paint.h:218
fpreal OPACITYPRESSURE(fpreal t) override
Definition: SOP_Paint.h:222
GLdouble GLdouble t
Definition: glew.h:1398
void setHitUVW(fpreal u, fpreal v, fpreal w, fpreal t) override
Definition: SOP_Paint.h:135
int PTHIT(fpreal t) override
Definition: SOP_Paint.h:276
void setRayOrientation(const UT_Vector3 &orient, fpreal t) override
Definition: SOP_Paint.h:121
int WRITEALPHA() override
Definition: SOP_Paint.h:324
fpreal FGG(fpreal t) override
Definition: SOP_Paint.h:286
fpreal RAWRADIUS(fpreal t) override
Definition: SOP_Paint.h:214
fpreal RAYORIENTY(fpreal t) override
Definition: SOP_Paint.h:256