utest.cpp File Reference

#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"
This graph shows which files directly or indirectly include this file:

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 Documentation

#define EXPECT_QUATERNION_EQ ( expected,
actual   ) 
Value:
EXPECT_FLOAT_EQ( expected.x, actual.x ); \
  EXPECT_FLOAT_EQ( expected.y, actual.y ); \
  EXPECT_FLOAT_EQ( expected.z, actual.z ); \
  EXPECT_FLOAT_EQ( expected.w, actual.w );

Definition at line 119 of file utest.cpp.

#define EXPECT_QUATERNION_NEAR ( expected,
actual,
tolerance   ) 
Value:
EXPECT_NEAR( expected.x, actual.x, tolerance ); \
  EXPECT_NEAR( expected.y, actual.y, tolerance ); \
  EXPECT_NEAR( expected.z, actual.z, tolerance ); \
  EXPECT_NEAR( expected.w, actual.w, tolerance );

Definition at line 125 of file utest.cpp.

#define EXPECT_VECTOR_EQ ( expected,
actual   ) 
Value:
EXPECT_FLOAT_EQ( expected.x, actual.x ); \
  EXPECT_FLOAT_EQ( expected.y, actual.y ); \
  EXPECT_FLOAT_EQ( expected.z, actual.z );

Definition at line 109 of file utest.cpp.

#define EXPECT_VECTOR_NEAR ( expected,
actual,
tolerance   ) 
Value:
EXPECT_NEAR( expected.x, actual.x, tolerance ); \
  EXPECT_NEAR( expected.y, actual.y, tolerance ); \
  EXPECT_NEAR( expected.z, actual.z, tolerance );

Definition at line 114 of file utest.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 403 of file utest.cpp.

TEST ( FPSCamera  ,
saveAndLoad   
)

Definition at line 228 of file utest.cpp.

TEST ( FPSCamera  ,
setOrientation   
)

Definition at line 209 of file utest.cpp.

TEST ( FPSCamera  ,
setPosition   
)

Definition at line 193 of file utest.cpp.

TEST ( OrbitCamera  ,
saveAndLoad   
)

Definition at line 166 of file utest.cpp.

TEST ( OrbitCamera  ,
setOrientation   
)

Definition at line 147 of file utest.cpp.

TEST ( OrbitCamera  ,
setPosition   
)

Definition at line 131 of file utest.cpp.

TEST_F ( FPSSetFromOrbit  ,
quadrantPosXNegYNegZ   
)

Definition at line 398 of file utest.cpp.

TEST_F ( FPSSetFromOrbit  ,
quadrantPosXPosYNegZ   
)

Definition at line 393 of file utest.cpp.

TEST_F ( FPSSetFromOrbit  ,
quadrantNegXNegYNegZ   
)

Definition at line 388 of file utest.cpp.

TEST_F ( FPSSetFromOrbit  ,
quadrantNegXPosYNegZ   
)

Definition at line 383 of file utest.cpp.

TEST_F ( FPSSetFromOrbit  ,
quadrantNegXNegYPosZ   
)

Definition at line 378 of file utest.cpp.

TEST_F ( FPSSetFromOrbit  ,
quadrantNegXPosYPosZ   
)

Definition at line 373 of file utest.cpp.

TEST_F ( FPSSetFromOrbit  ,
quadrantPosXNegYPosZ   
)

Definition at line 368 of file utest.cpp.

TEST_F ( FPSSetFromOrbit  ,
quadrantPosXPosYPosZ   
)

Definition at line 363 of file utest.cpp.

TEST_F ( OrbitSetFromFPS  ,
quadrantPosXNegYNegZ   
)

Definition at line 323 of file utest.cpp.

TEST_F ( OrbitSetFromFPS  ,
quadrantPosXPosYNegZ   
)

Definition at line 318 of file utest.cpp.

TEST_F ( OrbitSetFromFPS  ,
quadrantNegXNegYNegZ   
)

Definition at line 313 of file utest.cpp.

TEST_F ( OrbitSetFromFPS  ,
quadrantNegXPosYNegZ   
)

Definition at line 308 of file utest.cpp.

TEST_F ( OrbitSetFromFPS  ,
quadrantNegXNegYPosZ   
)

Definition at line 303 of file utest.cpp.

TEST_F ( OrbitSetFromFPS  ,
quadrantNegXPosYPosZ   
)

Definition at line 298 of file utest.cpp.

TEST_F ( OrbitSetFromFPS  ,
quadrantPosXNegYPosZ   
)

Definition at line 293 of file utest.cpp.

TEST_F ( OrbitSetFromFPS  ,
quadrantPosXPosYPosZ   
)

Definition at line 288 of file utest.cpp.


Variable Documentation

bool g_initialized = false

Definition at line 41 of file utest.cpp.

Ogre::RenderWindow* g_render_window = NULL

Definition at line 45 of file utest.cpp.

Ogre::Root* g_root = NULL

Definition at line 42 of file utest.cpp.

Ogre::SceneManager* g_scene_manager = NULL

Definition at line 43 of file utest.cpp.

Ogre::Viewport* g_viewport = NULL

Definition at line 44 of file utest.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines


ogre_tools
Author(s): Josh Faust
autogenerated on Fri Jan 11 09:10:14 2013