NDEVR
API Documentation
DefaultMaterials

Provides default materials that can be used within the NDEVR API. More...

Static Public Member Functions

static void createDefaultMaterials (DesignObjectLookup *manager)
 Creates all default material sets (rubbers, metals, plastics, stones) and adds them to the given manager.
static void createDefaultMetals (DesignObjectLookup *manager)
 Creates a set of default metal materials and adds them to the given manager.
static void createDefaultPlastics (DesignObjectLookup *manager)
 Creates a set of default plastic materials and adds them to the given manager.
static void createDefaultRubbers (DesignObjectLookup *manager)
 Creates a set of default rubber materials and adds them to the given manager.
static void createDefaultStones (DesignObjectLookup *manager)
 Creates a set of default stone materials and adds them to the given manager.
static void setupCADMaterial (uint01 cad_index, Material &mat)
 Configures a Material with properties corresponding to a standard CAD color index.

Detailed Description

Provides default materials that can be used within the NDEVR API.


Definition at line 40 of file DefaultMaterials.h.

Member Function Documentation

◆ createDefaultMaterials()

void DefaultMaterials::createDefaultMaterials ( DesignObjectLookup * manager)
static

Creates all default material sets (rubbers, metals, plastics, stones) and adds them to the given manager.

Parameters
[in]managerThe DesignObjectLookup to receive the created default materials.

◆ createDefaultMetals()

void DefaultMaterials::createDefaultMetals ( DesignObjectLookup * manager)
static

Creates a set of default metal materials and adds them to the given manager.

Parameters
[in]managerThe DesignObjectLookup to receive the created metal materials.

◆ createDefaultPlastics()

void DefaultMaterials::createDefaultPlastics ( DesignObjectLookup * manager)
static

Creates a set of default plastic materials and adds them to the given manager.

Parameters
[in]managerThe DesignObjectLookup to receive the created plastic materials.

◆ createDefaultRubbers()

void DefaultMaterials::createDefaultRubbers ( DesignObjectLookup * manager)
static

Creates a set of default rubber materials and adds them to the given manager.

Parameters
[in]managerThe DesignObjectLookup to receive the created rubber materials.

◆ createDefaultStones()

void DefaultMaterials::createDefaultStones ( DesignObjectLookup * manager)
static

Creates a set of default stone materials and adds them to the given manager.

Parameters
[in]managerThe DesignObjectLookup to receive the created stone materials.

◆ setupCADMaterial()

void DefaultMaterials::setupCADMaterial ( uint01 cad_index,
Material & mat )
static

Configures a Material with properties corresponding to a standard CAD color index.

Parameters
[in]cad_indexThe CAD color index used to look up the material properties.
[in]matThe Material to configure with the CAD color properties.

The documentation for this class was generated from the following file: