HDK_Sample::SOP_BrushHairLen Class Reference

#include <SOP_BrushHairLen.h>

Inheritance diagram for HDK_Sample::SOP_BrushHairLen:

SOP_BrushBase SOP_GDT SOP_Node OP_Network OP_Node OP_Parameters OP_NetworkBoxItem PRM_ParmOwner

List of all members.

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, GEO_Vertex *vtx, const UT_PtrArray< const 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_DetailgetIsectGdp ()
 Public methods needed by MSS:.
virtual int altersGeometry () const
virtual int altersColor () const
 We do attribute changes.
virtual float RAWRADIUS (float t)
virtual float RAWUVRADIUS (float t)
 This gets the raw radius for the UV space.
virtual float RADIUSPRESSURE (float)
 This is how much the HITPRESSURE should affect the RADIUS.
virtual float RAWOPACITY (float)
 The opacity, hardcoded to 1.0f, for a full replace.
virtual float OPACITYPRESSURE (float)
virtual float DEPTH (float t)
virtual float HEIGHT (float 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 (float)
 This returns a SOP_BrushShape. We hardcode to circle.
virtual void setAccumulateStencil (bool)
virtual void setRayOrigin (const UT_Vector3 &orig, float)
virtual void setRayOrientation (const UT_Vector3 &orient, float)
virtual void setHitPrimitive (int primidx, float)
virtual void setHitPoint (int ptidx, float)
virtual void setHitUV (float u, float v, float)
virtual void setHitPressure (float pressure, float)
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 (float r, float t)
 This is used to update the radii from the state:.
virtual void setUVRadius (float r, float t)

Static Public Member Functions

static OP_NodemyConstructor (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 &, float)
 Not used:.
virtual int AXIS ()
 These are used by deformation brush ops:.
virtual float USERX (float)
virtual float USERY (float)
virtual float USERZ (float)
virtual float RAYORIENTX (float)
 These query the current raystate. We read off the cached values...
virtual float RAYORIENTY (float)
virtual float RAYORIENTZ (float)
virtual float RAYHITX (float)
virtual float RAYHITY (float)
virtual float RAYHITZ (float)
virtual float RAYHITU (float)
virtual float RAYHITV (float)
virtual float RAYHITPRESSURE (float)
virtual int PRIMHIT (float)
virtual int PTHIT (float)
virtual int EVENT ()
virtual bool USE_FOREGROUND ()
virtual float FGR (float t)
virtual float FGG (float)
virtual float FGB (float)
virtual float BGR (float t)
virtual float BGG (float)
virtual float BGB (float)
virtual float SOFTEDGE (float)
virtual void KERNEL (UT_String &str, float)
 Which metaball kernel to use as the fall off curve.
virtual int UPTYPE (float)
 How to determine the upvector, unnecessary with circular brushes.
virtual float UPX (float)
virtual float UPY (float)
virtual float UPZ (float)
virtual float PAPERNOISE (float)
 Alpha noise in the paper space.
virtual float SPLATTER (float)
 Alpha noise in the brush space.
virtual void BITMAP (UT_String &, float)
 Name of the bitmap to use if bitmap brush is on, which it isn't.
virtual int BITMAPCHAN (float)
 Which channel of the bitmap brush should be used.
virtual float ANGLE (float)
 More hard coded stuff directly from the Nib tab...
virtual float SQUASH (float)
virtual int DOSTAMPING ()
virtual int WRITEALPHA ()
virtual int OVERRIDECD ()
virtual void CDNAME (UT_String &str, float)
virtual int OVERRIDEALPHA ()
 As WRITEALPHA is off, this is irrelevant:.
virtual void ALPHANAME (UT_String &, float)
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 &, float)
virtual int DOREFLECTION ()
virtual int DOROTATION ()
virtual float SYMMETRYDIRX (float)
virtual float SYMMETRYDIRY (float)
virtual float SYMMETRYDIRZ (float)
virtual float SYMMETRYORIGX (float)
virtual float SYMMETRYORIGY (float)
virtual float SYMMETRYORIGZ (float)
virtual int SYMMETRYROT (float)
virtual float SYMMETRYDIST (float)
virtual int ADDATTRIB ()
virtual int VISUALIZE ()
 This determines if visualization will occur.
virtual int VISTYPE ()
virtual float VISLOW (float)
virtual float VISHIGH (float)
virtual int VISMODE ()
virtual float ZEROWEIGHTCOLOR_R ()
virtual float ZEROWEIGHTCOLOR_G ()
virtual float ZEROWEIGHTCOLOR_B ()
virtual int NORMALIZEWEIGHT ()
virtual int USECAPTURE ()
 Should return true if this brush will affect capture regions.
virtual int CAPTUREIDX (float)
 Returns the capture region to brush for such brushes.
virtual bool hasStrokeChanged (float)
virtual bool hasStyleChanged (float t)
virtual bool hasNibFileChanged (float)
 This determines if the nib file changed. We don't have a nib file.
virtual bool hasNibLookChanged (float)
virtual bool hasAccumStencilChanged (float)
 This returns true if the type of accumulation mode changed.
virtual bool hasCaptureIdxChanged (float)
 This returns true if the capture index has changed.
virtual bool hasVisrangeChanged (float)
 This return strue if the visualization range has changed.
virtual bool wantsCookSelection () const
virtual void doErase ()


Detailed Description

Definition at line 35 of file SOP_BrushHairLen.h.


Constructor & Destructor Documentation

SOP_BrushHairLen::SOP_BrushHairLen ( OP_Network net,
const char *  name,
OP_Operator entry 
)

Examples:
SOP/SOP_BrushHairLen.C, and SOP/SOP_BrushHairLen.h.

Definition at line 110 of file SOP_BrushHairLen.C.

SOP_BrushHairLen::~SOP_BrushHairLen (  )  [virtual]

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 126 of file SOP_BrushHairLen.C.


Member Function Documentation

virtual int HDK_Sample::SOP_BrushHairLen::ACCUMSTENCIL ( void   )  [inline, virtual]

Whether accumulate stencil is currently on. We keep it off.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 279 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::ALPHANAME ( UT_String ,
float   
) [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 74 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::ANGLE ( float   )  [inline, protected, virtual]

More hard coded stuff directly from the Nib tab...

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 141 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::BGB ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 192 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::BGG ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 190 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::BGR ( float  t  )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.C, and SOP/SOP_BrushHairLen.h.

Definition at line 188 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::BITMAP ( UT_String ,
float   
) [inline, protected, virtual]

Name of the bitmap to use if bitmap brush is on, which it isn't.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 220 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::BITMAPCHAN ( float   )  [inline, protected, virtual]

Which channel of the bitmap brush should be used.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 223 of file SOP_BrushHairLen.h.

void SOP_BrushHairLen::brushOpCallback ( GEO_Point pt,
const UT_PtrArray< const GEO_Point * > *  ptneighbour,
GEO_Vertex vtx,
const UT_PtrArray< const 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.

Examples:
SOP/SOP_BrushHairLen.C, and SOP/SOP_BrushHairLen.h.

Definition at line 313 of file SOP_BrushHairLen.C.

virtual int HDK_Sample::SOP_BrushHairLen::CAPTUREIDX ( float   )  [inline, protected, virtual]

Returns the capture region to brush for such brushes.

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 308 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::CDNAME ( UT_String str,
float   
) [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 238 of file SOP_BrushHairLen.h.

OP_ERROR SOP_BrushHairLen::cookMySop ( OP_Context context  )  [protected, virtual]

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.C, and SOP/SOP_BrushHairLen.h.

Definition at line 199 of file SOP_BrushHairLen.C.

virtual float HDK_Sample::SOP_BrushHairLen::DEPTH ( float  t  )  [inline, virtual]

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 97 of file SOP_BrushHairLen.h.

unsigned SOP_BrushHairLen::disableParms ( void   )  [virtual]

Reimplemented from OP_Parameters.

Examples:
SOP/SOP_BrushHairLen.C, and SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.C, and SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 256 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::DOROTATION (  )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 258 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::DOSTAMPING (  )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 230 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::EVENT (  )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 173 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::FGB ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 186 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::FGG ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 184 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::FGR ( float  t  )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.C, and SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.C, and SOP/SOP_BrushHairLen.h.

Definition at line 186 of file SOP_BrushHairLen.C.

virtual bool HDK_Sample::SOP_BrushHairLen::hasAccumStencilChanged ( float   )  [inline, protected, virtual]

This returns true if the type of accumulation mode changed.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 330 of file SOP_BrushHairLen.h.

virtual bool HDK_Sample::SOP_BrushHairLen::hasCaptureIdxChanged ( float   )  [inline, protected, virtual]

This returns true if the capture index has changed.

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 333 of file SOP_BrushHairLen.h.

virtual bool HDK_Sample::SOP_BrushHairLen::hasNibFileChanged ( float   )  [inline, protected, virtual]

This determines if the nib file changed. We don't have a nib file.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 323 of file SOP_BrushHairLen.h.

virtual bool HDK_Sample::SOP_BrushHairLen::hasNibLookChanged ( float   )  [inline, protected, virtual]

This returns true if any nib parameters (such as shape, etc) have changed since the last cook.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 327 of file SOP_BrushHairLen.h.

virtual bool HDK_Sample::SOP_BrushHairLen::hasStrokeChanged ( float   )  [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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 316 of file SOP_BrushHairLen.h.

bool SOP_BrushHairLen::hasStyleChanged ( float  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.

Examples:
SOP/SOP_BrushHairLen.C, and SOP/SOP_BrushHairLen.h.

Definition at line 178 of file SOP_BrushHairLen.C.

virtual bool HDK_Sample::SOP_BrushHairLen::hasVisrangeChanged ( float   )  [inline, protected, virtual]

This return strue if the visualization range has changed.

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 336 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::HEIGHT ( float  t  )  [inline, virtual]

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 99 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::KERNEL ( UT_String str,
float   
) [inline, protected, virtual]

Which metaball kernel to use as the fall off curve.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 133 of file SOP_BrushHairLen.h.

OP_Node * SOP_BrushHairLen::myConstructor ( OP_Network net,
const char *  name,
OP_Operator entry 
) [static]

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 104 of file SOP_BrushHairLen.C.

virtual void HDK_Sample::SOP_BrushHairLen::NMLNAME ( UT_String ,
float   
) [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.C, and SOP/SOP_BrushHairLen.h.

Definition at line 140 of file SOP_BrushHairLen.C.

virtual float HDK_Sample::SOP_BrushHairLen::OPACITYPRESSURE ( float   )  [inline, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 249 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::PAPERNOISE ( float   )  [inline, protected, virtual]

Alpha noise in the paper space.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 246 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::PRIMHIT ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 118 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::PTHIT ( float   )  [inline, protected, virtual]

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 171 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RADIUSPRESSURE ( float   )  [inline, virtual]

This is how much the HITPRESSURE should affect the RADIUS.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 87 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAWOPACITY ( float   )  [inline, virtual]

The opacity, hardcoded to 1.0f, for a full replace.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 90 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAWRADIUS ( float  t  )  [inline, virtual]

This gets the current radius of the brush, unmodulated by the current pressure amount.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 81 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAWUVRADIUS ( float  t  )  [inline, virtual]

This gets the raw radius for the UV space.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 84 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAYHITPRESSURE ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 167 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAYHITU ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 163 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAYHITV ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 165 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAYHITX ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 157 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAYHITY ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 159 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAYHITZ ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 161 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAYORIENTX ( float   )  [inline, protected, virtual]

These query the current raystate. We read off the cached values...

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 151 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAYORIENTY ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 153 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::RAYORIENTZ ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 123 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::SCRIPT ( UT_String ,
float   
) [inline, protected, virtual]

Not used:.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 350 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::setBrushEvent ( SOP_BrushEvent  event  )  [inline, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.C, and SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 380 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::setHitPoint ( int  ptidx,
float   
) [inline, virtual]

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 357 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::setHitPressure ( float  pressure,
float   
) [inline, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 361 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::setHitPrimitive ( int  primidx,
float   
) [inline, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 355 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::setHitUV ( float  u,
float  v,
float   
) [inline, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 373 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::setRadius ( float  r,
float  t 
) [inline, virtual]

This is used to update the radii from the state:.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 386 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::setRayOrientation ( const UT_Vector3 orient,
float   
) [inline, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 353 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::setRayOrigin ( const UT_Vector3 orig,
float   
) [inline, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 351 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::setUVRadius ( float  r,
float  t 
) [inline, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 390 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::SHAPE ( float   )  [inline, virtual]

This returns a SOP_BrushShape. We hardcode to circle.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 126 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::SOFTEDGE ( float   )  [inline, protected, virtual]

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 198 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::SPLATTER ( float   )  [inline, protected, virtual]

Alpha noise in the brush space.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 217 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::SQUASH ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 228 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::SYMMETRYDIRX ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 260 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::SYMMETRYDIRY ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 262 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::SYMMETRYDIRZ ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 264 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::SYMMETRYDIST ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 274 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::SYMMETRYORIGX ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 266 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::SYMMETRYORIGY ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 268 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::SYMMETRYORIGZ ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 270 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::SYMMETRYROT ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 272 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::UPTYPE ( float   )  [inline, protected, virtual]

How to determine the upvector, unnecessary with circular brushes.

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 204 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::UPX ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 206 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::UPY ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 208 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::UPZ ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 180 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::useBackgroundColor ( void   )  [inline, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 102 of file SOP_BrushHairLen.h.

virtual void HDK_Sample::SOP_BrushHairLen::useForegroundColor ( void   )  [inline, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 374 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::USERX ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 143 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::USERY ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 145 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::USERZ ( float   )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 147 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::VISHIGH ( float   )  [inline, protected, virtual]

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 288 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::VISLOW ( float   )  [inline, protected, virtual]

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 286 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::VISMODE (  )  [inline, protected, virtual]

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 290 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::VISTYPE (  )  [inline, protected, virtual]

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

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.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 341 of file SOP_BrushHairLen.h.

virtual int HDK_Sample::SOP_BrushHairLen::WRITEALPHA (  )  [inline, protected, virtual]

Implements SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 232 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::ZEROWEIGHTCOLOR_B (  )  [inline, protected, virtual]

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 296 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::ZEROWEIGHTCOLOR_G (  )  [inline, protected, virtual]

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 294 of file SOP_BrushHairLen.h.

virtual float HDK_Sample::SOP_BrushHairLen::ZEROWEIGHTCOLOR_R (  )  [inline, protected, virtual]

Reimplemented from SOP_BrushBase.

Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 292 of file SOP_BrushHairLen.h.


Member Data Documentation

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()
}
Examples:
SOP/SOP_BrushHairLen.h.

Definition at line 45 of file SOP_BrushHairLen.h.


The documentation for this class was generated from the following files:

Generated on Mon Jan 28 00:49:28 2013 for HDK by  doxygen 1.5.9