Go to the documentation of this file.
9 #ifndef opengl_C3DSScene_H
10 #define opengl_C3DSScene_H
46 void loadFrom3DSFile( const std::
string &file_name );
50 void initializeAllTextures();
57 void evaluateAnimation(
double time_anim );
C3DSScene()
Default constructor.
A renderizable object suitable for rendering with OpenGL's display lists.
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
stlplus::smart_ptr< TImpl3DS > m_3dsfile
An internal pointer to the lib3ds library's object of type "Lib3dsFile".
mrpt::math::TPoint3D m_bbox_min
Scale of the object.
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).
#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...
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void render_dl() const MRPT_OVERRIDE
Render child objects.
A container for automatic deletion of lib3ds's scene when the last reference of the smart_ptr's is de...
virtual ~C3DSScene()
Private, virtual destructor: only can be deleted from smart pointers.
bool traceRay(const mrpt::poses::CPose3D &o, double &dist) const MRPT_OVERRIDE
Simulation of ray-trace, given a pose.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
bool m_enable_extra_lighting
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |