9 #ifndef opengl_CAssimpModel_H 10 #define opengl_CAssimpModel_H 55 void loadScene( const
std::
string &file_name );
61 void evaluateAnimation(
double time_anim );
69 mrpt::utils::CImagePtr
img_rgb, img_alpha;
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
bool BASE_IMPEXP traceRay(const std::vector< TPolygonWithPlane > &vec, const mrpt::poses::CPose3D &pose, double &dist)
Fast ray tracing method using polygons' properties.
size_t id_idx
indices in m_textureIds. string::npos for non-initialized ones.
mrpt::math::TPoint3D m_bbox_min
mrpt::utils::CImagePtr img_rgb
void clear()
Clear the contents of this container.
A renderizable object suitable for rendering with OpenGL's display lists.
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
GLsizei const GLchar ** string
std::map< std::string, TInfoPerTexture > m_textureIdMap
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
stlplus::smart_ptr< TImplAssimp > m_assimp_scene
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
A container for automatic deletion of lib3ds's scene when the last reference of the smart_ptr's is de...
This class can load & render 3D models in a number of different formats (requires the library assimp)...
std::vector< unsigned int > m_textureIds