iMSTK
Interactive Medical Simulation Toolkit
Static Public Member Functions | List of all members
imstk::ObjectIO Class Reference

ObjectIO provides SceneObject reading capabilities It is used to read complex visual objects or animated objects. More...

#include <imstkVisualObjectImporter.h>

Static Public Member Functions

static std::shared_ptr< SceneObjectimportSceneObject (const std::string &objName, const std::string &modelFilePath, const std::string &textureFolderPath, const Mat4d &transform=Mat4d::Identity())
 Import a scene object. More...
 

Detailed Description

ObjectIO provides SceneObject reading capabilities It is used to read complex visual objects or animated objects.

Definition at line 26 of file imstkVisualObjectImporter.h.

Member Function Documentation

◆ importSceneObject()

std::shared_ptr< SceneObject > imstk::ObjectIO::importSceneObject ( const std::string &  objName,
const std::string &  modelFilePath,
const std::string &  textureFolderPath,
const Mat4d &  transform = Mat4d::Identity() 
)
static

Import a scene object.

Parameters
objNameName for the object
modelFilenameFile name for visual object to import
textureFolderPathTexture folder path
scaleScale for visual objects
translationTranslation for visual objects

Definition at line 54 of file imstkVisualObjectImporter.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: