#include "mesh_loader.h"
#include <resource_retriever/retriever.h>
#include <boost/filesystem.hpp>
#include "ogre_helpers/stl_loader.h"
#include <OGRE/OgreMeshManager.h>
#include <OGRE/OgreTextureManager.h>
#include <OGRE/OgreMaterialManager.h>
#include <OGRE/OgreTexture.h>
#include <OGRE/OgrePass.h>
#include <OGRE/OgreTechnique.h>
#include <OGRE/OgreMaterial.h>
#include <OGRE/OgreTextureUnitState.h>
#include <OGRE/OgreMeshSerializer.h>
#include <OGRE/OgreSubMesh.h>
#include <OGRE/OgreHardwareBufferManager.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>
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) |