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