#include <gtest/gtest.h>
#include "../src/ogre_tools/fps_camera.h"
#include "../src/ogre_tools/orbit_camera.h"
#include "../src/ogre_tools/initialization.h"
#include <ros/package.h>
#include <OGRE/Ogre.h>
Go to the source code of this file.
Classes | |
class | FPSSetFromOrbit |
class | OrbitSetFromFPS |
class | TestEnvironment |
Defines | |
#define | EXPECT_QUATERNION_EQ(expected, actual) |
#define | EXPECT_QUATERNION_NEAR(expected, actual, tolerance) |
#define | EXPECT_VECTOR_EQ(expected, actual) |
#define | EXPECT_VECTOR_NEAR(expected, actual, tolerance) |
Functions | |
int | main (int argc, char **argv) |
TEST (OrbitCamera, setPosition) | |
TEST (OrbitCamera, setOrientation) | |
TEST (OrbitCamera, saveAndLoad) | |
TEST (FPSCamera, setPosition) | |
TEST (FPSCamera, setOrientation) | |
TEST (FPSCamera, saveAndLoad) | |
TEST_F (OrbitSetFromFPS, quadrantPosXPosYPosZ) | |
TEST_F (OrbitSetFromFPS, quadrantPosXNegYPosZ) | |
TEST_F (OrbitSetFromFPS, quadrantNegXPosYPosZ) | |
TEST_F (OrbitSetFromFPS, quadrantNegXNegYPosZ) | |
TEST_F (OrbitSetFromFPS, quadrantNegXPosYNegZ) | |
TEST_F (OrbitSetFromFPS, quadrantNegXNegYNegZ) | |
TEST_F (OrbitSetFromFPS, quadrantPosXPosYNegZ) | |
TEST_F (OrbitSetFromFPS, quadrantPosXNegYNegZ) | |
TEST_F (FPSSetFromOrbit, quadrantPosXPosYPosZ) | |
TEST_F (FPSSetFromOrbit, quadrantPosXNegYPosZ) | |
TEST_F (FPSSetFromOrbit, quadrantNegXPosYPosZ) | |
TEST_F (FPSSetFromOrbit, quadrantNegXNegYPosZ) | |
TEST_F (FPSSetFromOrbit, quadrantNegXPosYNegZ) | |
TEST_F (FPSSetFromOrbit, quadrantNegXNegYNegZ) | |
TEST_F (FPSSetFromOrbit, quadrantPosXPosYNegZ) | |
TEST_F (FPSSetFromOrbit, quadrantPosXNegYNegZ) | |
Variables | |
bool | g_initialized = false |
Ogre::RenderWindow * | g_render_window = NULL |
Ogre::Root * | g_root = NULL |
Ogre::SceneManager * | g_scene_manager = NULL |
Ogre::Viewport * | g_viewport = NULL |
#define EXPECT_QUATERNION_EQ | ( | expected, | |
actual | |||
) |
#define EXPECT_QUATERNION_NEAR | ( | expected, | |
actual, | |||
tolerance | |||
) |
#define EXPECT_VECTOR_EQ | ( | expected, | |
actual | |||
) |
#define EXPECT_VECTOR_NEAR | ( | expected, | |
actual, | |||
tolerance | |||
) |
TEST | ( | OrbitCamera | , |
setPosition | |||
) |
TEST | ( | OrbitCamera | , |
setOrientation | |||
) |
TEST | ( | OrbitCamera | , |
saveAndLoad | |||
) |
TEST_F | ( | OrbitSetFromFPS | , |
quadrantPosXPosYPosZ | |||
) |
TEST_F | ( | OrbitSetFromFPS | , |
quadrantPosXNegYPosZ | |||
) |
TEST_F | ( | OrbitSetFromFPS | , |
quadrantNegXPosYPosZ | |||
) |
TEST_F | ( | OrbitSetFromFPS | , |
quadrantNegXNegYPosZ | |||
) |
TEST_F | ( | OrbitSetFromFPS | , |
quadrantNegXPosYNegZ | |||
) |
TEST_F | ( | OrbitSetFromFPS | , |
quadrantNegXNegYNegZ | |||
) |
TEST_F | ( | OrbitSetFromFPS | , |
quadrantPosXPosYNegZ | |||
) |
TEST_F | ( | OrbitSetFromFPS | , |
quadrantPosXNegYNegZ | |||
) |
TEST_F | ( | FPSSetFromOrbit | , |
quadrantPosXPosYPosZ | |||
) |
TEST_F | ( | FPSSetFromOrbit | , |
quadrantPosXNegYPosZ | |||
) |
TEST_F | ( | FPSSetFromOrbit | , |
quadrantNegXPosYPosZ | |||
) |
TEST_F | ( | FPSSetFromOrbit | , |
quadrantNegXNegYPosZ | |||
) |
TEST_F | ( | FPSSetFromOrbit | , |
quadrantNegXPosYNegZ | |||
) |
TEST_F | ( | FPSSetFromOrbit | , |
quadrantNegXNegYNegZ | |||
) |
TEST_F | ( | FPSSetFromOrbit | , |
quadrantPosXPosYNegZ | |||
) |
TEST_F | ( | FPSSetFromOrbit | , |
quadrantPosXNegYNegZ | |||
) |
bool g_initialized = false |
Ogre::RenderWindow* g_render_window = NULL |
Ogre::SceneManager* g_scene_manager = NULL |
Ogre::Viewport* g_viewport = NULL |