Mudbox/brushmask.h Source File
Go to the documentation of this file.
15 #ifndef __MUDBOXSDK_BRUSHMASK_H__
16 #define __MUDBOXSDK_BRUSHMASK_H__
32 void SetState(
bool b );
39 void SetFactor(
float f );
42 virtual
void SetTransformation( const
Matrix &mTransformation );
50 void SetImage( class
Image *pImage );
56 void SetFileName( const
QString &sFileName );
58 virtual
void CreateTextures(
void );
59 QString GetFileName()
const {
return m_sFileName; }
84 const Matrix &mLocalToWorld );
88 void CalculateTransformation(
const Vector &vPosition,
91 float fScaleX,
float fScaleY,
92 bool bFlip,
bool bFlop,
93 const Matrix &mLocalToWorld );
101 eColorModeUndefined = -1,
114 void SetVisibility(
float f );
116 float Visibility(
void );
119 void SetUIEnabled(
bool b );
122 void SetColorMode(
unsigned int mode );
124 unsigned int ColorMode(
void );
127 void SetOffset(
float offset );
129 float Offset(
void )
const;
132 void SetTransformation(
const Matrix &mTransformation );
134 void UpdateMatrix(
void );
136 const Matrix &Final(
void )
const;
138 Matrix MirroredFinal(
void )
const;
141 bool IsMirrored(
void )
const;
147 bool IsInverted(
void )
const;
150 bool Activate(
void );
152 bool Deactivate(
void );
155 void SetFromImage(
class Image *pSrcImage );
158 virtual void CreateTextures(
void );
168 void SetFromColorTexture(
Texture *pSrcTexture);
Container class for stamp related properties and functions.
Represents a 3D vector or point with S23E8 floating point elements.
This attribute represents a float value which has a minimum and a maximum value.
A masking image aligned to a mesh surface.
State
The state the media producing object is in at the moment.
This class can be used for masking out areas from the brush effect.
Texture * m_pLuminanceTexture
A masking image attached to a camera.
void SetInverted(bool inv)
Sets the stencil inverted state.
This class represents a 4x4 transformation matrix.
Texture * getTexture() const
Texture * m_pColorTexture
This class represents an event receiver/triggerer point.
unsigned int m_iColorMode
Represents a texture tile inside a texture pool.
Class: ConvolutionKernel.
This class is the base of all node types that can be structured in a hierarchy.
#define DECLARE_CLASS
This macro should be used in declaration of classes which are inherited from the Node class (or any d...
This is the base image type defining the interface to images.
#define Q_DECLARE_TR_FUNCTIONS(context)