This reference page is linked to from the following overview
topics: FBX SDK
2013.
Detailed Description
Definition at line 42 of file fbxutils.h.
#include <fbxutils.h>
List of all
members.
Static Public Member
Functions
|
| static FbxString |
Bind
(const char *pRootPath, const char *pFilePath, bool
pCleanPath=true) |
| |
Bind together a root path with a file path.
|
| static FbxString |
GetFolderName
(const char *pFilePath) |
| |
Extract the folder name from the given file
path.
|
| static FbxString |
GetFileName
(const char *pFilePath, bool pWithExtension=true) |
| |
Extract file name from the given file path.
|
| static FbxString |
GetExtensionName
(const char *pFilePath) |
| |
Extract the file extension in the given file
path.
|
| static FbxString |
ChangeExtension
(const char *pFilePath, const char *pExtension) |
| |
Change or append a file extension to the
specified file path.
|
| static
bool |
IsRelative
(const char *pPath) |
| |
Test if the given path is relative path, if
it is return true.
|
| static FbxString |
GetRelativePath
(const char *pRootPath, const char *pNewPath) |
| |
Get the given new path's relative path to
the given root path.
|
| static FbxString |
GetRelativeFilePath
(const char *pRootPath, const char *pNewFilePath) |
| |
Get the given new path's relative path to
the given root path.
|
| static FbxString |
Resolve
(const char *pRelPath) |
| |
Get the full path of given path (if the
given path is relative path, it will take current directory as
default root path.)
|
| static FbxString |
Clean
(const char *pPath) |
| |
Clean the redundant and useless denotations
in given path name.
|
| static FbxString |
GenerateFileName
(const char *pFolder, const char *pPrefix) |
| |
Generate full safe file path name you can
use to create new file.
|
Member Function Documentation
| static FbxString Bind |
( |
const char * |
pRootPath, |
|
|
const char * |
pFilePath, |
|
|
bool |
pCleanPath =
true |
|
) |
|
[static] |
Bind together a root path with a file path.
- Parameters:
-
| pRootPath |
The root path that will get binded to the file path. |
| pFilePath |
The file path to bind to the root path. |
| pCleanPath |
If true, the resulting path will be cleaned via FbxPathUtils::Clean(). |
- Returns:
- Both paths binded together forming a new file path.
- Examples:
- ViewScene/SceneContext.cxx.
| static FbxString GetFolderName |
( |
const char * |
pFilePath |
) |
[static] |
Extract the folder name from the given file path.
- Parameters:
-
| pFilePath |
The given file path. |
- Returns:
- The folder name. If there isn't any '\' or '/' in the given
file path, it will return pFilePath.
- Examples:
- ExportScene03/main.cxx,
and ViewScene/SceneContext.cxx.
| static FbxString GetFileName |
( |
const char * |
pFilePath, |
|
|
bool |
pWithExtension =
true |
|
) |
|
[static] |
| static FbxString GetExtensionName |
( |
const char * |
pFilePath |
) |
[static] |
Extract the file extension in the given file path.
- Parameters:
-
| pFilePath |
The file path to extract the extension. |
- Returns:
- The file extension without the '.' character.
- Examples:
- ProceduralTexture/main.cxx.
| static FbxString ChangeExtension |
( |
const char * |
pFilePath, |
|
|
const char * |
pExtension |
|
) |
|
[static] |
Change or append a file extension to the specified file
path.
- Parameters:
-
| pFilePath |
The file path to change the file extension |
| pExtension |
The extension to change or append to the file path. |
- Returns:
- The file path with the file extension changed/added.
| static bool IsRelative |
( |
const char * |
pPath |
) |
[static] |
Test if the given path is relative path, if it is return
true.
| static FbxString GetRelativePath |
( |
const char * |
pRootPath, |
|
|
const char * |
pNewPath |
|
) |
|
[static] |
Get the given new path's relative path to the given root
path.
- Parameters:
-
| pRootPath |
The given root path |
| pNewPath |
The given new path. If it is only file name, the default
directory is work directory. |
- Returns:
- The relative path.
| static FbxString GetRelativeFilePath |
( |
const char * |
pRootPath, |
|
|
const char * |
pNewFilePath |
|
) |
|
[static] |
| static FbxString Resolve |
( |
const char * |
pRelPath |
) |
[static] |
| static FbxString Clean |
( |
const char * |
pPath |
) |
[static] |
| static FbxString GenerateFileName |
( |
const char * |
pFolder, |
|
|
const char * |
pPrefix |
|
) |
|
[static] |
Generate full safe file path name you can use to create new
file.
- Parameters:
-
| pFolder |
The folder where the file name should be attempted to be
created. |
| pPrefix |
The prefix of generated file name. |
- Returns:
- A valid file path that can safely be used to create a new
file.
The documentation for this class was generated from the following
file:
FbxPathUtils FbxPathUtils FbxPathUtils
FbxPathUtils FbxPathUtils FbxPathUtils FbxPathUtils FbxPathUtils
FbxPathUtils FbxPathUtils
FbxPathUtils FbxPathUtils FbxPathUtils
FbxPathUtils FbxPathUtils FbxPathUtils FbxPathUtils FbxPathUtils
FbxPathUtils FbxPathUtils