MaterialX 1.39.1
Loading...
Searching...
No Matches
Unit.h File Reference

Unit classes. More...

Go to the source code of this file.

Classes

class  UnitConverter
 An abstract base class for unit converters. More...
 
class  LinearUnitConverter
 A converter class for linear units that require only a scalar multiplication. More...
 
class  UnitConverterRegistry
 A registry for unit converters. More...
 

Typedefs

using UnitConverterPtr = shared_ptr< UnitConverter >
 A shared pointer to a UnitConverter.
 
using ConstUnitConverterPtr = shared_ptr< const UnitConverter >
 A shared pointer to a const UnitConverter.
 
using LinearUnitConverterPtr = shared_ptr< LinearUnitConverter >
 A shared pointer to a LinearUnitConverter.
 
using ConstLinearUnitConverterPtr = shared_ptr< const LinearUnitConverter >
 A shared pointer to a const LinearUnitConverter.
 
using UnitConverterRegistryPtr = shared_ptr< UnitConverterRegistry >
 A shared pointer to a UnitConverterRegistry.
 
using ConstUnitConverterRegistryPtr = shared_ptr< const UnitConverterRegistry >
 A shared pointer to a const UnitConverterRegistry.
 
using UnitConverterPtrMap = std::unordered_map< string, UnitConverterPtr >
 Map of unit converters.
 

Detailed Description

Unit classes.