#include <BRAY_ProceduralFactory.h>
Provides an interface to bind Hydra USD primitives to Karma primitives.
The constructor/destructor typically look like this:
Subclass::Subclass()
{
bind("tokenname");
}
Subclass::~Subclass()
{
unbind("tokenname");
}
- Examples:
- karma_procedurals/BRAY_HdBox.C, karma_procedurals/BRAY_HdBox.h, karma_procedurals/BRAY_HdSphere.C, and karma_procedurals/BRAY_HdSphere.h.
Definition at line 37 of file BRAY_ProceduralFactory.h.
BRAY_ProceduralFactory::BRAY_ProceduralFactory |
( |
const UT_StringHolder & |
name | ) |
|
When the factory is instantiated, it will be registered with the name given.
virtual BRAY_ProceduralFactory::~BRAY_ProceduralFactory |
( |
| ) |
|
|
virtual |
virtual bool BRAY_ProceduralFactory::acceptsExtraParameters |
( |
| ) |
const |
|
inlinevirtual |
A flag to determine whether or not this procedural accepts parameters from outside it's parameter list. If this is enabled, not only will the parameters from paramList()
be added, but also any parameters that match the matchExtraParam()
method
Definition at line 65 of file BRAY_ProceduralFactory.h.
static iterator BRAY_ProceduralFactory::begin |
( |
| ) |
|
|
inlinestatic |
static iterator BRAY_ProceduralFactory::end |
( |
| ) |
|
|
inlinestatic |
virtual bool BRAY_ProceduralFactory::matchExtraParameter |
( |
const UT_StringHolder & |
attrib_name | ) |
const |
|
inlinevirtual |
Get the static of supported parameters by the procedural Procedurals are also given an opportunity to construct on the fly tables after going through the list of attributes defined on points.
static void BRAY_ProceduralFactory::print |
( |
| ) |
|
|
static |
Print list of procedural factory types
Print list of procedural factory types
static const MapType& BRAY_ProceduralFactory::procedurals |
( |
| ) |
|
|
static |
Access the list of all the registered procedurals
The documentation for this class was generated from the following file: