SUITransformationPtr SUITransformationManager::CreateTransformation( SPString path )
{
	SUITransformationPtr transformation = new SUITransformation();

	if (transformation->Load(path))
	{
		return transformation;
	}

	return NULL;
}
SUITransformationPtr SUITransformationManager::GetTransformation( SPString name )
{
	if (transformationFileNames.IsSet(name))
	{
		return new SUITransformation(transformationFileNames[name]);
	}
	else
	{
		SUITransformationPtr transformation = new SUITransformation();

		transformation->Load(name);
		return transformation;
	}

	return NULL;
}
SUITransformationPtr SUITransformationManager::CreateTransformation( SPString path )
{
	SUITransformationPtr transformation = new SUITransformation();
	transformation->Load(path);
	return transformation;
}