UVlessPainting/UVGeneratorInterface.h Source File
Go to the documentation of this file. 1 #ifndef __UVGENERATORINTERFACE_H
2 #define __UVGENERATORINTERFACE_H
4 #if defined(JAMBUILD) || defined(__APPLE__)
7 #include "../../include/Mudbox/mudbox.h"
12 #ifndef COMPILING_UVLESSPAINTING_DLL
13 #define UGDLL MUDBOX_DLLIMPORT
15 #define UGDLL MUDBOX_DLLEXPORT
38 unsigned int m_iData[4];
39 unsigned int& operator[] (
int i) {
return m_iData[i]; };
44 unsigned int m_iData[2];
45 unsigned int& operator[] (
int i) {
return m_iData[i]; };
52 virtual DimData4 FaceSize(
unsigned int iFaceIndex )
const;
60 virtual DimData4 FaceSizeExponent(
unsigned int iFaceIndex )
const;
67 virtual void SetFaceSize(
unsigned int iFaceIndex,
unsigned int iWidth,
unsigned int iHeight );
71 virtual char FaceOrientation(
unsigned int iFaceIndex )
const;
82 virtual DimData2 FaceUVPosition(
unsigned int iFaceIndex )
const;
87 virtual DimData2 FaceUVSize(
unsigned int iFaceIndex )
const;
91 virtual DimData2 FaceUVArea(
unsigned int iFaceIndex )
const;
94 virtual unsigned int UVTileSize()
const;
97 virtual void SetUVTileSize(
unsigned int iSize );
101 static void SetDefaultResolution(
unsigned int iRes );
104 static unsigned int DefaultResolution(
void );
107 static void SetIgnoreScene(
bool bIgnore );
112 virtual void GenerateUVs(
113 bool bTransferPaintLayers =
true,
118 virtual Mesh *getMesh();
Represents a 3D vector or point with S23E8 floating point elements.
A Mesh is a collection of vertices organized into faces, and optional Texture Coordinate information...
This class is used to create a UV layout for a mesh.
This class is used to quick setup Ptex Painting for meshes.
This class is the base of all node types that can be structured in a hierarchy.
#define Q_DECLARE_TR_FUNCTIONS(context)