#include <FBX_Translator.h>
|
static void | init () |
|
static void | uninit () |
|
static int | importGeo (GU_Detail *gdp, const char *fileURI, const char *fbx_node_name, bool convert_surfaces) |
|
static int | importAllGeos (GU_Detail *gdp, const char *fileURI, bool convert_surfaces, bool convert_units, bool import_anim, double frame) |
|
static int | importGeoInFbxNode (GU_Detail *gdp, FBX_IntTranslator *translator, void *current_fbx_node_as_void) |
|
static void | addCustomAttributesFromNode (void *current_fbx_node_as_void, GU_Detail *gdp) |
|
static int | ensureFileLoaded (GU_Detail *gdp, const char *fileURI, const char *fbx_node_name, bool convert_surfaces, FBX_LoadCallbacks *pcallbacks) |
|
static int | exportGeo (const GU_Detail *gdp, const char *fileURI) |
|
static bool | isSupported () |
|
Definition at line 94 of file FBX_Translator.h.
FBX_Translator::FBX_Translator |
( |
| ) |
|
virtual FBX_Translator::~FBX_Translator |
( |
| ) |
|
|
virtual |
static void FBX_Translator::addCustomAttributesFromNode |
( |
void * |
current_fbx_node_as_void, |
|
|
GU_Detail * |
gdp |
|
) |
| |
|
static |
Adds the custom attributes found on the fbx node as primitive attributes
- Parameters
-
current_fbx_node_as_void | The fbx node we want to import the geometry Due to header non-sense, the FBXNode* is casted to a void* |
gdp | The GU_Detail that will hold the geometry |
static int FBX_Translator::ensureFileLoaded |
( |
GU_Detail * |
gdp, |
|
|
const char * |
fileURI, |
|
|
const char * |
fbx_node_name, |
|
|
bool |
convert_surfaces, |
|
|
FBX_LoadCallbacks * |
pcallbacks |
|
) |
| |
|
static |
static int FBX_Translator::exportGeo |
( |
const GU_Detail * |
gdp, |
|
|
const char * |
fileURI |
|
) |
| |
|
static |
static int FBX_Translator::importAllGeos |
( |
GU_Detail * |
gdp, |
|
|
const char * |
fileURI, |
|
|
bool |
convert_surfaces, |
|
|
bool |
convert_units, |
|
|
bool |
import_anim, |
|
|
double |
frame |
|
) |
| |
|
static |
Imports all geometry found in the FBX file to a File SOP
- Parameters
-
gdp | The GU_Detail that will hold the geometry |
fileURI | A path to the FBX file to import. Please note that network (UNC) paths are currently not supported. |
convert_surfaces | Wether or not sirfaces should be converted too |
static int FBX_Translator::importGeo |
( |
GU_Detail * |
gdp, |
|
|
const char * |
fileURI, |
|
|
const char * |
fbx_node_name, |
|
|
bool |
convert_surfaces |
|
) |
| |
|
static |
Imports a single FBX geometry node to a File SOP
- Parameters
-
gdp | The GU_Detail that will hold the geometry |
fileURI | A path to the FBX file to import. Please note that network (UNC) paths are currently not supported. |
fbx_node_name | Name of the FBX node to be imported |
convert_surfaces | Wether or not sirfaces should be converted too |
static int FBX_Translator::importGeoInFbxNode |
( |
GU_Detail * |
gdp, |
|
|
FBX_IntTranslator * |
translator, |
|
|
void * |
current_fbx_node_as_void |
|
) |
| |
|
static |
Appends geometry found in a FBX Node to a detail
- Parameters
-
gdp | The GU_Detail that will hold the geometry |
translator | The FBX Translator to be used for the import |
current_fbx_node_as_void | The fbx node we want to import the geometry Due to header non-sense, the FBXNode* is casted to a void* |
Imports the Filmbox scene into the current Houdini session or into a new scene.
- Parameters
-
fileURI | A path to the FBX file to import. Please note that network (UNC) paths are currently not supported. |
is_merging | If true, the file will be merged with the current scene, if false, a new scene will be created and the file will be imported there. |
options | Various options that determine how a file is to be imported. See FBX_ImportOptions for more details. If not set, the defaults for every option will be used. |
filter | Object type filter settings which determine what types of objects (cameras, geometry, lights, etc.) are to be imported. If not set, the defaults are used, which import everything. |
password | A password to use if the FBX file is password-protected. Currently not used. |
static void FBX_Translator::init |
( |
| ) |
|
|
static |
Initializes the Filmbox translator's environment. It should be called once at startup.
static bool FBX_Translator::isSupported |
( |
| ) |
|
|
inlinestatic |
static void FBX_Translator::uninit |
( |
| ) |
|
|
static |
Uninitializes the Filmbox translator's environment. It should be called once at termination.
The documentation for this class was generated from the following file: