#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>
#include "OgrePrerequisites.h"
#include "OgreString.h"
#include "OgreIteratorWrappers.h"
#include "OgreAnimable.h"
#include "OgreAnimationTrack.h"
#include "OgreAnimationState.h"
#include "OgreAny.h"
#include "OgreArchive.h"
#include "OgreResourceManager.h"
#include "OgreSingleton.h"
#include "OgreAxisAlignedBox.h"
#include "OgreBillboardChain.h"
#include "OgreBillboardSet.h"
#include "OgreBone.h"
#include "OgreCamera.h"
#include "OgreStringVector.h"
#include "OgreDataStream.h"
#include "OgreCommon.h"
#include "OgreController.h"
#include "OgreFrameListener.h"
#include "OgreGpuProgram.h"
#include "OgreTextureUnitState.h"
#include "OgreSharedPtr.h"
#include "OgreEntity.h"
#include "OgreException.h"
#include "OgreFrustum.h"
#include "OgreHardwareBufferManager.h"
#include "OgreHardwareIndexBuffer.h"
#include "OgreHardwareBuffer.h"
#include "OgrePixelFormat.h"
#include "OgreImage.h"
#include "OgreHardwareVertexBuffer.h"
#include "OgreHardwarePixelBuffer.h"
#include "OgreHighLevelGpuProgram.h"
#include "OgreKeyFrame.h"
#include "OgreLight.h"
#include "OgreLogManager.h"
#include "OgreManualObject.h"
#include "OgreMaterial.h"
#include "OgreMaterialManager.h"
#include "OgreMaterialSerializer.h"
#include "OgreMath.h"
#include "OgreMatrix3.h"
#include "OgreMatrix4.h"
#include "OgreMesh.h"
#include "OgreMeshManager.h"
#include "OgreMeshSerializer.h"
#include "OgreSceneNode.h"
#include "OgreRenderable.h"
#include "OgreStringInterface.h"
#include "OgreColourValue.h"
#include "OgreOverlayElement.h"
#include "OgreOverlay.h"
#include "OgreScriptLoader.h"
#include "OgreVector3.h"
#include "OgreBillboard.h"
#include "OgreMovableObject.h"
#include "OgreRadixSort.h"
#include "OgreResourceGroupManager.h"
#include "OgrePass.h"
#include "OgrePatchMesh.h"
#include "OgrePatchSurface.h"
#include "OgreRenderQueueSortingGrouping.h"
#include "OgreRenderQueue.h"
#include "OgreRenderSystem.h"
#include "OgreRenderTexture.h"
#include "OgreRenderWindow.h"
#include "OgreResource.h"
#include "OgreWorkQueue.h"
#include "OgreNode.h"
#include "OgreControllerManager.h"
#include "OgreRoot.h"
#include "OgreSceneManager.h"
#include "OgreSceneManagerEnumerator.h"
#include "OgreSimpleRenderable.h"
#include "OgreSkeleton.h"
#include "OgreSkeletonInstance.h"
#include "OgreSkeletonManager.h"
#include "OgreSerializer.h"
#include "OgreLodStrategy.h"
#include "OgreStringConverter.h"
#include "OgreVertexIndexData.h"
#include "OgreRenderOperation.h"
#include "OgreVertexBoneAssignment.h"
#include "OgreProgressiveMesh.h"
#include "OgreTechnique.h"
#include "OgreTextureManager.h"
#include "OgreVector2.h"
#include "OgreViewport.h"
#include "OgreTexture.h"
#include "OgreCompositor.h"
#include "OgreRectangle2D.h"
#include "OgreRenderTargetListener.h"
#include "OgreRenderQueueListener.h"
#include "OgreCompositionTechnique.h"
#include "OgreCompositorInstance.h"
#include "OgrePlatform.h"
#include <windows.h>
#include "OgreShadowCameraSetup.h"
#include "OgrePolygon.h"
#include "OgreShadowCameraSetupFocused.h"
#include "OgreShadowCameraSetupLiSPSM.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 (FPSCamera, saveAndLoad) | |
TEST (FPSCamera, setOrientation) | |
TEST (FPSCamera, setPosition) | |
TEST (OrbitCamera, saveAndLoad) | |
TEST (OrbitCamera, setOrientation) | |
TEST (OrbitCamera, setPosition) | |
TEST_F (FPSSetFromOrbit, quadrantPosXNegYNegZ) | |
TEST_F (FPSSetFromOrbit, quadrantPosXPosYNegZ) | |
TEST_F (FPSSetFromOrbit, quadrantNegXNegYNegZ) | |
TEST_F (FPSSetFromOrbit, quadrantNegXPosYNegZ) | |
TEST_F (FPSSetFromOrbit, quadrantNegXNegYPosZ) | |
TEST_F (FPSSetFromOrbit, quadrantNegXPosYPosZ) | |
TEST_F (FPSSetFromOrbit, quadrantPosXNegYPosZ) | |
TEST_F (FPSSetFromOrbit, quadrantPosXPosYPosZ) | |
TEST_F (OrbitSetFromFPS, quadrantPosXNegYNegZ) | |
TEST_F (OrbitSetFromFPS, quadrantPosXPosYNegZ) | |
TEST_F (OrbitSetFromFPS, quadrantNegXNegYNegZ) | |
TEST_F (OrbitSetFromFPS, quadrantNegXPosYNegZ) | |
TEST_F (OrbitSetFromFPS, quadrantNegXNegYPosZ) | |
TEST_F (OrbitSetFromFPS, quadrantNegXPosYPosZ) | |
TEST_F (OrbitSetFromFPS, quadrantPosXNegYPosZ) | |
TEST_F (OrbitSetFromFPS, quadrantPosXPosYPosZ) | |
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 | , | |
saveAndLoad | ||||
) |
TEST | ( | OrbitCamera | , | |
setOrientation | ||||
) |
TEST | ( | OrbitCamera | , | |
setPosition | ||||
) |
TEST_F | ( | FPSSetFromOrbit | , | |
quadrantPosXNegYNegZ | ||||
) |
TEST_F | ( | FPSSetFromOrbit | , | |
quadrantPosXPosYNegZ | ||||
) |
TEST_F | ( | FPSSetFromOrbit | , | |
quadrantNegXNegYNegZ | ||||
) |
TEST_F | ( | FPSSetFromOrbit | , | |
quadrantNegXPosYNegZ | ||||
) |
TEST_F | ( | FPSSetFromOrbit | , | |
quadrantNegXNegYPosZ | ||||
) |
TEST_F | ( | FPSSetFromOrbit | , | |
quadrantNegXPosYPosZ | ||||
) |
TEST_F | ( | FPSSetFromOrbit | , | |
quadrantPosXNegYPosZ | ||||
) |
TEST_F | ( | FPSSetFromOrbit | , | |
quadrantPosXPosYPosZ | ||||
) |
TEST_F | ( | OrbitSetFromFPS | , | |
quadrantPosXNegYNegZ | ||||
) |
TEST_F | ( | OrbitSetFromFPS | , | |
quadrantPosXPosYNegZ | ||||
) |
TEST_F | ( | OrbitSetFromFPS | , | |
quadrantNegXNegYNegZ | ||||
) |
TEST_F | ( | OrbitSetFromFPS | , | |
quadrantNegXPosYNegZ | ||||
) |
TEST_F | ( | OrbitSetFromFPS | , | |
quadrantNegXNegYPosZ | ||||
) |
TEST_F | ( | OrbitSetFromFPS | , | |
quadrantNegXPosYPosZ | ||||
) |
TEST_F | ( | OrbitSetFromFPS | , | |
quadrantPosXNegYPosZ | ||||
) |
TEST_F | ( | OrbitSetFromFPS | , | |
quadrantPosXPosYPosZ | ||||
) |
bool g_initialized = false |
Ogre::RenderWindow* g_render_window = NULL |
Ogre::SceneManager* g_scene_manager = NULL |
Ogre::Viewport* g_viewport = NULL |