#include <SOP_BrushHairLen.h>

Public Member Functions | |
| SOP_BrushHairLen (OP_Network *net, const char *, OP_Operator *entry) | |
| virtual | ~SOP_BrushHairLen () |
| virtual unsigned | disableParms () |
| void | brushOpCallback (GEO_Point *pt, const UT_PtrArray< const GEO_Point * > *ptneighbour, const GEO_Vertex &vtx, const UT_RefArray< GEO_Vertex > *vtxneighbour, GEO_Primitive *vtx_prim, int prim_vtx_idx, float alpha, GEO_Delta *delta) |
| This is the callback triggered when a BRUSHOP_CALLBACK is used:. | |
| const GU_Detail * | getIsectGdp () |
| Public methods needed by MSS:. | |
| virtual int | altersGeometry () const |
| virtual int | altersColor () const |
| We do attribute changes. | |
| virtual fpreal | RAWRADIUS (fpreal t) |
| virtual fpreal | RAWUVRADIUS (fpreal t) |
| This gets the raw radius for the UV space. | |
| virtual fpreal | RADIUSPRESSURE (fpreal) |
| This is how much the HITPRESSURE should affect the RADIUS. | |
| virtual fpreal | RAWOPACITY (fpreal) |
| The opacity, hardcoded to 1.0f, for a full replace. | |
| virtual fpreal | OPACITYPRESSURE (fpreal) |
| virtual fpreal | DEPTH (fpreal t) |
| virtual fpreal | HEIGHT (fpreal t) |
| virtual int | USEDEPTH () |
| Whether to use depth clipping at all. | |
| virtual int | USECONNECTIVITY () |
| virtual SOP_BrushOp | OP () |
| virtual int | ACCUMSTENCIL () |
| Whether accumulate stencil is currently on. We keep it off. | |
| virtual int | PROJECTIONTYPE () |
| virtual int | REALTIME () |
| virtual int | SHAPE (fpreal) |
| This returns a SOP_BrushShape. We hardcode to circle. | |
| virtual void | setAccumulateStencil (bool) |
| virtual void | setRayOrigin (const UT_Vector3 &orig, fpreal) |
| virtual void | setRayOrientation (const UT_Vector3 &orient, fpreal) |
| virtual void | setHitPrimitive (int primidx, fpreal) |
| virtual void | setHitPoint (int ptidx, fpreal) |
| virtual void | setHitUV (fpreal u, fpreal v, fpreal) |
| virtual void | setHitPressure (fpreal pressure, fpreal) |
| virtual void | setBrushEvent (SOP_BrushEvent event) |
| virtual void | setBrushOp (SOP_BrushOp op) |
| virtual void | setBrushShape (SOP_BrushShape) |
| virtual void | setProjectionType (int) |
| virtual void | useForegroundColor () |
| virtual void | useBackgroundColor () |
| virtual void | setCurrentColor (const UT_Vector3 &cd) |
| virtual void | setRadius (fpreal r, fpreal t) |
| This is used to update the radii from the state:. | |
| virtual void | setUVRadius (fpreal r, fpreal t) |
Static Public Member Functions | |
| static OP_Node * | myConstructor (OP_Network *net, const char *name, OP_Operator *entry) |
Static Public Attributes | |
| static PRM_Template | myTemplateList [] |
Protected Member Functions | |
| virtual OP_ERROR | cookMySop (OP_Context &context) |
| virtual int | MERGEMODE () |
| Protected methods needed by SOP_BrushBase:. | |
| virtual void | SCRIPT (UT_String &, fpreal) |
| Not used:. | |
| virtual int | AXIS () |
| These are used by deformation brush ops:. | |
| virtual fpreal | USERX (fpreal) |
| virtual fpreal | USERY (fpreal) |
| virtual fpreal | USERZ (fpreal) |
| virtual fpreal | RAYORIENTX (fpreal) |
| These query the current raystate. We read off the cached values... | |
| virtual fpreal | RAYORIENTY (fpreal) |
| virtual fpreal | RAYORIENTZ (fpreal) |
| virtual fpreal | RAYHITX (fpreal) |
| virtual fpreal | RAYHITY (fpreal) |
| virtual fpreal | RAYHITZ (fpreal) |
| virtual fpreal | RAYHITU (fpreal) |
| virtual fpreal | RAYHITV (fpreal) |
| virtual fpreal | RAYHITPRESSURE (fpreal) |
| virtual int | PRIMHIT (fpreal) |
| virtual int | PTHIT (fpreal) |
| virtual int | EVENT () |
| virtual bool | USE_FOREGROUND () |
| virtual fpreal | FGR (fpreal t) |
| virtual fpreal | FGG (fpreal) |
| virtual fpreal | FGB (fpreal) |
| virtual fpreal | BGR (fpreal t) |
| virtual fpreal | BGG (fpreal) |
| virtual fpreal | BGB (fpreal) |
| virtual fpreal | SOFTEDGE (fpreal) |
| virtual void | KERNEL (UT_String &str, fpreal) |
| Which metaball kernel to use as the fall off curve. | |
| virtual int | UPTYPE (fpreal) |
| How to determine the upvector, unnecessary with circular brushes. | |
| virtual fpreal | UPX (fpreal) |
| virtual fpreal | UPY (fpreal) |
| virtual fpreal | UPZ (fpreal) |
| virtual fpreal | PAPERNOISE (fpreal) |
| Alpha noise in the paper space. | |
| virtual fpreal | SPLATTER (fpreal) |
| Alpha noise in the brush space. | |
| virtual void | BITMAP (UT_String &, fpreal) |
| Name of the bitmap to use if bitmap brush is on, which it isn't. | |
| virtual int | BITMAPCHAN (fpreal) |
| Which channel of the bitmap brush should be used. | |
| virtual fpreal | ANGLE (fpreal) |
| More hard coded stuff directly from the Nib tab... | |
| virtual fpreal | SQUASH (fpreal) |
| virtual int | DOSTAMPING () |
| virtual int | WRITEALPHA () |
| virtual int | OVERRIDECD () |
| virtual void | CDNAME (UT_String &str, fpreal) |
| virtual int | OVERRIDEALPHA () |
| As WRITEALPHA is off, this is irrelevant:. | |
| virtual void | ALPHANAME (UT_String &, fpreal) |
| virtual int | PRESERVENML () |
| For Comb style brushes, this preserves the normal length. | |
| virtual int | OVERRIDENML () |
| For Comb style brushes this allows overriding the normal attribute. | |
| virtual void | NMLNAME (UT_String &, fpreal) |
| virtual int | DOREFLECTION () |
| virtual int | DOROTATION () |
| virtual fpreal | SYMMETRYDIRX (fpreal) |
| virtual fpreal | SYMMETRYDIRY (fpreal) |
| virtual fpreal | SYMMETRYDIRZ (fpreal) |
| virtual fpreal | SYMMETRYORIGX (fpreal) |
| virtual fpreal | SYMMETRYORIGY (fpreal) |
| virtual fpreal | SYMMETRYORIGZ (fpreal) |
| virtual int | SYMMETRYROT (fpreal) |
| virtual fpreal | SYMMETRYDIST (fpreal) |
| virtual int | ADDATTRIB () |
| virtual int | VISUALIZE () |
| This determines if visualization will occur. | |
| virtual int | VISTYPE () |
| virtual fpreal | VISLOW (fpreal) |
| virtual fpreal | VISHIGH (fpreal) |
| virtual int | VISMODE () |
| virtual fpreal | ZEROWEIGHTCOLOR_R () |
| virtual fpreal | ZEROWEIGHTCOLOR_G () |
| virtual fpreal | ZEROWEIGHTCOLOR_B () |
| virtual int | NORMALIZEWEIGHT () |
| virtual int | USECAPTURE () |
| Should return true if this brush will affect capture regions. | |
| virtual int | CAPTUREIDX (fpreal) |
| Returns the capture region to brush for such brushes. | |
| virtual bool | hasStrokeChanged (fpreal) |
| virtual bool | hasStyleChanged (fpreal t) |
| virtual bool | hasNibFileChanged (fpreal) |
| This determines if the nib file changed. We don't have a nib file. | |
| virtual bool | hasNibLookChanged (fpreal) |
| virtual bool | hasAccumStencilChanged (fpreal) |
| This returns true if the type of accumulation mode changed. | |
| virtual bool | hasCaptureIdxChanged (fpreal) |
| This returns true if the capture index has changed. | |
| virtual bool | hasVisrangeChanged (fpreal) |
| This return strue if the visualization range has changed. | |
| virtual bool | wantsCookSelection () const |
| virtual void | doErase () |
Definition at line 35 of file SOP_BrushHairLen.h.
| SOP_BrushHairLen::SOP_BrushHairLen | ( | OP_Network * | net, | |
| const char * | name, | |||
| OP_Operator * | entry | |||
| ) |
Definition at line 110 of file SOP_BrushHairLen.C.
| SOP_BrushHairLen::~SOP_BrushHairLen | ( | ) | [virtual] |
| virtual int HDK_Sample::SOP_BrushHairLen::ACCUMSTENCIL | ( | void | ) | [inline, virtual] |
Whether accumulate stencil is currently on. We keep it off.
Implements SOP_BrushBase.
Definition at line 114 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::ADDATTRIB | ( | ) | [inline, protected, virtual] |
This determines if the Cd or Normal should be auto-added. We have it off as we add it by hand in our cook.
Implements SOP_BrushBase.
Definition at line 279 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::ALPHANAME | ( | UT_String & | , | |
| fpreal | ||||
| ) | [inline, protected, virtual] |
Implements SOP_BrushBase.
Definition at line 243 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::altersColor | ( | ) | const [inline, virtual] |
We do attribute changes.
Implements SOP_BrushBase.
Definition at line 77 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::altersGeometry | ( | ) | const [inline, virtual] |
If the action of the brush will change point positions, we should set this to 1. We create geometry, but leave point positions untouched.
Implements SOP_BrushBase.
Definition at line 74 of file SOP_BrushHairLen.h.
More hard coded stuff directly from the Nib tab...
Implements SOP_BrushBase.
Definition at line 226 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::AXIS | ( | void | ) | [inline, protected, virtual] |
These are used by deformation brush ops:.
Implements SOP_BrushBase.
Definition at line 141 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 192 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 190 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 188 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::BITMAP | ( | UT_String & | , | |
| fpreal | ||||
| ) | [inline, protected, virtual] |
Name of the bitmap to use if bitmap brush is on, which it isn't.
Implements SOP_BrushBase.
Definition at line 220 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::BITMAPCHAN | ( | fpreal | ) | [inline, protected, virtual] |
Which channel of the bitmap brush should be used.
Implements SOP_BrushBase.
Definition at line 223 of file SOP_BrushHairLen.h.
| void SOP_BrushHairLen::brushOpCallback | ( | GEO_Point * | pt, | |
| const UT_PtrArray< const GEO_Point * > * | ptneighbour, | |||
| const GEO_Vertex & | vtx, | |||
| const UT_RefArray< GEO_Vertex > * | vtxneighbour, | |||
| GEO_Primitive * | vtx_prim, | |||
| int | prim_vtx_idx, | |||
| float | alpha, | |||
| GEO_Delta * | delta | |||
| ) | [virtual] |
This is the callback triggered when a BRUSHOP_CALLBACK is used:.
Reimplemented from SOP_BrushBase.
Definition at line 309 of file SOP_BrushHairLen.C.
| virtual int HDK_Sample::SOP_BrushHairLen::CAPTUREIDX | ( | fpreal | ) | [inline, protected, virtual] |
Returns the capture region to brush for such brushes.
Reimplemented from SOP_BrushBase.
Definition at line 308 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::CDNAME | ( | UT_String & | str, | |
| fpreal | ||||
| ) | [inline, protected, virtual] |
Implements SOP_BrushBase.
Definition at line 238 of file SOP_BrushHairLen.h.
| OP_ERROR SOP_BrushHairLen::cookMySop | ( | OP_Context & | context | ) | [protected, virtual] |
Reimplemented from SOP_BrushBase.
Definition at line 199 of file SOP_BrushHairLen.C.
This is how far along the brush axis it will be able to paint. We tie it directly to the raidus here.
Reimplemented from SOP_BrushBase.
Definition at line 97 of file SOP_BrushHairLen.h.
| unsigned SOP_BrushHairLen::disableParms | ( | void | ) | [virtual] |
Reimplemented from OP_Parameters.
Definition at line 132 of file SOP_BrushHairLen.C.
| void SOP_BrushHairLen::doErase | ( | ) | [protected, virtual] |
This method handles the erase callback relevant to this type of brush.
Implements SOP_BrushBase.
Definition at line 169 of file SOP_BrushHairLen.C.
| virtual int HDK_Sample::SOP_BrushHairLen::DOREFLECTION | ( | ) | [inline, protected, virtual] |
These methods are used to get the current symmetry operations that are enabled with the brush. We don't use any of them here.
Implements SOP_BrushBase.
Definition at line 256 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::DOROTATION | ( | ) | [inline, protected, virtual] |
Implements SOP_BrushBase.
Definition at line 258 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::DOSTAMPING | ( | ) | [inline, protected, virtual] |
Implements SOP_BrushBase.
Definition at line 230 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::EVENT | ( | ) | [inline, protected, virtual] |
Implements SOP_BrushBase.
Definition at line 173 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 186 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 184 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 182 of file SOP_BrushHairLen.h.
| const GU_Detail * SOP_BrushHairLen::getIsectGdp | ( | ) | [virtual] |
Public methods needed by MSS:.
These are the many & various methods used by BrushBase to determine the current brush status. We can either hook them up to parameters (via evalFloat) or hard code them. In this case we have hard coded most. Finds the geometry to do the intersection with.
Reimplemented from SOP_BrushBase.
Definition at line 186 of file SOP_BrushHairLen.C.
| virtual bool HDK_Sample::SOP_BrushHairLen::hasAccumStencilChanged | ( | fpreal | ) | [inline, protected, virtual] |
This returns true if the type of accumulation mode changed.
Implements SOP_BrushBase.
Definition at line 330 of file SOP_BrushHairLen.h.
| virtual bool HDK_Sample::SOP_BrushHairLen::hasCaptureIdxChanged | ( | fpreal | ) | [inline, protected, virtual] |
This returns true if the capture index has changed.
Reimplemented from SOP_BrushBase.
Definition at line 333 of file SOP_BrushHairLen.h.
| virtual bool HDK_Sample::SOP_BrushHairLen::hasNibFileChanged | ( | fpreal | ) | [inline, protected, virtual] |
This determines if the nib file changed. We don't have a nib file.
Implements SOP_BrushBase.
Definition at line 323 of file SOP_BrushHairLen.h.
| virtual bool HDK_Sample::SOP_BrushHairLen::hasNibLookChanged | ( | fpreal | ) | [inline, protected, virtual] |
This returns true if any nib parameters (such as shape, etc) have changed since the last cook.
Implements SOP_BrushBase.
Definition at line 327 of file SOP_BrushHairLen.h.
| virtual bool HDK_Sample::SOP_BrushHairLen::hasStrokeChanged | ( | fpreal | ) | [inline, protected, virtual] |
These determine if the relevant parameters have changed. They are often used to determine when to invalidate internal caches. hasStrokeChanged should return true if any of the setHit* were called, as it will cause a new dab to be applied.
Implements SOP_BrushBase.
Definition at line 316 of file SOP_BrushHairLen.h.
| bool SOP_BrushHairLen::hasStyleChanged | ( | fpreal | t | ) | [protected, virtual] |
This should return true if the style of the brush changed, specifically the foreground or background colours. We test this trhough isParmDirty in the C code.
Implements SOP_BrushBase.
Definition at line 178 of file SOP_BrushHairLen.C.
| virtual bool HDK_Sample::SOP_BrushHairLen::hasVisrangeChanged | ( | fpreal | ) | [inline, protected, virtual] |
This return strue if the visualization range has changed.
Reimplemented from SOP_BrushBase.
Definition at line 336 of file SOP_BrushHairLen.h.
Reimplemented from SOP_BrushBase.
Definition at line 99 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::KERNEL | ( | UT_String & | str, | |
| fpreal | ||||
| ) | [inline, protected, virtual] |
Which metaball kernel to use as the fall off curve.
Implements SOP_BrushBase.
Definition at line 201 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::MERGEMODE | ( | ) | [inline, protected, virtual] |
Protected methods needed by SOP_BrushBase:.
This returns a GU_BrushMergeMode, defined in GU_Brush.h We just use the standard replace.
Implements SOP_BrushBase.
Definition at line 133 of file SOP_BrushHairLen.h.
| OP_Node * SOP_BrushHairLen::myConstructor | ( | OP_Network * | net, | |
| const char * | name, | |||
| OP_Operator * | entry | |||
| ) | [static] |
| virtual void HDK_Sample::SOP_BrushHairLen::NMLNAME | ( | UT_String & | , | |
| fpreal | ||||
| ) | [inline, protected, virtual] |
Implements SOP_BrushBase.
Definition at line 251 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::NORMALIZEWEIGHT | ( | ) | [inline, protected, virtual] |
This is used by capture brushes to determine if they should normalize the weights.
Reimplemented from SOP_BrushBase.
Definition at line 301 of file SOP_BrushHairLen.h.
| SOP_BrushOp SOP_BrushHairLen::OP | ( | void | ) | [virtual] |
This needs to map our OP_Menu into SOP_BrushOp. We leave this to the C code.
Implements SOP_BrushBase.
Definition at line 140 of file SOP_BrushHairLen.C.
Implements SOP_BrushBase.
Definition at line 92 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::OVERRIDEALPHA | ( | ) | [inline, protected, virtual] |
As WRITEALPHA is off, this is irrelevant:.
Implements SOP_BrushBase.
Definition at line 241 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::OVERRIDECD | ( | ) | [inline, protected, virtual] |
We explicitly override these parameters as we want the brush to automatically edit our "hairlen" point attribute.
Implements SOP_BrushBase.
Definition at line 236 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::OVERRIDENML | ( | ) | [inline, protected, virtual] |
For Comb style brushes this allows overriding the normal attribute.
Implements SOP_BrushBase.
Definition at line 249 of file SOP_BrushHairLen.h.
Alpha noise in the paper space.
Implements SOP_BrushBase.
Definition at line 214 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::PRESERVENML | ( | ) | [inline, protected, virtual] |
For Comb style brushes, this preserves the normal length.
Reimplemented from SOP_BrushBase.
Definition at line 246 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::PRIMHIT | ( | fpreal | ) | [inline, protected, virtual] |
Implements SOP_BrushBase.
Definition at line 169 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::PROJECTIONTYPE | ( | void | ) | [inline, virtual] |
Projection Type 1 is orient to surface, 0 is to use it flat on. We hard code it to flat on.
Implements SOP_BrushBase.
Definition at line 118 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::PTHIT | ( | fpreal | ) | [inline, protected, virtual] |
Reimplemented from SOP_BrushBase.
Definition at line 171 of file SOP_BrushHairLen.h.
This is how much the HITPRESSURE should affect the RADIUS.
Implements SOP_BrushBase.
Definition at line 87 of file SOP_BrushHairLen.h.
The opacity, hardcoded to 1.0f, for a full replace.
Implements SOP_BrushBase.
Definition at line 90 of file SOP_BrushHairLen.h.
This gets the current radius of the brush, unmodulated by the current pressure amount.
Implements SOP_BrushBase.
Definition at line 81 of file SOP_BrushHairLen.h.
This gets the raw radius for the UV space.
Implements SOP_BrushBase.
Definition at line 84 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 167 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 163 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 165 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 157 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 159 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 161 of file SOP_BrushHairLen.h.
These query the current raystate. We read off the cached values...
Implements SOP_BrushBase.
Definition at line 151 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 153 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 155 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::REALTIME | ( | void | ) | [inline, virtual] |
In realtime mode, all changes are applied immediately to the gdp, rather than being stored in the CurrentDelta during a brush stroke. Some types of brushing require this behaviour implicitly.
Implements SOP_BrushBase.
Definition at line 123 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::SCRIPT | ( | UT_String & | , | |
| fpreal | ||||
| ) | [inline, protected, virtual] |
Not used:.
Implements SOP_BrushBase.
Definition at line 137 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::setAccumulateStencil | ( | bool | ) | [inline, virtual] |
public methods used by MSS level to write to this level: The usual brush ops (such as Paint, etc) will set parameters with these values. We just cache them locally here. We are locking off accumulate stencil (ACCUMSTENCIL) so can ignore attempts to turn it on.
Implements SOP_BrushBase.
Definition at line 350 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::setBrushEvent | ( | SOP_BrushEvent | event | ) | [inline, virtual] |
Implements SOP_BrushBase.
Definition at line 363 of file SOP_BrushHairLen.h.
| void SOP_BrushHairLen::setBrushOp | ( | SOP_BrushOp | op | ) | [virtual] |
This one must map from SOP_BrushOp into our own op menu. Thus it is left to the C file.
Implements SOP_BrushBase.
Definition at line 153 of file SOP_BrushHairLen.C.
| virtual void HDK_Sample::SOP_BrushHairLen::setBrushShape | ( | SOP_BrushShape | ) | [inline, virtual] |
As we are always returning CIRCLE for SHAPE(), we ignore requests to change the brush shape.
Implements SOP_BrushBase.
Definition at line 370 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::setCurrentColor | ( | const UT_Vector3 & | cd | ) | [inline, virtual] |
This is used by the eyedropper to write into the current colour field.
Reimplemented from SOP_BrushBase.
Definition at line 380 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::setHitPoint | ( | int | ptidx, | |
| fpreal | ||||
| ) | [inline, virtual] |
Reimplemented from SOP_BrushBase.
Definition at line 357 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::setHitPressure | ( | fpreal | pressure, | |
| fpreal | ||||
| ) | [inline, virtual] |
Implements SOP_BrushBase.
Definition at line 361 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::setHitPrimitive | ( | int | primidx, | |
| fpreal | ||||
| ) | [inline, virtual] |
Implements SOP_BrushBase.
Definition at line 355 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::setHitUV | ( | fpreal | u, | |
| fpreal | v, | |||
| fpreal | ||||
| ) | [inline, virtual] |
Implements SOP_BrushBase.
Definition at line 359 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::setProjectionType | ( | int | ) | [inline, virtual] |
As we are locking projection type to not orient to surface, we can ignore these change requests (see PROJECTIONTYPE)
Implements SOP_BrushBase.
Definition at line 373 of file SOP_BrushHairLen.h.
This is used to update the radii from the state:.
Implements SOP_BrushBase.
Definition at line 386 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::setRayOrientation | ( | const UT_Vector3 & | orient, | |
| fpreal | ||||
| ) | [inline, virtual] |
Implements SOP_BrushBase.
Definition at line 353 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::setRayOrigin | ( | const UT_Vector3 & | orig, | |
| fpreal | ||||
| ) | [inline, virtual] |
Implements SOP_BrushBase.
Definition at line 351 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 390 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::SHAPE | ( | fpreal | ) | [inline, virtual] |
This returns a SOP_BrushShape. We hardcode to circle.
Implements SOP_BrushBase.
Definition at line 126 of file SOP_BrushHairLen.h.
These control the shape of the nib. We have hard coded most of them... What percentage of the radius to devote to the fall off curve.
Implements SOP_BrushBase.
Definition at line 198 of file SOP_BrushHairLen.h.
Alpha noise in the brush space.
Implements SOP_BrushBase.
Definition at line 217 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 228 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 260 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 262 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 264 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 274 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 266 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 268 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 270 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::SYMMETRYROT | ( | fpreal | ) | [inline, protected, virtual] |
Implements SOP_BrushBase.
Definition at line 272 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::UPTYPE | ( | fpreal | ) | [inline, protected, virtual] |
How to determine the upvector, unnecessary with circular brushes.
Implements SOP_BrushBase.
Definition at line 204 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 206 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 208 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 210 of file SOP_BrushHairLen.h.
| virtual bool HDK_Sample::SOP_BrushHairLen::USE_FOREGROUND | ( | void | ) | [inline, protected, virtual] |
These query the current "colours" of the brush... F is for foreground, B, for background. Up to a 3 vector is possible in the order R, G, B. If USE_FOREGROUND is true, the F will be used, otherwise B.
Implements SOP_BrushBase.
Definition at line 180 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::useBackgroundColor | ( | void | ) | [inline, virtual] |
Implements SOP_BrushBase.
Definition at line 376 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::USECAPTURE | ( | ) | [inline, protected, virtual] |
Should return true if this brush will affect capture regions.
Reimplemented from SOP_BrushBase.
Definition at line 305 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::USECONNECTIVITY | ( | ) | [inline, virtual] |
Whether to not paint across unconnected seams. We are using depth clipping in this tool, so have it off.
Reimplemented from SOP_BrushBase.
Definition at line 106 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::USEDEPTH | ( | ) | [inline, virtual] |
Whether to use depth clipping at all.
Reimplemented from SOP_BrushBase.
Definition at line 102 of file SOP_BrushHairLen.h.
| virtual void HDK_Sample::SOP_BrushHairLen::useForegroundColor | ( | void | ) | [inline, virtual] |
Implements SOP_BrushBase.
Definition at line 374 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 143 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 145 of file SOP_BrushHairLen.h.
Implements SOP_BrushBase.
Definition at line 147 of file SOP_BrushHairLen.h.
Reimplemented from SOP_BrushBase.
Definition at line 288 of file SOP_BrushHairLen.h.
Reimplemented from SOP_BrushBase.
Definition at line 286 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::VISMODE | ( | ) | [inline, protected, virtual] |
Reimplemented from SOP_BrushBase.
Definition at line 290 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::VISTYPE | ( | ) | [inline, protected, virtual] |
Reimplemented from SOP_BrushBase.
Definition at line 284 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::VISUALIZE | ( | void | ) | [inline, protected, virtual] |
This determines if visualization will occur.
Reimplemented from SOP_BrushBase.
Definition at line 282 of file SOP_BrushHairLen.h.
| virtual bool HDK_Sample::SOP_BrushHairLen::wantsCookSelection | ( | void | ) | const [inline, protected, virtual] |
If this returns true, the selection will be cooked as the group. We don't want that, so return false.
Reimplemented from SOP_BrushBase.
Definition at line 341 of file SOP_BrushHairLen.h.
| virtual int HDK_Sample::SOP_BrushHairLen::WRITEALPHA | ( | ) | [inline, protected, virtual] |
Implements SOP_BrushBase.
Definition at line 232 of file SOP_BrushHairLen.h.
| virtual fpreal HDK_Sample::SOP_BrushHairLen::ZEROWEIGHTCOLOR_B | ( | ) | [inline, protected, virtual] |
Reimplemented from SOP_BrushBase.
Definition at line 296 of file SOP_BrushHairLen.h.
| virtual fpreal HDK_Sample::SOP_BrushHairLen::ZEROWEIGHTCOLOR_G | ( | ) | [inline, protected, virtual] |
Reimplemented from SOP_BrushBase.
Definition at line 294 of file SOP_BrushHairLen.h.
| virtual fpreal HDK_Sample::SOP_BrushHairLen::ZEROWEIGHTCOLOR_R | ( | ) | [inline, protected, virtual] |
Reimplemented from SOP_BrushBase.
Definition at line 292 of file SOP_BrushHairLen.h.
Initial value:
{
PRM_Template(PRM_STRING, 1, &sop_names[0], 0, &SOP_Node::primGroupMenu),
PRM_Template((PRM_Type) PRM_ORD,
PRM_Template::PRM_EXPORT_MAX,
1, &sop_names[1], 0, &sopOpMenu),
PRM_Template(PRM_FLT_J, PRM_Template::PRM_EXPORT_TBX,
1, &sop_names[2], PRMoneDefaults),
PRM_Template(PRM_FLT_J, PRM_Template::PRM_EXPORT_TBX,
1, &sop_names[3], PRMzeroDefaults),
PRM_Template(PRM_FLT_J, PRM_Template::PRM_EXPORT_TBX,
1, &sop_names[4], PRMpointOneDefaults),
PRM_Template(PRM_FLT_J, PRM_Template::PRM_EXPORT_TBX,
1, &sop_names[5], PRMpointOneDefaults),
PRM_Template()
}
Definition at line 45 of file SOP_BrushHairLen.h.
1.5.9