- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

Namespaces | Defines | Typedefs | Functions

# mudbox.h File Reference

This reference page is linked to from the following overview topics: Displaying Messages and Progress Notifications, Writing Plug-ins.

`#include <stdlib.h>`
`#include <stdio.h>`
`#include "dllinterface.h"`
`#include "i18n.h"`
`#include "error.h"`
`#include "array.h"`
`#include "node.h"`
`#include "stream.h"`
`#include "plugin.h"`
`#include "treenode.h"`
`#include "math.h"`
`#include "topology.h"`
`#include "layer.h"`
`#include "mesh.h"`
`#include "preferences.h"`
`#include "quadturtle.h"`
`#include "tray.h"`
`#include "transformation.h"`
`#include "image.h"`
`#include "imagePlane.h"`
`#include "material.h"`
`#include "renderer.h"`
`#include "subdivision.h"`
`#include "geometry.h"`
`#include "light.h"`
`#include "camera.h"`
`#include "curve.h"`
`#include "scene.h"`
`#include "interface.h"`
`#include "kernel.h"`
`#include "importexport.h"`
`#include "operation.h"`
`#include "viewport.h"`
`#include "selectionset.h"`
`#include "nurbs.h"`
`#include "brush.h"`
`#include "brushmask.h"`
`#include "ConvolutionKernel.h"`
`#include "ImageFilter.h"`
`#include "xref.h"`
`#include "SSE.h"`
`#include "UnitTest.h"`

Go to the source code of this file.

## Namespaces
namespace | mudbox
| Class: ConvolutionKernel.
## Defines
#define | MB_SDK_VERSION_STRING "2.0.0"
#define | MB_SDK_VERSION 0x00020000
#define | MB_SDK_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
#define | MB_ASSERT(condition) {}
#define | MB_VERIFY(condition) { bool b___ = condition; b___; }
#define | MB_VERIFY_EQ(condition_, value_) (condition_)
#define | MB_VERIFY_TRUE(condition_) (condition_)
#define | MB_ONBUG(condition) MB_ASSERT( !(condition) ); if ( condition )
#define | MB_SAFELY(condition) MB_ASSERT( condition ); if ( condition )
#define | QT_NO_DEBUG_OUTPUT
#define | MB_TIMER(name) ;
#define | MB_ERROR throw (new mudbox::Error( "", mudbox::Error::codeUnspecified, __FUNCTION__, __FILE__, __LINE__ ))->Format
#define | MB_ERRORQ(s) throw new mudbox::Error( s, mudbox::Error::codeUnspecified, __FUNCTION__, __FILE__, __LINE__ )
#define | MB_PLUGIN(name, description, author, url, initializer) mudbox::Plugin __myplugin( name, description, author, url, __DATE__" "__TIME__, initializer );
#define | __forceinline inline
#define | MB_CHECK_GL_ERROR
#define | MB_CHECK_GL_STATES
#define | MB_CHECK_CG_ERROR
#define | MB_SDN(a) if( a ) { delete a; a = 0; };
| Utility macro to safely delete and reset a pointer.
## Typedefs
typedef long long | int64
typedef unsigned long long | uint64
## Functions
template<typename type >
type | Min (type a, type b)
template<typename type >
type | Max (type a, type b)
bool MBDLL_DECL | AssertFailed (const char *sSourceFile, int iSourceLine, const char *sCondition, const char *sMessage)
float MBDLL_DECL | Modf (float value)

## Define Documentation

#define MB_SDK_VERSION_STRING "2.0.0"

Search for all occurrences

Definition at line 49 of file mudbox.h.

#define MB_SDK_VERSION 0x00020000

Search for all occurrences

Definition at line 57 of file mudbox.h.

#define MB_SDK_VERSION_CHECK | ( |  | major,
|  |  | minor,
|  |  | patch
| ) |  | ((major<<16)|(minor<<8)|(patch))

Search for all occurrences

Definition at line 59 of file mudbox.h.

#define MB_ASSERT | ( |  | condition | ) | {}

Search for all occurrences

Examples:
  MeshBuilder/MeshBuilder.cpp, MeshDisplace/displacer.cpp, PtexExtractor/PtexLayout.cpp, PtexExtractor/PtexPaintExporter.cpp, PtexExtractor/PtexUtilizer.cpp, and PtexImporter/PtexImporter.cpp.

Definition at line 73 of file mudbox.h.

#define MB_VERIFY | ( |  | condition | ) | { bool b___ = condition; b___; }

Search for all occurrences

Examples:
  MeshDisplace/displacer.cpp.

Definition at line 80 of file mudbox.h.

#define MB_VERIFY_EQ | ( |  | condition_,
|  |  | value_
| ) |  | (condition_)

Search for all occurrences

Definition at line 89 of file mudbox.h.

#define MB_VERIFY_TRUE | ( |  | condition_ | ) | (condition_)

Search for all occurrences

Definition at line 97 of file mudbox.h.

#define MB_ONBUG | ( |  | condition | ) | MB_ASSERT( !(condition) ); if ( condition )

Search for all occurrences

Examples:
  MeshDisplace/displacer.cpp, PtexExtractor/PtexLayout.cpp, PtexExtractor/PtexPaintExporter.cpp, and PtexExtractor/PtexUtilizer.cpp.

Definition at line 101 of file mudbox.h.

#define MB_SAFELY | ( |  | condition | ) | MB_ASSERT( condition ); if ( condition )

Search for all occurrences

Examples:
  AutoExtract/AutoExtract.cpp, MeshDisplace/displacer.cpp, and PtexExtractor/PtexPaintExporter.cpp.

Definition at line 102 of file mudbox.h.

#define QT_NO_DEBUG_OUTPUT

Search for all occurrences

Definition at line 105 of file mudbox.h.

#define MB_TIMER | ( |  | name | ) | ;

Search for all occurrences

Definition at line 117 of file mudbox.h.

#define MB_ERROR throw (new mudbox::Error( "", mudbox::Error::codeUnspecified, __FUNCTION__, __FILE__, __LINE__ ))->Format

Search for all occurrences

Examples:
  MeshDisplace/displacer.cpp, PLYImport/Importer.cpp, PtexExtractor/PtexLayout.cpp, PtexExtractor/PtexPaintExporter.cpp, PtexExtractor/PtexUtilizer.cpp, and STLExport/STLExporter.cpp.

Definition at line 123 of file mudbox.h.

#define MB_ERRORQ | ( |  | s | ) | throw new mudbox::Error( s, mudbox::Error::codeUnspecified, __FUNCTION__, __FILE__, __LINE__ )

Search for all occurrences

Examples:
  PLYImport/Importer.cpp.

Definition at line 124 of file mudbox.h.

#define MB_PLUGIN | ( |  | name,
|  |  | description,
|  |  | author,
|  |  | url,
|  |  | initializer
| ) |  | mudbox::Plugin __myplugin( name, description, author, url, __DATE__" "__TIME__, initializer );

Search for all occurrences

Examples:
  CurveBrush/CurveDisplayer.cpp, FileEventHandler/FileEventHandler.cpp, FixedFunctionMaterial/FixedFunctionMaterial.cpp, FrameCounter/FrameCounter.cpp, ImageIOHandlerRAW/ImageIOHandlerRAW.cpp, ImmediateModeRenderer/ImmediateModeRenderer.cpp, MenuMessenger/MenuMessenger.cpp, MeshBuilder/MeshBuilder.cpp, MeshDisplace/displacer.cpp, PLYImport/Importer.cpp, SampleViewportFilter/SampleViewportFilter.cpp, STLExport/STLExporter.cpp, TextureConveyor/TextureConveyor.cpp, TextureSwapperViewportFilter/TextureSwapperViewportFilter.cpp, and ToonMaterial/ToonMaterial.cpp.

Definition at line 127 of file mudbox.h.

#define __forceinline inline

Search for all occurrences

Definition at line 146 of file mudbox.h.

#define MB_CHECK_GL_ERROR

Search for all occurrences

Definition at line 290 of file mudbox.h.

#define MB_CHECK_GL_STATES

Search for all occurrences

Definition at line 291 of file mudbox.h.

#define MB_CHECK_CG_ERROR

Search for all occurrences

Definition at line 292 of file mudbox.h.

#define MB_SDN | ( |  | a | ) | if( a ) { delete a; a = 0; };

Search for all occurrences

Utility macro to safely delete and reset a pointer.

Definition at line 296 of file mudbox.h.