HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GU_BrushNib Class Reference

#include <GU_BrushNib.h>

+ Inheritance diagram for GU_BrushNib:

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 35 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_BrushNibBitmap, and GU_BrushNibSquare.

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 55 of file GU_BrushNib.h.

void GU_BrushNib::getOrientation ( UT_Matrix3 orient) const
inline

Definition at line 86 of file GU_BrushNib.h.

float GU_BrushNib::getSplatter ( const UT_Vector3 pos)
int GU_BrushNib::hasStamping ( ) const
inline

Definition at line 52 of file GU_BrushNib.h.

void GU_BrushNib::setColor ( const UT_Vector3 cd)
inline

Definition at line 66 of file GU_BrushNib.h.

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

Definition at line 57 of file GU_BrushNib.h.

void GU_BrushNib::setOpacity ( float  val)
inline

Definition at line 54 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 79 of file GU_BrushNib.h.

void GU_BrushNib::setStamping ( int  stamp)
inline

Definition at line 64 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 95 of file GU_BrushNib.h.

float GU_BrushNib::myBrushNoise
protected

Definition at line 99 of file GU_BrushNib.h.

UT_Vector3 GU_BrushNib::myColor
protected

Definition at line 101 of file GU_BrushNib.h.

float GU_BrushNib::myDepth
protected

Definition at line 93 of file GU_BrushNib.h.

UT_Vector3 GU_BrushNib::myDir
protected

Definition at line 96 of file GU_BrushNib.h.

float GU_BrushNib::myHeight
protected

Definition at line 94 of file GU_BrushNib.h.

float GU_BrushNib::myInvRadius
protected

Definition at line 90 of file GU_BrushNib.h.

float GU_BrushNib::myInvRadius2
protected

Definition at line 90 of file GU_BrushNib.h.

TS_MetaKernel* GU_BrushNib::myKernel
protected

Definition at line 106 of file GU_BrushNib.h.

float GU_BrushNib::myOpacity
protected

Definition at line 90 of file GU_BrushNib.h.

UT_Matrix3 GU_BrushNib::myOrient
protected

Definition at line 97 of file GU_BrushNib.h.

UT_Vector3 GU_BrushNib::myOrig
protected

Definition at line 96 of file GU_BrushNib.h.

float GU_BrushNib::myPaperNoise
protected

Definition at line 99 of file GU_BrushNib.h.

float GU_BrushNib::myRadius
protected

Definition at line 91 of file GU_BrushNib.h.

float GU_BrushNib::myRadius2
protected

Definition at line 91 of file GU_BrushNib.h.

float GU_BrushNib::mySoftEdge
protected

Definition at line 105 of file GU_BrushNib.h.

float GU_BrushNib::mySquash
protected

Definition at line 95 of file GU_BrushNib.h.

int GU_BrushNib::myStampColor
protected

Definition at line 102 of file GU_BrushNib.h.

UT_Vector3 GU_BrushNib::myUpVector
protected

Definition at line 96 of file GU_BrushNib.h.

bool GU_BrushNib::myUseDepth
protected

Definition at line 92 of file GU_BrushNib.h.


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