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

#include <GU_BrushNib.h>

+ Inheritance diagram for GU_BrushNibBitmap:

Public Member Functions

 GU_BrushNibBitmap ()
 
 ~GU_BrushNibBitmap () override
 
float getAlphaColor (const UT_Vector3 &pos, UT_Vector3 &cd) override
 
void setRaster (TIL_TextureMap *raster)
 
void setRasterChan (GU_BrushBitmapChan chanidx)
 
float getAlpha (const UT_Vector3 &pos) override
 
- Public Member Functions inherited from GU_BrushNib
 GU_BrushNib ()
 
virtual ~GU_BrushNib ()
 
bool testDepth (const UT_Vector3 &pos, float &depth) const
 
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 Member Functions

float getAlphaFromColor (const UT_Vector4 &clr) const
 

Protected Attributes

TIL_TextureMapmyRaster
 
GU_BrushBitmapChan myChannel
 
- Protected Attributes inherited from GU_BrushNib
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 118 of file GU_BrushNib.h.

Constructor & Destructor Documentation

GU_BrushNibBitmap::GU_BrushNibBitmap ( )
GU_BrushNibBitmap::~GU_BrushNibBitmap ( )
override

Member Function Documentation

float GU_BrushNibBitmap::getAlpha ( const UT_Vector3 pos)
overridevirtual

Reimplemented from GU_BrushNib.

float GU_BrushNibBitmap::getAlphaColor ( const UT_Vector3 pos,
UT_Vector3 cd 
)
overridevirtual

Reimplemented from GU_BrushNib.

float GU_BrushNibBitmap::getAlphaFromColor ( const UT_Vector4 clr) const
protected
void GU_BrushNibBitmap::setRaster ( TIL_TextureMap raster)
void GU_BrushNibBitmap::setRasterChan ( GU_BrushBitmapChan  chanidx)
inline

Definition at line 129 of file GU_BrushNib.h.

Member Data Documentation

GU_BrushBitmapChan GU_BrushNibBitmap::myChannel
protected

Definition at line 138 of file GU_BrushNib.h.

TIL_TextureMap* GU_BrushNibBitmap::myRaster
protected

Definition at line 137 of file GU_BrushNib.h.


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