Classes | |
struct | FUDaeAccessor |
Common accessor type string arrays. More... | |
Functions | |
FCOLLADA_EXPORT xmlNode * | AddExtraTechniqueChild (xmlNode *parent, const char *profile) |
Writes out the <extra><technique> element unto the given parent xml tree node. | |
FCOLLADA_EXPORT xmlNode * | AddTechniqueChild (xmlNode *parent, const char *profile) |
Writes out the <technique> element unto the given parent xml tree node. | |
FCOLLADA_EXPORT xmlNode * | AddParameter (xmlNode *parent, const char *name, const char *type) |
Writes out a COLLADA parameter element. | |
FCOLLADA_EXPORT xmlNode * | AddInput (xmlNode *parent, const char *sourceId, const char *semantic, int32 offset=-1, int32 set=-1) |
Writes out a COLLADA input element. | |
xmlNode * | AddInput (xmlNode *parent, const string &sourceId, const char *semantic, int32 offset=-1, int32 set=-1) |
See above. | |
FCOLLADA_EXPORT xmlNode * | AddArray (xmlNode *parent, const char *id, const char *arrayType, const char *content, size_t count) |
Writes out a COLLADA strongly-typed data array. | |
FCOLLADA_EXPORT xmlNode * | AddArray (xmlNode *parent, const char *id, const FMMatrix44List &values, float lengthFactor=1.0f) |
Writes out a COLLADA array of matrices. | |
FCOLLADA_EXPORT xmlNode * | AddArray (xmlNode *parent, const char *id, const FMVector3List &values, float lengthFactor=1.0f) |
Writes out a COLLADA array of 3D vectors. | |
FCOLLADA_EXPORT xmlNode * | AddArray (xmlNode *parent, const char *id, const FloatList &values, float lengthFactor=1.0f) |
Writes out a COLLADA array of floating-point values. | |
FCOLLADA_EXPORT xmlNode * | AddArray (xmlNode *parent, const char *id, const StringList &values, const char *arrayType=DAE_NAME_ARRAY_ELEMENT) |
Writes out a COLLADA array of UTF-8 tokens. | |
FCOLLADA_EXPORT xmlNode * | AddAccessor (xmlNode *parent, const char *arrayId, size_t count, size_t stride=1, const char **parameters=NULL, const char *type=NULL) |
Writes out a COLLADA accessor to be used within a source. | |
xmlNode * | AddAccessor (xmlNode *parent, const string &arrayId, size_t count, size_t stride=1, const char **parameters=NULL, const char *type=NULL) |
See above. | |
FCOLLADA_EXPORT xmlNode * | AddSourceFloat (xmlNode *parent, const char *id, const FloatList &values, size_t stride=1, const char **parameters=NULL, float lengthFactor=1.0f) |
Writes out a COLLADA multi-dimensional source of floating-point values. | |
xmlNode * | AddSourceFloat (xmlNode *parent, const string &id, const FloatList &values, size_t stride=1, const char **parameters=NULL, float lengthFactor=1.0f) |
See above. | |
FCOLLADA_EXPORT xmlNode * | AddSourceFloat (xmlNode *parent, const char *id, const FloatList &values, const char *parameter=NULL, float lengthFactor=1.0f) |
Writes out a COLLADA source of floating-point values. | |
xmlNode * | AddSourceFloat (xmlNode *parent, const string &id, const FloatList &values, const char *parameter=NULL, float lengthFactor=1.0f) |
See above. | |
FCOLLADA_EXPORT xmlNode * | AddSourceMatrix (xmlNode *parent, const char *id, const FMMatrix44List &values, float lengthFactor=1.0f) |
Writes out a COLLADA source of matrices. | |
xmlNode * | AddSourceMatrix (xmlNode *parent, const string &id, const FMMatrix44List &values, float lengthFactor=1.0f) |
See above. | |
FCOLLADA_EXPORT xmlNode * | AddSourceColor (xmlNode *parent, const char *id, const FMVector3List &values) |
Writes out a COLLADA source of matrices. | |
xmlNode * | AddSourceColor (xmlNode *parent, const string &id, const FMVector3List &values) |
See above. | |
FCOLLADA_EXPORT xmlNode * | AddSourceTexcoord (xmlNode *parent, const char *id, const FMVector3List &values) |
Writes out a COLLADA source of texture coordinates. | |
xmlNode * | AddSourceTexcoord (xmlNode *parent, const string &id, const FMVector3List &values) |
See above. | |
FCOLLADA_EXPORT xmlNode * | AddSourcePosition (xmlNode *parent, const char *id, const FMVector3List &values, float lengthFactor=1.0f) |
Writes out a COLLADA source of 3D positions or vectors. | |
xmlNode * | AddSourcePosition (xmlNode *parent, const string &id, const FMVector3List &values, float lengthFactor=1.0f) |
See above. | |
FCOLLADA_EXPORT xmlNode * | AddSourceString (xmlNode *parent, const char *id, const StringList &values, const char *parameter=NULL) |
Writes out a COLLADA source of UTF-8 tokens. | |
xmlNode * | AddSourceString (xmlNode *parent, const string &id, const StringList &values, const char *parameter=NULL) |
See above. | |
FCOLLADA_EXPORT xmlNode * | AddSourceIDRef (xmlNode *parent, const char *id, const StringList &values, const char *parameter=NULL) |
Writes out a COLLADA source of COLLADA references. | |
xmlNode * | AddSourceIDRef (xmlNode *parent, const string &id, const StringList &values, const char *parameter=NULL) |
See above. | |
FCOLLADA_EXPORT xmlNode * | AddSourceInterpolation (xmlNode *parent, const char *id, const FUDaeInterpolationList &interpolations) |
Writes out a COLLADA source of interpolation tokens. | |
xmlNode * | AddSourceInterpolation (xmlNode *parent, const string &id, const FUDaeInterpolationList &values) |
See above. | |
FCOLLADA_EXPORT string | CleanId (const char *id) |
Cleans up a given name into a valid COLLADA id. | |
string | CleanId (const string &id) |
See above. | |
FCOLLADA_EXPORT fstring | CleanName (const fchar *name) |
Cleans up a given name into a valid COLLADA name. | |
fstring | CleanName (const fstring &name) |
See above. | |
FCOLLADA_EXPORT string | AddNodeSid (xmlNode *node, const char *wantedSid) |
Adds the 'sid' attribute to a given XML tree node. |
Based on top of the FUXmlWriter namespace and the LibXML2 library. This whole namespace is considered external and should only be used by the FCollada library.
|
Writes out a COLLADA accessor to be used within a source. This function should really be called only from within AddSourceX functions.
|
|
Writes out a COLLADA array of UTF-8 tokens. To write out data values, it is preferable to use the AddSourceX functions.
|
|
Writes out a COLLADA array of floating-point values. To write out data values, it is preferable to use the AddSourceX functions.
|
|
Writes out a COLLADA array of 3D vectors. To write out data values, it is preferable to use the AddSourceX functions.
|
|
Writes out a COLLADA array of matrices. To write out data values, it is preferable to use the AddSourceX functions.
|
|
Writes out a COLLADA strongly-typed data array. To write out data values, it is preferable to use the AddSourceX functions.
|
|
Writes out the <extra><technique> element unto the given parent xml tree node. This function ensures that only one <extra> element exists and that only one <technique> element exists for the given profile.
|
|
Writes out a COLLADA input element. This is a very common element. For example, it is used in the <polygons>, <sampler> and <joints> elements. A COLLADA input has the form: <input source='#source_id' semantic='' offset='' set=''/>.
|
|
Adds the 'sid' attribute to a given XML tree node. The sub-id is verified to ensure uniqueness within the scope.
|
|
Writes out a COLLADA parameter element. This is used for the source accessors. A COLLADA parameter has the form: <param name='' type=''>value</param>.
|
|
Writes out a COLLADA source of matrices.
|
|
Writes out a COLLADA source of floating-point values.
|
|
Writes out a COLLADA multi-dimensional source of floating-point values.
|
|
Writes out a COLLADA source of COLLADA references.
|
|
Writes out a COLLADA source of interpolation tokens. This function is used within the export of animation curves.
|
|
Writes out a COLLADA source of matrices.
|
|
Writes out a COLLADA source of 3D positions or vectors.
|
|
Writes out a COLLADA source of UTF-8 tokens.
|
|
Writes out a COLLADA source of texture coordinates.
|
|
Writes out the <technique> element unto the given parent xml tree node. This function ensures that only one <technique> element exists for the given profile.
|
|
Cleans up a given name into a valid COLLADA id. This function does no check for uniqueness.
|
|
Cleans up a given name into a valid COLLADA name.
|