コード例 #1
0
SUITransformationPtr SUITransformationManager::CreateTransformation( SPString path )
{
	SUITransformationPtr transformation = new SUITransformation();

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

	return NULL;
}
コード例 #2
0
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;
}
コード例 #3
0
SUITransformationPtr SUITransformationManager::CreateTransformation( SPString path )
{
	SUITransformationPtr transformation = new SUITransformation();
	transformation->Load(path);
	return transformation;
}