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  virtual ~SOP_Paint();
101 
102  virtual bool updateParmsFlags();
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  virtual void setAccumulateStencil(bool yesno)
112  {
113  setInt(SOP_PAINT_STENCILACCUM_IDX, 0, 0, yesno);
114  }
115  virtual void setRayOrigin(const UT_Vector3 &orig, fpreal t)
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  virtual void setRayOrientation(const UT_Vector3 &orient, fpreal t)
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  virtual void setHitPrimitive(int primidx, fpreal t)
128  {
129  setInt(SOP_PAINT_RAY_HITPRIM_IDX, 0, t, primidx);
130  }
131  virtual void setHitPoint(int pt, fpreal t)
132  {
133  setInt(SOP_PAINT_RAY_HITPT_IDX, 0, t, pt);
134  }
135  virtual void setHitUVW(fpreal u, fpreal v, fpreal w, fpreal t)
136  {
140  }
141  virtual void setHitPressure(fpreal p, fpreal t)
142  {
144  }
145  virtual void setRadius(fpreal r, fpreal t)
146  {
147  setFloat(SOP_PAINT_RAD_IDX, 0, t, r);
148  }
149  virtual void setUVRadius(fpreal r, fpreal t)
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  virtual void setBrushOp(SOP_BrushOp op)
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  virtual void setBrushShape(SOP_BrushShape shape)
171  {
172  setInt(SOP_PAINT_SHAPE_IDX, 0, 0, int(shape));
173  }
174  virtual void setProjectionType(int projtype)
175  {
176  setInt(SOP_PAINT_PROJTYPE_IDX, 0, 0, projtype);
177  }
178  virtual void useForegroundColor(void)
179  {
181  }
182  virtual void useBackgroundColor(void)
183  {
185  }
186 
187  virtual void setCurrentColor(const UT_Vector3 &cd)
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  virtual void setVisualization(int state)
196  {
197  // only trigger recooks if different!
198  if( myForceVisualize != state )
199  {
200  myForceVisualize = state;
201  forceRecook();
202  }
203  }
204 
205 protected:
206  virtual const char *inputLabel(unsigned idx) const;
207 
208 protected:
209  virtual void doErase();
210 
211 public:
212  virtual int altersGeometry() const { return 0; }
213  virtual int altersColor() const { 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  virtual SOP_BrushOp OP(void)
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  virtual int ACCUMSTENCIL(void)
237  { return evalInt(SOP_PAINT_STENCILACCUM_IDX, 0, 0);}
238  virtual int PROJECTIONTYPE(void)
239  { return evalInt(SOP_PAINT_PROJTYPE_IDX, 0, 0); }
240  virtual int REALTIME(void)
241  { return evalInt(SOP_PAINT_REALTIME_IDX, 0, 0); }
242  virtual int SHAPE(fpreal t)
243  { return evalInt(SOP_PAINT_SHAPE_IDX, 0, t); }
244 
245 protected:
246  virtual int MERGEMODE()
247  { return evalInt(SOP_PAINT_MERGEMODE_IDX, 0, 0); }
248  virtual void SCRIPT (UT_String &, fpreal ) {}
249  virtual int AXIS(void) { return 0 ; }
250  virtual fpreal USERX(fpreal) { return 0.0; }
251  virtual fpreal USERY(fpreal) { return 0.0; }
252  virtual fpreal USERZ(fpreal) { 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  virtual fpreal RAYHITX(fpreal t)
261  { return evalFloat(SOP_PAINT_RAY_HITPOS_IDX,0,t); }
262  virtual fpreal RAYHITY(fpreal t)
263  { return evalFloat(SOP_PAINT_RAY_HITPOS_IDX,1,t); }
264  virtual fpreal RAYHITZ(fpreal t)
265  { return evalFloat(SOP_PAINT_RAY_HITPOS_IDX,2,t); }
266  virtual fpreal RAYHITU(fpreal t)
267  { return evalFloat(SOP_PAINT_RAY_HITUVW_IDX, 0,t); }
268  virtual fpreal RAYHITV(fpreal t)
269  { return evalFloat(SOP_PAINT_RAY_HITUVW_IDX, 1,t); }
270  virtual fpreal RAYHITW(fpreal t)
271  { return evalFloat(SOP_PAINT_RAY_HITUVW_IDX, 2,t); }
273  { return evalFloat(SOP_PAINT_RAY_HITPRESSURE_IDX, 0, t); }
274  virtual int PRIMHIT(fpreal t)
275  { return evalInt(SOP_PAINT_RAY_HITPRIM_IDX, 0,t); }
276  virtual int PTHIT(fpreal t)
277  { return evalInt(SOP_PAINT_RAY_HITPT_IDX, 0, t); }
278  virtual int EVENT()
279  { return evalInt(SOP_PAINT_RAY_EVENT_IDX, 0,0); }
280  virtual bool USE_FOREGROUND(void)
282  0, 0) == 0; }
283 
284  virtual fpreal FGR(fpreal t)
285  { return evalFloat(SOP_PAINT_FG_IDX, 0, t); }
286  virtual fpreal FGG(fpreal t)
287  { return evalFloat(SOP_PAINT_FG_IDX, 1, t); }
288  virtual fpreal FGB(fpreal t)
289  { return evalFloat(SOP_PAINT_FG_IDX, 2, t); }
290  virtual fpreal BGR(fpreal t)
291  { return evalFloat(SOP_PAINT_BG_IDX, 0, t); }
292  virtual fpreal BGG(fpreal t)
293  { return evalFloat(SOP_PAINT_BG_IDX, 1, t); }
294  virtual fpreal BGB(fpreal t)
295  { return evalFloat(SOP_PAINT_BG_IDX, 2, t); }
296 
297  virtual fpreal SOFTEDGE(fpreal t)
298  { return evalFloat(SOP_PAINT_SOFTEDGE_IDX, 0, t); }
299  virtual void KERNEL(UT_String &str, fpreal t)
300  { evalString(str, SOP_PAINT_KERNEL_IDX, 0, t); }
301  virtual int UPTYPE(fpreal t)
302  { return evalInt(SOP_PAINT_UPTYPE_IDX, 0, t); }
303  virtual fpreal UPX(fpreal t)
304  { return evalFloat(SOP_PAINT_UPVECTOR_IDX, 0, t); }
305  virtual fpreal UPY(fpreal t)
306  { return evalFloat(SOP_PAINT_UPVECTOR_IDX, 1, t); }
307  virtual fpreal UPZ(fpreal t)
308  { return evalFloat(SOP_PAINT_UPVECTOR_IDX, 2, t); }
309 
311  { return evalFloat(SOP_PAINT_PAPER_IDX, 0, t); }
312  virtual fpreal SPLATTER(fpreal t)
313  { return evalFloat(SOP_PAINT_SPLATTER_IDX, 0, t); }
314  virtual void BITMAP(UT_String &str, fpreal t)
315  { evalString(str, SOP_PAINT_BITMAP_IDX, 0, t); }
316  virtual int BITMAPCHAN(fpreal t)
317  { return evalInt(SOP_PAINT_BITMAPCHAN_IDX, 0, t); }
318  virtual fpreal ANGLE(fpreal t)
319  { return evalFloat(SOP_PAINT_ANGLE_IDX, 0, t); }
320  virtual fpreal SQUASH(fpreal t)
321  { return evalFloat(SOP_PAINT_SQUASH_IDX, 0, t); }
322  virtual int DOSTAMPING()
323  { return evalInt(SOP_PAINT_STAMP_IDX, 0, 0); }
324  virtual int WRITEALPHA()
325  { return evalInt(SOP_PAINT_WRITEALPHA_IDX, 0, 0); }
326 
327  virtual int OVERRIDECD()
328  { return evalInt(SOP_PAINT_OVERRIDECD_IDX, 0, 0); }
329  virtual void CDNAME(UT_String &str, fpreal t)
330  { evalString(str, SOP_PAINT_CDNAME_IDX, 0, t); }
331  virtual int OVERRIDEALPHA()
332  { return evalInt(SOP_PAINT_OVERRIDEALPHA_IDX,0,0); }
333  virtual void ALPHANAME(UT_String &str, fpreal t)
334  { evalString(str, SOP_PAINT_ALPHANAME_IDX, 0,t); }
335  virtual int OVERRIDENML() { return 0; }
336  virtual void NMLNAME(UT_String & /*str*/, fpreal /*t*/) {}
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  virtual int DOREFLECTION()
351  { return evalInt(SOP_PAINT_DOREFLECT_IDX,0, 0); }
352  virtual int DOROTATION()
353  { return evalInt(SOP_PAINT_DOROTATION_IDX,0, 0); }
354  virtual int SYMMETRYROT(fpreal t)
355  { return evalInt(SOP_PAINT_SYMROT_IDX,0, t); }
357  { return evalFloat(SOP_PAINT_SYMDIST_IDX,0, t); }
358 
359  virtual int DOUVREFLECTION()
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  virtual int ADDATTRIB()
369  { return evalInt(SOP_PAINT_ADDATTRIB_IDX, 0, 0); }
370  virtual int VISUALIZE()
371  { return myForceVisualize ||
373  virtual fpreal VISLOW(fpreal t)
374  { return evalFloat(SOP_PAINT_VISRANGE_IDX, 0, t); }
375  virtual fpreal VISHIGH(fpreal t)
376  { return evalFloat(SOP_PAINT_VISRANGE_IDX, 1, t); }
377  virtual int VISMODE()
378  { return evalInt(SOP_PAINT_VISMODE_IDX, 0, 0); }
379 
380  virtual int USECONNECTIVITY()
381  { return evalInt(SOP_PAINT_USECONNECTIVITY_IDX, 0, 0); }
382  virtual int USENORMALS()
383  { return evalInt(SOP_PAINT_USENORMALS_IDX, 0, 0); }
384  virtual int USEDEPTH()
385  { return evalInt(SOP_PAINT_USEDEPTH_IDX, 0, 0); }
386  virtual fpreal DEPTH(fpreal t)
387  { return evalFloat(SOP_PAINT_DEPTH_IDX, 0, t); }
388  virtual fpreal HEIGHT(fpreal t)
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  virtual bool hasStrokeChanged(fpreal t);
395  virtual bool hasStyleChanged(fpreal t);
396 
397  // Find if the nib file has changed:
398  virtual bool hasNibFileChanged(fpreal t);
399  virtual bool hasAccumStencilChanged(fpreal t);
400  virtual bool hasNibLookChanged(fpreal t);
401 
402  virtual bool hasVisrangeChanged(fpreal t);
403 };
404 
405 #endif
virtual void NMLNAME(UT_String &, fpreal)
Definition: SOP_Paint.h:336
virtual int DOUVREFLECTION()
Definition: SOP_Paint.h:359
virtual bool updateParmsFlags()
virtual bool hasAccumStencilChanged(fpreal t)=0
virtual fpreal USERZ(fpreal)
Definition: SOP_Paint.h:252
virtual void setHitPoint(int pt, fpreal t)
Definition: SOP_Paint.h:131
virtual fpreal RAYHITW(fpreal t)
Definition: SOP_Paint.h:270
virtual void setVisualization(int state)
Definition: SOP_Paint.h:195
virtual int VISMODE()
Definition: SOP_Paint.h:377
virtual int DOROTATION()
Definition: SOP_Paint.h:352
const GLdouble * v
Definition: glcorearb.h:836
virtual fpreal FGG(fpreal t)
Definition: SOP_Paint.h:286
virtual bool hasStyleChanged(fpreal t)=0
virtual fpreal RAYHITV(fpreal t)
Definition: SOP_Paint.h:268
virtual void forceRecook(bool evensmartcache=true)
fpreal evalFloat(int pi, int vi, fpreal t) const
virtual int OVERRIDECD()
Definition: SOP_Paint.h:327
virtual fpreal SYMMETRYDIRZ(fpreal t)
Definition: SOP_Paint.h:342
virtual void CDNAME(UT_String &str, fpreal t)
Definition: SOP_Paint.h:329
virtual fpreal UPZ(fpreal t)
Definition: SOP_Paint.h:307
virtual int EVENT()
Definition: SOP_Paint.h:278
virtual const char * inputLabel(unsigned idx) const override
virtual fpreal USERY(fpreal)
Definition: SOP_Paint.h:251
virtual int PTHIT(fpreal t)
Definition: SOP_Paint.h:276
virtual fpreal SYMMETRYORIGX(fpreal t)
Definition: SOP_Paint.h:344
virtual fpreal RAYHITY(fpreal t)
Definition: SOP_Paint.h:262
virtual fpreal OPACITYPRESSURE(fpreal t)
Definition: SOP_Paint.h:222
virtual void setHitPressure(fpreal p, fpreal t)
Definition: SOP_Paint.h:141
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:498
virtual fpreal RAYORIENTZ(fpreal t)
Definition: SOP_Paint.h:258
virtual int SHAPE(fpreal t)
Definition: SOP_Paint.h:242
virtual int DOSTAMPING()
Definition: SOP_Paint.h:322
virtual int VISUALIZE()
Definition: SOP_Paint.h:370
struct _cl_event * event
Definition: glcorearb.h:2960
virtual void setHitUVW(fpreal u, fpreal v, fpreal w, fpreal t)
Definition: SOP_Paint.h:135
virtual fpreal SYMMETRYUVANGLE(fpreal t)
Definition: SOP_Paint.h:365
virtual fpreal VISLOW(fpreal t)
Definition: SOP_Paint.h:373
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:502
virtual void setBrushShape(SOP_BrushShape shape)
Definition: SOP_Paint.h:170
virtual void SCRIPT(UT_String &, fpreal)
Definition: SOP_Paint.h:248
virtual bool hasNibFileChanged(fpreal t)=0
virtual void useBackgroundColor(void)
Definition: SOP_Paint.h:182
virtual fpreal PAPERNOISE(fpreal t)
Definition: SOP_Paint.h:310
virtual fpreal SYMMETRYORIGY(fpreal t)
Definition: SOP_Paint.h:346
virtual bool USE_FOREGROUND()=0
virtual void setBrushOp(SOP_BrushOp op)
Definition: SOP_Paint.h:157
virtual void setRayOrigin(const UT_Vector3 &orig, fpreal t)
Definition: SOP_Paint.h:115
virtual fpreal VISHIGH(fpreal t)
Definition: SOP_Paint.h:375
void evalString(UT_String &val, int pi, int vi, fpreal t) const
virtual fpreal RAYHITPRESSURE(fpreal t)
Definition: SOP_Paint.h:272
virtual fpreal UPY(fpreal t)
Definition: SOP_Paint.h:305
virtual fpreal FGB(fpreal t)
Definition: SOP_Paint.h:288
virtual void BITMAP(UT_String &str, fpreal t)
Definition: SOP_Paint.h:314
virtual SOP_BrushOp OP(void)
Definition: SOP_Paint.h:225
virtual fpreal SYMMETRYDIRY(fpreal t)
Definition: SOP_Paint.h:340
virtual fpreal UPX(fpreal t)
Definition: SOP_Paint.h:303
virtual void KERNEL(UT_String &str, fpreal t)
Definition: SOP_Paint.h:299
virtual fpreal SPLATTER(fpreal t)
Definition: SOP_Paint.h:312
virtual fpreal RAWRADIUS(fpreal t)
Definition: SOP_Paint.h:214
virtual int WRITEALPHA()
Definition: SOP_Paint.h:324
virtual fpreal SYMMETRYDIST(fpreal t)
Definition: SOP_Paint.h:356
SOP_BrushOp
Definition: SOP_BrushBase.h:38
virtual int USEDEPTH()
Definition: SOP_Paint.h:384
virtual void doErase()=0
virtual bool USE_FOREGROUND(void)
Definition: SOP_Paint.h:280
virtual int altersColor() const
Definition: SOP_Paint.h:213
virtual fpreal ANGLE(fpreal t)
Definition: SOP_Paint.h:318
virtual int ADDATTRIB()
Definition: SOP_Paint.h:368
GLuint const GLchar * name
Definition: glcorearb.h:785
virtual int AXIS(void)
Definition: SOP_Paint.h:249
virtual int OVERRIDEALPHA()
Definition: SOP_Paint.h:331
virtual void useForegroundColor(void)
Definition: SOP_Paint.h:178
GA_API const UT_StringHolder orient
virtual void setProjectionType(int projtype)
Definition: SOP_Paint.h:174
virtual int OVERRIDENML()
Definition: SOP_Paint.h:335
virtual void setHitPrimitive(int primidx, fpreal t)
Definition: SOP_Paint.h:127
virtual fpreal RAYHITX(fpreal t)
Definition: SOP_Paint.h:260
virtual void setCurrentColor(const UT_Vector3 &cd)
Definition: SOP_Paint.h:187
#define SOP_GDT_GRP_IDX
Definition: SOP_GDT.h:22
virtual int USENORMALS()
Definition: SOP_Paint.h:382
virtual void ALPHANAME(UT_String &str, fpreal t)
Definition: SOP_Paint.h:333
virtual void setAccumulateStencil(bool yesno)
Definition: SOP_Paint.h:111
virtual fpreal RAYHITU(fpreal t)
Definition: SOP_Paint.h:266
virtual int PRIMHIT(fpreal t)
Definition: SOP_Paint.h:274
virtual bool hasVisrangeChanged(fpreal)
virtual fpreal RAYHITZ(fpreal t)
Definition: SOP_Paint.h:264
virtual int altersGeometry() const
Definition: SOP_Paint.h:212
virtual int USECONNECTIVITY()
Definition: SOP_Paint.h:380
SYS_FORCE_INLINE T & y(void)
Definition: UT_Vector3.h:500
double fpreal
Definition: SYS_Types.h:270
virtual bool hasStrokeChanged(fpreal t)=0
virtual int PROJECTIONTYPE(void)
Definition: SOP_Paint.h:238
virtual int SYMMETRYROT(fpreal t)
Definition: SOP_Paint.h:354
void setFloat(int parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING)
void setInt(int parmi, int vectori, fpreal t, exint value)
virtual int ACCUMSTENCIL(void)
Definition: SOP_Paint.h:236
virtual int DOREFLECTION()
Definition: SOP_Paint.h:350
virtual fpreal SYMMETRYORIGZ(fpreal t)
Definition: SOP_Paint.h:348
#define SOP_API
Definition: SOP_API.h:10
virtual fpreal SOFTEDGE(fpreal t)
Definition: SOP_Paint.h:297
virtual int REALTIME(void)
Definition: SOP_Paint.h:240
virtual fpreal RAYORIENTY(fpreal t)
Definition: SOP_Paint.h:256
virtual fpreal SYMMETRYUVORIGV(fpreal t)
Definition: SOP_Paint.h:363
virtual fpreal RAWOPACITY(fpreal t)
Definition: SOP_Paint.h:220
virtual fpreal RAWUVRADIUS(fpreal t)
Definition: SOP_Paint.h:216
GLubyte GLubyte GLubyte GLubyte w
Definition: glcorearb.h:856
virtual fpreal SYMMETRYDIRX(fpreal t)
Definition: SOP_Paint.h:338
virtual fpreal USERX(fpreal)
Definition: SOP_Paint.h:250
virtual fpreal BGG(fpreal t)
Definition: SOP_Paint.h:292
virtual bool hasNibLookChanged(fpreal t)=0
virtual void setUVRadius(fpreal r, fpreal t)
Definition: SOP_Paint.h:149
virtual fpreal RADIUSPRESSURE(fpreal t)
Definition: SOP_Paint.h:218
virtual int MERGEMODE()
Definition: SOP_Paint.h:246
exint evalInt(int pi, int vi, fpreal t) const
virtual fpreal SQUASH(fpreal t)
Definition: SOP_Paint.h:320
SOP_BrushEvent
Definition: SOP_BrushBase.h:30
GLboolean r
Definition: glcorearb.h:1221
virtual fpreal HEIGHT(fpreal t)
Definition: SOP_Paint.h:388
SOP_BrushShape
Definition: SOP_BrushBase.h:62
virtual fpreal BGB(fpreal t)
Definition: SOP_Paint.h:294
virtual fpreal BGR(fpreal t)
Definition: SOP_Paint.h:290
virtual void setRayOrientation(const UT_Vector3 &orient, fpreal t)
Definition: SOP_Paint.h:121
virtual void setBrushEvent(SOP_BrushEvent event)
Definition: SOP_Paint.h:153
virtual fpreal FGR(fpreal t)
Definition: SOP_Paint.h:284
virtual int UPTYPE(fpreal t)
Definition: SOP_Paint.h:301
virtual fpreal RAYORIENTX(fpreal t)
Definition: SOP_Paint.h:254
virtual void setRadius(fpreal r, fpreal t)
Definition: SOP_Paint.h:145
virtual fpreal SYMMETRYUVORIGU(fpreal t)
Definition: SOP_Paint.h:361
virtual int BITMAPCHAN(fpreal t)
Definition: SOP_Paint.h:316
virtual fpreal DEPTH(fpreal t)
Definition: SOP_Paint.h:386