#include <MapExtractorAPI.h>
This class represents the ambient occlusion sampler.
Definition at line 226 of file MapExtractorAPI.h.
Public Member Functions | |
enum Quality | Quality (void) const |
Returns the quality of the generated AO values. More... | |
void | SetQuality (enum Quality eQuality) |
Sets the quality of the generated AO values. More... | |
enum Resolution | ShadowMapResolution (void) const |
Returns the resolution of the shadow map which is used during extraction. More... | |
void | SetShadowMapresolution (Resolution eResolution) |
Sets the resolution of the shadow map which is used during extraction. More... | |
float | ShadowDarkness (void) const |
Returns the shadow darkness value (in the 0-1 range). More... | |
void | SetShadowDarkness (float fDarkness) |
Sets the shadow darkness value (in the 0-1 range). More... | |
float | ShadowContrast (void) const |
Returns the shadow contrast value (in the 0-1 range). More... | |
void | SetShadowContrast (float fContrast) |
Sets the shadow contrast value (in the 0-1 range). More... | |
float | Filter (void) const |
Retuns the current filter value. More... | |
void | SetFilter (float fFilter) |
Sets the current filter value. More... | |
Public Member Functions inherited from Sampler | |
Sampler (mapextractionmodules::Sampler *p) | |
Create a sampler class for an existing sampler module. More... | |
bool | IsEnabled (void) const |
Returns true, if the sampler is enabled. Only enabled samplers are used during extraction. More... | |
void | SetEnabled (bool bEnable) |
Turns a sampler on or off. Each sampler is disabled by default. At least one sampler has to be enalbed, otherwise the extraction does nothing. More... | |
enum VertexAction | VertexAction (void) const |
Returns the current vertex action. This is only valid if utilizer type is set to vertex. More... | |
void | SetVertexAction (enum VertexAction eAction) |
Sets the current vertex action. This is the action Mudbox performs on each vertex of the target mesh after the extraction. This is only valid if utilizer type is set to vertex. More... | |
QString | FileName (void) const |
Return the name of the file(s) produced by mudbox after map extraction. This is only valid if utilizer type is set to texture or ptex. More... | |
void | SetFileName (const QString &sFileName) |
Sets the name of the file(s) produced by mudbox after map extraction. More... | |
bool | UseTmpFile (void) const |
Returns true, if the image files are saved into a tmp location. More... | |
void | SetUseTmpFile (bool bTmp) |
When bTmp is true, the filename will be ignored, and a temporary file name and location will be used. More... | |
enum mudbox::Image::Format | PixelFormat (void) const |
Return the pixel format which will be used in the saved file. This is only valid if utilizer type is set to texture. More... | |
void | SetPixelFormat (enum mudbox::Image::Format eFormat) |
Sets the pixel format which will be used in the saved file. This is only valid if utilizer type is set to texture. More... | |
bool | Preview (void) const |
Return true if Mudbox should use the result texture as a preview in rendering. This is only valid if utilizer type is set to texture. More... | |
void | SetPreview (bool bEnable) |
Turns on/off preview in rendering after extraction. This is only valid if utilizer type is set to texture. More... | |
Space | VertexMoveSpace (void) const |
Returns the space what the vertex move action uses. This is only valid if utilizer type is set to vertex, and vertex action is set to move. Only the following spaces are used: world, object, tangent. More... | |
void | SetVertexMoveSpace (Space eSpace) |
Sets the space what the vertex move action uses. This is only valid if utilizer type is set to vertex, and vertex action is set to move. Only the following spaces are used: world, object, tangent. More... | |
mudbox::Vector | VertexFactor (void) const |
void | SetVertexFactor (const mudbox::Vector &vFactor) |
mudbox::Vector | VertexOffset (void) const |
void | SetVertexOffset (const mudbox::Vector &vOffset) |
QString | LayerNameForVertexAction (void) const |
Return the name of the layer which should be used as the target for the set sculpt layer mask action. This is only valid if utilizer type is set to vertex, and vertex action is set to vaSculptLayerMask. More... | |
void | SetLayerNameForVertexAction (const QString &sLayerName) |
Sets the name of the layer which should be used as the target for the set sculpt layer mask action. This is only valid if utilizer type is set to vertex, and vertex action is set to vaSculptLayerMask. More... | |
bool | RedirectToSculptLayer (void) const |
Returns true, if the result will be put into a new sculpt layer. This is only valid if utilizer type is set to vertex, and vertex actio is set to vaMove or vaDisplace. More... | |
void | SetRedirectToSculptLayer (bool bRedirect) |
Turns sculpt layer creation on/off. This is only valid if utilizer type is set to vertex, and vertex actio is set to vaMove or vaDisplace. More... | |
mudbox::Layer * | ResultLayer (void) const |
Returns the address of the layer created by the sampler. This should be called after the map extraction operation was executed. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Sampler | |
Sampler (void) | |
Protected Attributes inherited from Sampler | |
mudbox::aptr< mapextractionmodules::Sampler > | m_pSampler |
enum Resolution ShadowMapResolution | ( | void | ) | const |
Returns the resolution of the shadow map which is used during extraction.
void SetShadowMapresolution | ( | Resolution | eResolution | ) |
Sets the resolution of the shadow map which is used during extraction.
float ShadowDarkness | ( | void | ) | const |
Returns the shadow darkness value (in the 0-1 range).
void SetShadowDarkness | ( | float | fDarkness | ) |
Sets the shadow darkness value (in the 0-1 range).
float ShadowContrast | ( | void | ) | const |
Returns the shadow contrast value (in the 0-1 range).
void SetShadowContrast | ( | float | fContrast | ) |
Sets the shadow contrast value (in the 0-1 range).
float Filter | ( | void | ) | const |
Retuns the current filter value.
void SetFilter | ( | float | fFilter | ) |
Sets the current filter value.