Classes | Namespaces | Functions
mesh_loader.cpp File Reference
#include "mesh_loader.h"
#include <resource_retriever/retriever.h>
#include <boost/filesystem.hpp>
#include "ogre_helpers/stl_loader.h"
#include <OgreMeshManager.h>
#include <OgreTextureManager.h>
#include <OgreMaterialManager.h>
#include <OgreTexture.h>
#include <OgrePass.h>
#include <OgreTechnique.h>
#include <OgreMaterial.h>
#include <OgreTextureUnitState.h>
#include <OgreMeshSerializer.h>
#include <OgreSubMesh.h>
#include <OgreHardwareBufferManager.h>
#include <OgreSharedPtr.h>
#include <tinyxml.h>
#include <ros/assert.h>
#include <assimp/assimp.hpp>
#include <assimp/aiScene.h>
#include <assimp/aiPostProcess.h>
#include <assimp/IOStream.h>
#include <assimp/IOSystem.h>
Include dependency graph for mesh_loader.cpp:

Go to the source code of this file.

Classes

class  rviz::ResourceIOStream
class  rviz::ResourceIOSystem

Namespaces

namespace  rviz

Functions

void rviz::buildMesh (const aiScene *scene, const aiNode *node, const Ogre::MeshPtr &mesh, Ogre::AxisAlignedBox &aabb, float &radius, const float scale, std::vector< Ogre::MaterialPtr > &material_table)
 Recursive mesh-building function.
float rviz::getMeshUnitRescale (const std::string &resource_path)
void rviz::loadMaterials (const std::string &resource_path, const aiScene *scene, std::vector< Ogre::MaterialPtr > &material_table_out)
 Load all materials needed by the given scene.
Ogre::MeshPtr rviz::loadMeshFromResource (const std::string &resource_path)
void rviz::loadTexture (const std::string &resource_path)
Ogre::MeshPtr rviz::meshFromAssimpScene (const std::string &name, const aiScene *scene)


rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust
autogenerated on Thu Aug 27 2015 15:02:28