|
Katana Plug-in APIs 0.1
|
API that allows to manipulate Katana Attributes. More...
Functions | |
| bool | Foundry::Katana::Bootstrap (const std::string &katanaPath) |
| void | Foundry::Katana::Initialize (const FnAttributeHostSuite *) |
API that allows to manipulate Katana Attributes.
Attributes are the basic data storage classes used by Katana's scenegraph. Data types are int, float, double, string, and each attribute contains a map of time samples, with each sample being an array of the base data type. Group attributes contain a list of named child attributes.
This API should used in every plug-in that reads/manipulates Katana attributes.
All attributes, once constructed, are immutable. Attributes can be (and often are) referenced in many locations. Their lifetime is managed internally by ref-counted smart pointers.
The API provides several utility classes to build attributes in more friendly way (DataBuilder, and its attribute type specific typedefs: IntBuilder, FloatBuilder, DoubleBuilder and StringBuilder).
| bool Foundry::Katana::Bootstrap | ( | const std::string & | katanaPath | ) |
Bootstraps the API without having to link against the internal libraries that implement the Attributes host. This can be useful when implementing an executable that needs to use the Attributes API via the plug-in system, without having to bootstrap Geolib or link against any internal library.
Returns true if the bootstrap succeeds.
| void Foundry::Katana::Initialize | ( | const FnAttributeHostSuite * | ) |
Initializes the API with the given Attribute Host suite.
1.7.3