VisPro  1.0
Project of Visualisierung 2
SceneImporter Class Reference

#include <SceneImporter.h>

Public Member Functions

std::vector< std::shared_ptr< Geometry > > importFrom (const std::string &pFile, std::vector< std::shared_ptr< PointLight >> *allLights, std::shared_ptr< Camera > camera)
 
void setPrintInfo (bool i)
 

Detailed Description

Rescponsible for importing geometry into scene.

Member Function Documentation

std::vector< std::shared_ptr< Geometry > > SceneImporter::importFrom ( const std::string &  pFile,
std::vector< std::shared_ptr< PointLight >> *  allLights,
std::shared_ptr< Camera camera 
)

Import geometries from a give dae file.

Parameters
pFiledae file name
allLightsset of point lights
cameracamera of scene

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