GU_BrushNib Class Reference

#include <GU_BrushNib.h>

Inheritance diagram for GU_BrushNib:

GU_BrushNibBitmap GU_BrushNibSquare

List of all members.

Public Member Functions

 GU_BrushNib ()
virtual ~GU_BrushNib ()
bool testDepth (const UT_Vector3 &pos, float &depth) const
virtual float getAlpha (const UT_Vector3 &pos)
virtual float getAlphaColor (const UT_Vector3 &pos, UT_Vector3 &cd)
int hasStamping () const
void setOpacity (float val)
float getOpacity () const
void setDepth (bool usedepth, float depth, float height)
void setStamping (int stamp)
void setColor (const UT_Vector3 &cd)
void setOrientation (const UT_Vector3 &orig, const UT_Vector3 &dir, const UT_Vector3 &upvector, float rad, float angle, float squash)
void setSoftEdge (float softedge, TS_MetaKernel *kernel)
void toBrushSpace (UT_Vector3 &pos)
float getBrushDist2 (const UT_Vector3 &pos)
void setSplatter (float brush, float paper)
float getSplatter (const UT_Vector3 &pos)
void getOrientation (UT_Matrix3 &orient) const

Protected Attributes

float myOpacity
float myInvRadius
float myInvRadius2
float myRadius
float myRadius2
bool myUseDepth
float myDepth
float myHeight
float myAngle
float mySquash
UT_Vector3 myOrig
UT_Vector3 myDir
UT_Vector3 myUpVector
UT_Matrix3 myOrient
float myPaperNoise
float myBrushNoise
UT_Vector3 myColor
int myStampColor
float mySoftEdge
TS_MetaKernelmyKernel


Detailed Description

Definition at line 42 of file GU_BrushNib.h.


Constructor & Destructor Documentation

GU_BrushNib::GU_BrushNib (  ) 

virtual GU_BrushNib::~GU_BrushNib (  )  [virtual]


Member Function Documentation

virtual float GU_BrushNib::getAlpha ( const UT_Vector3 pos  )  [virtual]

Reimplemented in GU_BrushNibSquare, and GU_BrushNibBitmap.

virtual float GU_BrushNib::getAlphaColor ( const UT_Vector3 pos,
UT_Vector3 cd 
) [virtual]

Reimplemented in GU_BrushNibBitmap.

float GU_BrushNib::getBrushDist2 ( const UT_Vector3 pos  ) 

float GU_BrushNib::getOpacity (  )  const [inline]

Definition at line 62 of file GU_BrushNib.h.

void GU_BrushNib::getOrientation ( UT_Matrix3 orient  )  const [inline]

Definition at line 93 of file GU_BrushNib.h.

float GU_BrushNib::getSplatter ( const UT_Vector3 pos  ) 

int GU_BrushNib::hasStamping (  )  const [inline]

Definition at line 59 of file GU_BrushNib.h.

void GU_BrushNib::setColor ( const UT_Vector3 cd  )  [inline]

Definition at line 73 of file GU_BrushNib.h.

void GU_BrushNib::setDepth ( bool  usedepth,
float  depth,
float  height 
) [inline]

Definition at line 64 of file GU_BrushNib.h.

void GU_BrushNib::setOpacity ( float  val  )  [inline]

Definition at line 61 of file GU_BrushNib.h.

void GU_BrushNib::setOrientation ( const UT_Vector3 orig,
const UT_Vector3 dir,
const UT_Vector3 upvector,
float  rad,
float  angle,
float  squash 
)

void GU_BrushNib::setSoftEdge ( float  softedge,
TS_MetaKernel kernel 
)

void GU_BrushNib::setSplatter ( float  brush,
float  paper 
) [inline]

Definition at line 86 of file GU_BrushNib.h.

void GU_BrushNib::setStamping ( int  stamp  )  [inline]

Definition at line 71 of file GU_BrushNib.h.

bool GU_BrushNib::testDepth ( const UT_Vector3 pos,
float &  depth 
) const

void GU_BrushNib::toBrushSpace ( UT_Vector3 pos  ) 


Member Data Documentation

float GU_BrushNib::myAngle [protected]

Definition at line 102 of file GU_BrushNib.h.

float GU_BrushNib::myBrushNoise [protected]

Definition at line 106 of file GU_BrushNib.h.

Definition at line 108 of file GU_BrushNib.h.

float GU_BrushNib::myDepth [protected]

Definition at line 100 of file GU_BrushNib.h.

Definition at line 103 of file GU_BrushNib.h.

float GU_BrushNib::myHeight [protected]

Definition at line 101 of file GU_BrushNib.h.

float GU_BrushNib::myInvRadius [protected]

Definition at line 97 of file GU_BrushNib.h.

float GU_BrushNib::myInvRadius2 [protected]

Definition at line 97 of file GU_BrushNib.h.

Definition at line 113 of file GU_BrushNib.h.

float GU_BrushNib::myOpacity [protected]

Definition at line 97 of file GU_BrushNib.h.

Definition at line 104 of file GU_BrushNib.h.

Definition at line 103 of file GU_BrushNib.h.

float GU_BrushNib::myPaperNoise [protected]

Definition at line 106 of file GU_BrushNib.h.

float GU_BrushNib::myRadius [protected]

Definition at line 98 of file GU_BrushNib.h.

float GU_BrushNib::myRadius2 [protected]

Definition at line 98 of file GU_BrushNib.h.

float GU_BrushNib::mySoftEdge [protected]

Definition at line 112 of file GU_BrushNib.h.

float GU_BrushNib::mySquash [protected]

Definition at line 102 of file GU_BrushNib.h.

int GU_BrushNib::myStampColor [protected]

Definition at line 109 of file GU_BrushNib.h.

Definition at line 103 of file GU_BrushNib.h.

bool GU_BrushNib::myUseDepth [protected]

Definition at line 99 of file GU_BrushNib.h.


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

Generated on Fri May 25 00:10:28 2012 for HDK by  doxygen 1.5.9