|
virtual const string & | getName () const |
| Return the UnitSystem name.
|
|
virtual void | setUnitConverterRegistry (UnitConverterRegistryPtr registry) |
| Assign unit converter registry replacing any previous assignment.
|
|
virtual UnitConverterRegistryPtr | getUnitConverterRegistry () const |
| Returns the currently assigned unit converter registry.
|
|
virtual void | loadLibrary (DocumentPtr document) |
| assign document with unit implementations replacing any previously loaded content.
|
|
bool | supportsTransform (const UnitTransform &transform) const |
| Returns whether this unit system supports a provided transform.
|
|
ShaderNodePtr | createNode (ShaderGraph *parent, const UnitTransform &transform, const string &name, GenContext &context) const |
| Create a node to use to perform the given unit space transformation.
|
|
virtual NodeDefPtr | getNodeDef (const UnitTransform &transform) const |
| Returns a nodedef for a given transform.
|
|
Base unit system support.