10 #define MRPT_NO_WARN_BIG_HDR 13 #include <gtest/gtest.h> 21 namespace mrpt {
namespace utils {
28 TEST(SerializeTestOpenGL, WriteReadToMem)
36 #if MRPT_HAS_OPENCV // These classes need CImage serialization 75 CSerializablePtr recons;
79 catch(std::exception &e)
82 "Exception during serialization test for class '"<<
lstClasses[i]->
className <<
"':\n" << e.what() << endl;
A 2D text (bitmap rendering): it always "faces the observer" despite it's at some 3D location...
A solid or wireframe box in 3D, defined by 6 rectangular faces parallel to the planes X...
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
std::string MRPT_GLOBAL_UNITTEST_SRC_DIR
A grid of lines over the XY plane.
A set of object, which are referenced to the coordinates framework established in this object...
The virtual base class which provides a unified interface for all persistent objects in MRPT...
A cloud of points, each one with an individual colour (R,G,B).
An especial "ellipsoid" in 3D computed as the uncertainty iso-surfaces of a (inv_range,yaw,pitch) variable.
An especial "ellipsoid" in 3D computed as the uncertainty iso-surfaces of a (inv_range,yaw) variable.
A 2D plane in the XY plane with a texture image.
A grid of lines over the XZ plane.
A viewport within a COpenGLScene, containing a set of OpenGL objects to render.
const mrpt::utils::TRuntimeClassId * lstClasses[]
This class represents arbitrary polyhedra.
A flexible renderer of voxels, typically from a 3D octo map (see mrpt::maps::COctoMap).
mrpt::utils::CObject * createObject() const
This CStream derived class allow using a memory buffer as a CStream.
A planar disk in the XY plane.
A cylinder or cone whose base lies in the XY plane.
GLsizei const GLchar ** string
#define CLASS_ID(class_name)
Access to runtime class ID for a defined class name.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
This object represents any figure obtained by extruding any profile along a given axis...
A solid or wire-frame sphere.
TEST(SerializeTestOpenGL, WriteReadToMem)
Draw a 3D world axis, with coordinate marks at some regular interval.
A 3D text (rendered with OpenGL primitives), with selectable font face and drawing style...
The namespace for 3D scene representation and rendering.
This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives...
A solid or wireframe frustum in 3D (a rectangular truncated pyramid), with arbitrary (possibly assyme...
uint64_t Seek(int64_t Offset, CStream::TSeekOrigin Origin=sFromBeginning) MRPT_OVERRIDE
Introduces a pure virtual method for moving to a specified position in the streamed resource...
A set of colored triangles.
A structure that holds runtime class type information.
A planar (XY) grid where each cell has an associated height and, optionally, a texture map...
A 2D ellipse or 3D ellipsoid, depending on the size of the m_cov matrix (2x2 or 3x3).
A camera: if added to a scene, the viewpoint defined by this camera will be used instead of the camer...
A set of independent lines (or segments), one line with its own start and end positions (X...
An especial "ellipsoid" in 2D computed as the uncertainty iso-surfaces of a (range,bearing) variable.
A cloud of points, all with the same color or each depending on its value along a particular coordina...