Exported APIs for Collada (.dae) Write Library. More...
Data Structures | |
class | WriteOptions |
This class provides several options to tune Collada Writer. It must be provided to Colladaw::InitWrite method. More... | |
Functions | |
DtkErrorStatus | EndNode () |
End the node. More... | |
DtkErrorStatus | EndWrite () |
Creation of the output file and free the Collada Writer More... | |
DtkErrorStatus | InitNode (Dtk_string &inNodeName, const Dtk_transfo &inTransfo, Dtk_InfoPtr &inInfo, Dtk_ID &outID) |
Initialize a node. More... | |
DtkErrorStatus | InitNode (Dtk_string &inNodeName, const Dtk_transfo &inTransfo=Dtk_transfo()) |
Initialize a node. More... | |
DtkErrorStatus | InitWrite (const Dtk_string &inOutputFile, const Dtk_string &inLogFile, WriteOptions &inOptions) |
Initialize the Collada Writer More... | |
DtkErrorStatus | ReinstanciatePrototype (Dtk_ID inID) |
Reinstanciate a node. More... | |
Dtk_ErrorStatus | WriteEntity (const Dtk_EntityPtr &inEntity) |
Write the entity provided in parameter in a node. More... | |
Dtk_ErrorStatus | WriteEntity (const Dtk_EntityPtr &inEntity, Dtk_ID &outID) |
Write the entity provided in parameter in a node. More... | |
Exported APIs for Collada (.dae) Write Library.
DtkErrorStatus Colladaw::EndNode | ( | ) |
End the node.
DtkErrorStatus Colladaw::EndWrite | ( | ) |
Creation of the output file and free the Collada Writer
DtkErrorStatus Colladaw::InitNode | ( | Dtk_string & | inNodeName, |
const Dtk_transfo & | inTransfo, | ||
Dtk_InfoPtr & | inInfo, | ||
Dtk_ID & | outID | ||
) |
Initialize a node.
[in] | inNodeName | : The name of the node |
[in] | inTransfo | : The matrix of the node |
[in] | inInfo | : The infos (attributes) of the node |
[out] | outID | : The identifier of the node |
DtkErrorStatus Colladaw::InitNode | ( | Dtk_string & | inNodeName, |
const Dtk_transfo & | inTransfo = Dtk_transfo() |
||
) |
Initialize a node.
[in] | inNodeName | : The name of the node |
[in] | inTransfo | : The matrix of the node |
DtkErrorStatus Colladaw::InitWrite | ( | const Dtk_string & | inOutputFile, |
const Dtk_string & | inLogFile, | ||
WriteOptions & | inOptions | ||
) |
Initialize the Collada Writer
[in] | inOutputFile | : Output file name |
[in] | inLogFile | : Log file |
[in] | inOptions | : Options |
DtkErrorStatus Colladaw::ReinstanciatePrototype | ( | Dtk_ID | inID | ) |
Reinstanciate a node.
[in] | inID | : A unique identifier of the node to be reinstanciated |
Dtk_ErrorStatus Colladaw::WriteEntity | ( | const Dtk_EntityPtr & | inEntity | ) |
Write the entity provided in parameter in a node.
[in] | inEntity | : The Entity to be written |
Dtk_ErrorStatus Colladaw::WriteEntity | ( | const Dtk_EntityPtr & | inEntity, |
Dtk_ID & | outID | ||
) |
Write the entity provided in parameter in a node.
[in] | inEntity | : The Entity to be written |
[out] | outID | : The ID of the written entity |