MapExtractorAPI/MapExtractorAPI.h Source File
Go to the documentation of this file. 1 #ifndef MAPEXTRACTORAPI_H
2 #define MAPEXTRACTORAPI_H
8 #include "../../include/Mudbox/mudbox.h"
9 #include "../../include/MapExtractor/MapExtractorInterface.h"
12 #ifndef COMPILING_MAPEXTRACTORAPI_DLL
13 #define MEADLL MUDBOX_DLLIMPORT
15 #define MEADLL MUDBOX_DLLEXPORT
136 inline bool IsEnabled(
void )
const {
return m_pSampler->IsEnabled(); };
138 inline void SetEnabled(
bool bEnable ) { m_pSampler->SetEnabled( bEnable ); m_pSampler->Extractor()->ValidityChanged(); };
145 QString FileName(
void )
const;
148 void SetFileName(
const QString &sFileName );
150 bool UseTmpFile(
void )
const;
152 void SetUseTmpFile(
bool bTmp );
158 bool Preview(
void )
const;
160 void SetPreview(
bool bEnable );
162 Space VertexMoveSpace(
void )
const;
164 void SetVertexMoveSpace(
Space eSpace );
174 QString LayerNameForVertexAction(
void )
const;
176 void SetLayerNameForVertexAction(
const QString &sLayerName );
178 bool RedirectToSculptLayer(
void )
const;
180 void SetRedirectToSculptLayer(
bool bRedirect );
192 bool NormalizeToSearchDistance(
void )
const;
194 void SetNormalizeToSearchDistance(
bool bNormalize );
204 void SetSpace(
enum Space eSpace );
214 void SetSpace(
enum Space eSpace );
216 bool Smooth(
void )
const;
218 void SetSmooth(
bool bSmooth );
222 void SetCompatibility(
enum Compatibility eCompatibility );
232 void SetQuality(
enum Quality eQuality );
234 enum Resolution ShadowMapResolution(
void )
const;
236 void SetShadowMapresolution(
Resolution eResolution );
238 float ShadowDarkness(
void )
const;
240 void SetShadowDarkness(
float fDarkness );
242 float ShadowContrast(
void )
const;
244 void SetShadowContrast(
float fContrast );
246 float Filter(
void )
const;
248 void SetFilter(
float fFilter );
265 QString ChannelName(
void )
const;
276 void SetChannelName(
const QString &sChannelName );
278 int LayerIndex(
void )
const;
280 void SetLayerIndex(
int iIndex );
282 int LayerInGroupIndex(
void )
const;
284 void SetLayerInGroupIndex(
int iIndex );
294 void SetLayer(
const QString &sLayerName );
302 mudbox::aptr<mapextractionmodules::MapExtractor> m_pMapExtractor;
310 int SourceCount(
void )
const;
314 void SetSourceCount(
int iCount );
318 bool SourceSmoothing(
void )
const;
320 void SetSourceSmoothing(
bool bSourceSmoothing );
323 int TargetCount(
void )
const;
327 void SetTargetCount(
int iCount );
331 bool TargetSmoothing(
void )
const;
333 void SetTargetSmoothing(
bool bTargetSmoothing );
335 bool TargetUVSmoothing(
void )
const;
337 void SetTargetUVSmoothing(
bool bSmoothUV );
339 bool TargetCreases(
void )
const;
341 void SetTargetCreases(
bool bUse );
351 void SetUtilizerType(
enum UtilizerType eUtilizerType );
353 int MapWidth(
void )
const;
355 int MapHeight(
void )
const;
357 void SetMapWidth(
int iWidth );
359 void SetMapHeight(
int iHeight );
363 void SetAntialiasing(
enum Antialiasing eAntialiasing );
368 void SetEdgeBleeding(
int iPixels );
384 class Sampler DummySampler( int iIndex = 0 );
390 void SetLocateMethod(
enum LocateMethod eLocateMethod,
int iIndex = 0 );
396 void SetSampling(
enum Sampling,
int iIndex = 0 );
399 float SearchDistance(
int iIndex = 0 )
const;
402 void SetSearchDistance(
float fSearchDistance,
int iIndex = 0 );
404 bool TestBothSides(
int iIndex = 0 )
const;
406 void SetTestBothSides(
bool bBothSides,
int iIndex = 0 );
410 bool PickLowestLevel(
int iIndex = 0 )
const;
412 void SetPickLowestLevel(
bool bPickLowest,
int iIndex = 0 );
414 float Tolerance(
int iIndex = 0 )
const;
416 void SetTolerance(
float fTolerance,
int iIndex = 0 );
419 bool Execute(
bool bInterface =
true );
Represents a 3D vector or point with S23E8 floating point elements.
Format
Image channel datatype type.
This is the base class for anything which is an element of a list with a fixed order and a transparen...
TangentGenerator is a class that defines the tangent space used by Mesh objects.
Represents one level of subdivision details in a geometry.