9 #ifndef opengl_C3DSScene_H 10 #define opengl_C3DSScene_H 47 void loadFrom3DSFile( const
std::
string &file_name );
51 void initializeAllTextures();
58 void evaluateAnimation(
double time_anim );
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
std::shared_ptr< TImpl3DS > m_3dsfile
An internal pointer to the lib3ds library's object of type "Lib3dsFile".
bool BASE_IMPEXP traceRay(const std::vector< TPolygonWithPlane > &vec, const mrpt::poses::CPose3D &pose, double &dist)
Fast ray tracing method using polygons' properties.
bool m_enable_extra_lighting
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated) ...
mrpt::math::TPoint3D m_bbox_min
Scale of the object.
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...
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...
A container for automatic deletion of lib3ds's scene when the last reference of the smart_ptr's is de...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This element keeps a set of objects imported from a 3DStudio file (.3ds).