#include <brushmask.h>
Inheritance diagram for mudbox::BrushMask:
Public Member Functions |
|
virtual const mudbox::ClassDesc * | RuntimeClass (void) const |
BrushMask (void) | |
Constructor. |
|
~BrushMask (void) | |
Destructir. |
|
void | SetState (bool b) |
Sets the enabled state. |
|
bool | State (void) |
Returns the state. |
|
float | Factor (void) |
Sets the effect multiplier factor. |
|
void | SetFactor (float f) |
Returns the effect multiplier factor.
|
|
virtual void | SetTransformation (const Matrix &mTransformation) |
Sets the transformation matrix. |
|
Matrix | Transformation (void) |
Returns the transformation matrix. |
|
Image * | Image (void) |
Returns the mask image. |
|
void | SetImage (class Image *pImage) |
Changes the mask image. |
|
void | Clear (void) |
Clear the mask. |
|
void | SetFileName (const QString &sFileName) |
Sets the filename and attemts to load from
the file to an Image. |
|
virtual void | CreateTextures (void) |
Creates Texture objects from the
in-memory Image. |
|
Static Public Member Functions |
|
const mudbox::ClassDesc * | StaticClass (void) |
mudbox::Node * | CreateInstances (unsigned int iCount=1) |
Protected Attributes |
|
Matrix | m_mTransformation |
float | m_fAspectRatio |
Image * | m_pImage |
Texture * | m_pLuminanceTexture |
abool | m_bState |
afloatr | m_fFactor |
astring | m_sFileName |
|
Constructor. |
|
Destructir. |
|
Reimplemented from mudbox::TreeNode. Reimplemented in mudbox::BrushStamp, and mudbox::BrushStencil. 00059 : Matrix m_mTransformation; |
|
Reimplemented from mudbox::TreeNode. Reimplemented in mudbox::BrushStamp, and mudbox::BrushStencil. |
|
Reimplemented from mudbox::TreeNode. Reimplemented in mudbox::BrushStamp, and mudbox::BrushStencil. |
|
Sets the enabled state. |
|
Returns the state. |
|
Sets the effect multiplier factor. |
|
Returns the effect multiplier factor. |
|
Sets the transformation matrix. Reimplemented in mudbox::BrushStencil. |
|
Returns the transformation matrix. |
|
Returns the mask image. |
|
Changes the mask image. |
|
Clear the mask. |
|
Sets the filename and attemts to load from the file to an Image. |
|
Creates Texture objects from the in-memory Image. Reimplemented in mudbox::BrushStencil. |
|
|
|
|
|
|
|