FCDTFactory Class Reference

[INTERNAL] A factory for COLLADA transforms. More...

#include <FCDTransform.h>

List of all members.

Static Public Member Functions

static FCDTransformCreateTransform (FCDocument *document, FCDSceneNode *parent, FCDTransform::Type type)
 Creates a new COLLADA transform, given a transform type.


Detailed Description

[INTERNAL] A factory for COLLADA transforms.

Creates the correct transform object for a given transform type/XML tree node. To create new transforms, use the FCDSceneNode::AddTransform function.


Member Function Documentation

static FCDTransform* FCDTFactory::CreateTransform FCDocument document,
FCDSceneNode parent,
FCDTransform::Type  type
[static]
 

Creates a new COLLADA transform, given a transform type.

Parameters:
document The COLLADA document that will own the new transform.
parent The visual scene node that will contain the transform.
type The type of transform object to create.
Returns:
The new COLLADA transform. This pointer will be NULL if the given type is invalid.


The documentation for this class was generated from the following file:
Generated on Thu Feb 14 16:58:40 2008 for FCollada by  doxygen 1.4.6-NO